/* Oracle AI World 2026 event booth page. Reuses static/marketing/oracle-ai-site's
   own design tokens (--red, --charcoal, --text, --text-2, --border, --white,
   --gray-bg, --radius) from assets/site.css — no new palette introduced. */

.evt-body {
  /* Borders of controls (chips, fields, checkboxes) need 3:1 against the cream
     page; the site's --border (#e5e7eb) is only ~1.2:1, which made unticked
     boxes and empty fields nearly invisible. */
  --evt-ctrl: #8a8a96;
  background: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.evt-body [hidden] { display: none !important; }

.evt-topbar {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 2px solid var(--red);
}
.evt-brand { display: flex; align-items: center; }
.evt-logo { height: 36px; display: block; }
.evt-event-tag {
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.evt-app {
  flex: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 20px 60px;
  /* No max-width transition: animating the width reflowed the whole page. */
}
.evt-app:focus { outline: none; }
.evt-app [tabindex="-1"]:focus { outline: none; }
/* Step 5 (results dashboard) makes full use of the page — wizard steps 1-4
   stay narrower since a chip grid of a handful of choices looks better
   centered than stretched edge to edge. */
.evt-app.evt-wide { max-width: 1280px; }

.evt-footer {
  text-align: center;
  font-size: 12.5px;
  /* The site stylesheet paints every <footer> charcoal; the old grey text (#676775) was
     2.4:1 on it. Light text on charcoal is ~10:1. */
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.82);
  padding: 20px 20px 28px;
}
.evt-footer p { color: inherit; }

/* ── Loading / error states ── */
.evt-loading, .evt-error, .evt-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-2);
}
.evt-spinner {
  width: 34px; height: 34px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: evt-spin 0.8s linear infinite;
}
@keyframes evt-spin { to { transform: rotate(360deg); } }
.evt-error { color: var(--amber); }
.evt-retry-btn, .evt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  border: none; cursor: pointer;
  font-family: inherit; font-weight: 500; font-size: 15px;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: var(--radius);
  /* --red-dark (white text 6:1); the brand --red gives 4.45:1, just under AA. */
  background: var(--red-dark); color: #fff;
  box-shadow: none;
  transition: transform 0.15s ease;
}
.evt-btn:hover, .evt-retry-btn:hover { filter: brightness(0.94); }
.evt-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.evt-btn-outline {
  background: transparent; color: var(--text); box-shadow: none;
  border: 1.5px solid var(--evt-ctrl);
}
.evt-btn:focus-visible, .evt-retry-btn:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.evt-cta-band .evt-btn:focus-visible, .evt-final-cta .evt-btn:focus-visible { outline-color: #fff; }

/* ── Progress stepper ── */
.evt-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.evt-progress-seg {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
}
.evt-progress-seg.is-done,
.evt-progress-seg.is-active { background: var(--red); }

.evt-step-label {
  font-size: 12.5px;
  color: var(--text-2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.evt-h1 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text);
}
.evt-sub {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 56ch;
}

/* ── Chip / card multi-select ── */
.evt-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.evt-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  min-height: 52px;
  font-family: inherit;
  border: 1.5px solid var(--evt-ctrl);
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.evt-chip:hover { border-color: var(--red-soft); }
.evt-chip:focus-visible { outline: 2.5px solid var(--red); outline-offset: 2px; }
.evt-chip[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--red-bg);
  color: var(--red-dark);
}
.evt-chip-check {
  width: 20px; height: 20px; flex: none;
  border: 1.5px solid var(--evt-ctrl);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.evt-chip[aria-pressed="true"] .evt-chip-check {
  background: var(--red); border-color: var(--red);
}
.evt-chip-check svg { display: none; width: 12px; height: 12px; stroke: #fff; }
.evt-chip[aria-pressed="true"] .evt-chip-check svg { display: block; }

.evt-module-group-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin: 18px 0 8px;
}

/* ── Nav buttons ── */
.evt-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 12px;
}

/* ── Step 4: lead form ── */
.evt-form-field { margin-bottom: 18px; }
.evt-form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.evt-form-field input[type="text"],
.evt-form-field input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  min-height: 48px;
  font-size: 16px;   /* 16px stops iOS Safari zooming the page when the field is focused */
  font-family: inherit;
  border: 1.5px solid var(--evt-ctrl);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
}
.evt-form-field input:focus-visible { outline: 2.5px solid var(--red); outline-offset: 1px; }
.evt-form-field.has-error input { border-color: var(--red-dark); border-width: 2px; }
/* The error line always has room, so showing or clearing a message never moves the page. */
.evt-field-error { color: var(--red-dark); font-size: 13.5px; margin-top: 5px; min-height: 20px; }

.evt-consent-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px;
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  margin-bottom: 4px;
}
.evt-consent-block.has-error .evt-consent-row { outline: 2px solid var(--red-dark); }
.evt-consent-row input[type="checkbox"] { margin-top: 1px; width: 24px; height: 24px; flex: none; accent-color: var(--red-dark); }
.evt-consent-row label { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.evt-consent-row a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 2px; }

/* ── Results (Step 5): executive hero banner ── */
.evt-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #3a2430 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 40px);
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(47, 47, 57, 0.18);
}
.evt-hero-top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-bottom: 16px;
}
.evt-eyebrow {
  font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-2);
}
.evt-eyebrow-on-dark { color: rgba(255, 255, 255, 0.6); }
.evt-qava-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(234, 27, 61, 0.18); border: 1px solid rgba(234, 27, 61, 0.4);
  color: #ff8fa0;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 12px 5px 9px; border-radius: 999px;
}
.evt-qava-pill svg { flex: none; }
.evt-hero-headline {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  max-width: 62ch;
  margin-bottom: 24px;
}
.evt-hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.evt-hero-stat { min-width: 90px; }
.evt-hero-stat b { display: block; font-size: 30px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
.evt-hero-stat span { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); }
.evt-hero-div { width: 1px; height: 34px; background: rgba(255, 255, 255, 0.18); }

/* ── Section headers between dashboard zones ── */
.evt-section-head { margin: 32px 0 16px; }
.evt-section-head h2 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--text); margin-top: 4px; }
.evt-section-head .evt-eyebrow { color: var(--red-dark); }

.evt-chart-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(47, 47, 57, 0.05);
}
.evt-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.evt-chart-card h3 { font-size: 16px; font-weight: 600; }
.evt-source-tag {
  font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px; flex: none;
}
.evt-source-oracle { background: var(--gray-bg); color: var(--text-2); }
.evt-source-infobeans { background: var(--red-bg); color: var(--red-dark); }
.evt-chart-caption { font-size: 12px; color: var(--text-2); margin-bottom: 14px; line-height: 1.45; }
.evt-chart-row {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr 28px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}
.evt-chart-label { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evt-chart-track { background: var(--border-soft); border-radius: 4px; height: 10px; overflow: hidden; }
.evt-chart-fill { background: var(--red); height: 100%; border-radius: 4px; }
.evt-chart-count { text-align: right; font-family: 'IBM Plex Mono', monospace; color: var(--text-2); }

/* ── KPI strip (InfoBeans priority counts) ── */
.evt-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.evt-kpi-tile {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(47, 47, 57, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.evt-kpi-tile:hover { border-color: var(--red-soft); box-shadow: 0 4px 14px rgba(47, 47, 57, 0.08); transform: translateY(-1px); }
.evt-kpi-tile:focus-visible { outline: 2.5px solid var(--red); outline-offset: 2px; }
.evt-kpi-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--text); font-weight: 600; }
.evt-kpi-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.evt-kpi-tile b { display: block; font-size: 28px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; color: var(--text); margin-bottom: 10px; }
.evt-kpi-bar-track { background: var(--border-soft); border-radius: 4px; height: 6px; overflow: hidden; margin-bottom: 8px; }
.evt-kpi-bar-fill { height: 100%; border-radius: 4px; }
.evt-kpi-pct { font-size: 11.5px; color: var(--text-2); }

/* ── Chart grid: fills available width, 1-3 columns depending on space ── */
.evt-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.evt-charts-grid .evt-chart-card { margin-bottom: 0; display: flex; flex-direction: column; }

/* ── Impact-by-module stacked bar (clickable rows) ── */
.evt-module-bar-row {
  display: grid;
  grid-template-columns: minmax(110px, 40%) 1fr 30px;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
  font-size: 12.5px;
  background: none;
  border: none;
  min-height: 40px;
  padding: 4px 2px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.evt-module-bar-row:hover { background: var(--gray-bg); }
.evt-module-bar-track {
  display: flex;
  background: var(--border-soft);
  border-radius: 5px;
  height: 14px;
  overflow: hidden;
}
.evt-module-bar-seg { height: 100%; }
.evt-module-bar-row:focus-visible { outline: 2.5px solid var(--red); outline-offset: 2px; }

/* ── Donut chart + clickable legend ── */
.evt-donut-wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; flex: 1; }
.evt-donut {
  width: 196px; height: 196px; min-width: 196px;
  border-radius: 50%;
  position: relative;
  flex: none;
  box-shadow: 0 0 0 1px var(--border-soft) inset;
}
.evt-donut::after {
  content: "";
  position: absolute; inset: 40px;
  background: #fff;
  border-radius: 50%;
  z-index: 0;
}
.evt-donut-center {
  position: absolute; inset: 40px;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.evt-donut-center b { font-size: 26px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; color: var(--text); line-height: 1; }
.evt-donut-center span { font-size: 10px; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
.evt-donut-legend { flex: 1 1 160px; min-width: 0; }
.evt-donut-legend-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  background: none; border: none; cursor: pointer;
  min-height: 40px;
  padding: 5px 4px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12.5px;
  text-align: left;
}
.evt-donut-legend-item:hover { background: var(--gray-bg); }
.evt-donut-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.evt-donut-legend-label { color: var(--text); flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evt-donut-legend-count { color: var(--text-2); font-family: 'IBM Plex Mono', monospace; flex: none; }

/* ── Drill-down filter bar ── */
.evt-filter-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--text);
}
.evt-filter-clear {
  background: #fff; border: 1.5px solid var(--evt-ctrl);
  border-radius: var(--radius-md);
  padding: 10px 16px; min-height: 44px;
  font-size: 13.5px; font-weight: 500;
  cursor: pointer; font-family: inherit;
}
.evt-filter-clear:hover { border-color: var(--red-soft); }

.evt-gap-note {
  background: var(--amber-soft);
  color: #7a4d06;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.evt-module-group { margin-bottom: 28px; }
.evt-module-group-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 6px;
}
.evt-module-group-head h3 { font-size: 16px; font-weight: 600; }
.evt-module-group-count { font-size: 12.5px; color: var(--text-2); }
.evt-relevance-note {
  font-size: 13px;
  color: var(--text-2);
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 12px;
}
.evt-relevance-note .evt-tag { font-weight: 600; color: var(--text); }

.evt-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #fff;
}
.evt-card-clickable { cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.evt-card-clickable:hover { border-color: var(--red-soft); box-shadow: 0 2px 10px rgba(47, 47, 57, 0.07); }
.evt-card-clickable:focus-visible { outline: 2.5px solid var(--red); outline-offset: 2px; }

/* ── Single-change detail sub-page ── */
.evt-detail-back { display: inline-flex; width: auto; margin-bottom: 16px; padding: 10px 18px; }
.evt-detail-page {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px clamp(18px, 4vw, 40px);
  max-width: 820px;
}
.evt-detail-title { font-size: clamp(20px, 3vw, 26px); font-weight: 600; color: var(--text); margin-bottom: 4px; }
.evt-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.evt-detail-page .evt-card-meta { font-size: 13px; margin-bottom: 16px; }
.evt-detail-page .evt-card-summary { font-size: 15px; margin-bottom: 16px; }
.evt-detail-link { display: inline-block; margin-top: 14px; font-size: 14.5px; }
.evt-card-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.evt-card-title { font-size: 15.5px; font-weight: 600; flex: 1 1 auto; min-width: 200px; }
.evt-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.evt-badge-ai { background: var(--purple-soft); color: var(--purple); }
.evt-badge-redwood { background: var(--red-bg); color: var(--red-dark); }
.evt-badge-optin { background: var(--amber-soft); color: var(--amber); }
.evt-badge-action { background: var(--green-soft); color: var(--green); }

.evt-card-summary { font-size: 14px; color: var(--text); line-height: 1.5; margin-bottom: 10px; }
.evt-card-meta { font-size: 12.5px; color: var(--text-2); margin-bottom: 4px; }
.evt-card-section-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--text-2); margin: 10px 0 4px;
}
.evt-card-list { font-size: 13px; color: var(--text); padding-left: 18px; }
.evt-card-link { font-size: 13.5px; font-weight: 500; color: var(--red-dark); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .evt-app { padding: 20px 16px 48px; }
  .evt-chip-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .evt-nav-row { flex-direction: column-reverse; align-items: stretch; }
  .evt-nav-row .evt-btn, .evt-nav-row .evt-btn-outline { width: 100%; }
  .evt-chart-row { grid-template-columns: 1fr; gap: 4px; }
  .evt-chart-count { text-align: left; }
  .evt-charts-grid { grid-template-columns: 1fr; }
  .evt-kpi-row { grid-template-columns: 1fr; }
  .evt-module-bar-row { grid-template-columns: 1fr; gap: 4px; }
  .evt-donut-wrap { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .evt-spinner { animation: none; }
  .evt-btn:hover, .evt-retry-btn:hover { filter: none; }
}

/* ── Welcome step ─────────────────────────────────────────────────────── */
.evt-welcome { padding: 8px 0 24px; }
.evt-welcome-h1 { font-size: clamp(30px, 7vw, 50px); line-height: 1.12; font-weight: 600; margin: 10px 0 18px; color: var(--charcoal); letter-spacing: -0.01em; }
.evt-welcome-lead { font-size: clamp(16px, 2.4vw, 19px); line-height: 1.55; color: var(--text-2); margin: 0 0 12px; max-width: 46em; }
.evt-flow { display: flex; align-items: center; gap: 0; margin: 26px 0 28px; flex-wrap: wrap; }
.evt-flow-node { padding: 9px 16px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--white); font-weight: 500; font-size: 14px; color: var(--charcoal); }
.evt-flow-node-end { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.evt-flow-line { flex: 0 0 28px; height: 2px; background: var(--red); }
.evt-welcome-cta { font-size: 18px; padding: 16px 32px; }
.evt-welcome-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.evt-welcome-benefit { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: var(--white); }
.evt-welcome-benefit h3 { font-size: 16px; margin: 6px 0 8px; color: var(--charcoal); }
.evt-welcome-benefit p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.evt-welcome-num { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--red-dark); font-weight: 500; }

/* ── Results legend + CTA band ────────────────────────────────────────── */
.evt-legend { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin: 16px 0; background: var(--white); }
.evt-legend-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.evt-legend-oracle { background: var(--charcoal); }
.evt-legend-ib { background: var(--red); }
.evt-legend-confirm { background: var(--amber); }
.evt-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--charcoal); color: var(--white); border-radius: var(--radius); padding: 24px 28px; margin: 32px 0 8px; }
.evt-cta-band h2 { margin: 0 0 6px; font-size: 22px; color: var(--white); }
.evt-cta-band p { margin: 0; color: rgba(255,255,255,.8); max-width: 38em; }

/* ── Closing step ─────────────────────────────────────────────────────── */
.evt-closing-lead { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.6; margin: 14px 0 0; max-width: 52em; }
.evt-closing-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; background: var(--white); }
.evt-closing-list { margin: 0 0 8px; padding-left: 20px; line-height: 1.55; color: var(--text); }
.evt-closing-list li { margin: 6px 0; }
.evt-closing-sub { margin: 14px 0 4px; font-weight: 600; color: var(--charcoal); }
.evt-closing-note { margin: 12px 0 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.evt-process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0 6px; }
.evt-process-step { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: var(--white); display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); }
.evt-process-step b { color: var(--charcoal); font-size: 14.5px; }
.evt-process-n { font-family: "IBM Plex Mono", monospace; color: var(--red); font-size: 12px; }
.evt-value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.evt-value-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--white); }
.evt-value-card h3 { margin: 0 0 8px; font-size: 16.5px; color: var(--charcoal); }
.evt-value-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.evt-est { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--white); }
.evt-est-inputs { display: flex; flex-direction: column; gap: 12px; }
.evt-est-input { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--text-2); }
.evt-est-input input { font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; color: var(--text); }
.evt-est-input input:focus-visible { outline: 2.5px solid var(--red); outline-offset: 1px; }
.evt-est-out { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.evt-est-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.evt-est-grid div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--text-2); }
.evt-est-grid b { font-size: 22px; color: var(--charcoal); }
.evt-est-saved { background: var(--charcoal); color: var(--white); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.evt-est-saved span { font-size: 13px; color: rgba(255,255,255,.8); }
.evt-est-saved b { font-size: 34px; line-height: 1.1; }
.evt-est-saved em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.8); }
.evt-est-split { margin: 0; font-size: 13px; color: var(--text-2); }
.evt-est-method { font-size: 13px; line-height: 1.55; color: var(--text-2); margin: 12px 0 0; }
.evt-final-cta { text-align: center; background: var(--charcoal); color: var(--white); border-radius: var(--radius); padding: 36px 24px; margin: 36px 0 12px; }
.evt-final-cta h2 { margin: 0 0 10px; font-size: clamp(22px, 4vw, 30px); color: var(--white); }
.evt-final-cta p { margin: 0 auto 20px; max-width: 40em; color: rgba(255,255,255,.85); line-height: 1.55; }
.evt-btn-link { display: inline-block; text-decoration: none; text-align: center; }

@media (max-width: 760px) {
  .evt-welcome-benefits, .evt-value-grid, .evt-est { grid-template-columns: 1fr; }
  .evt-process { grid-template-columns: 1fr 1fr; }
  .evt-flow-line { flex-basis: 14px; }
  .evt-welcome-cta { width: 100%; }
  .evt-cta-band .evt-btn { width: 100%; }
}

@media (min-width: 900px) {
  .evt-welcome { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 56px; align-items: start; padding-top: 24px; }
  .evt-welcome > * { grid-column: 1; }
  .evt-welcome-benefits { grid-column: 2; grid-row: 1 / span 6; grid-template-columns: 1fr; margin-top: 0; }
  .evt-welcome-h1 { font-size: clamp(40px, 4.4vw, 62px); }
  .evt-welcome-lead { max-width: none; }
}
.evt-welcome-cta { justify-self: start; }
@media (max-width: 760px) { .evt-welcome-cta { justify-self: stretch; } }

.evt-cta-band { margin: 16px 0 8px; padding: 16px 22px; }
.evt-cta-band h2 { font-size: 18px; }
.evt-stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.evt-stat-tile { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--white); display: flex; flex-direction: column; gap: 4px; }
.evt-stat-tile b { font-size: 30px; line-height: 1.1; color: var(--charcoal); }
.evt-stat-tile span { font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.evt-est-hero { background: var(--charcoal); color: var(--white); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: center; }
.evt-est-big b { display: block; font-size: clamp(44px, 7vw, 72px); line-height: 1; }
.evt-est-big span { display: block; margin-top: 10px; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.45; }
.evt-est-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.evt-est-roles .evt-stat-tile { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.evt-est-roles .evt-stat-tile b { color: var(--white); font-size: 24px; }
.evt-est-roles .evt-stat-tile span { color: rgba(255,255,255,.8); }
@media (max-width: 760px) { .evt-est-hero, .evt-est-roles { grid-template-columns: 1fr; } }

/* ── 2026-11-04 review pass: accessibility, phone flow, performance ───────────
   Everything below was added with the in-place chip toggles, the lazy catalogue
   load and the paginated results. Kept at the end so it is easy to find. */

.evt-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.evt-skip {
  position: absolute; left: 8px; top: -60px; z-index: 50;
  background: var(--charcoal); color: #fff; padding: 12px 18px; border-radius: var(--radius-md);
  font-size: 14px; text-decoration: none;
}
.evt-skip:focus { top: 8px; }

/* Long unbroken strings in Oracle's own text (object names, paths) used to run past
   the card edge and get cut off on a phone. */
.evt-card, .evt-detail-page, .evt-relevance-note, .evt-chart-card, .evt-gap-note,
.evt-card-list li, .evt-card-meta, .evt-card-summary, .evt-hero-headline, .evt-detail-title {
  overflow-wrap: anywhere;
}

/* Chips: count badge, "preview" tag, grouped by pillar with a filter and bulk buttons */
.evt-chip-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.evt-chip-label { min-width: 0; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; line-height: 1.3; }
/* The site stylesheet gives every <section> 96px/40px padding. Nothing on this page should inherit it. */
.evt-app section { padding: 0; }
.evt-chip-count { font-size: 12px; font-weight: 400; color: var(--text-2); line-height: 1.3; }
.evt-chip[aria-pressed="true"] .evt-chip-count { color: var(--red-dark); }
.evt-pillar-group { margin-bottom: 8px; }
.evt-pillar-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; margin: 18px 0 8px; }
.evt-pillar-head .evt-module-group-label { margin: 0; }
.evt-pillar-count { font-size: 13px; color: var(--text-2); }
.evt-pillar-tools { margin-left: auto; display: inline-flex; gap: 6px; }
.evt-link-btn {
  background: none; border: 0; padding: 10px 8px; min-height: 44px; font: inherit; font-size: 13.5px;
  font-weight: 500; color: var(--red-dark); text-decoration: underline; cursor: pointer;
}
.evt-link-btn:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 1px; border-radius: 4px; }
.evt-filter-label { display: block; margin-bottom: 10px; }
.evt-filter-input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px;
  border: 1.5px solid var(--evt-ctrl); border-radius: var(--radius-md); background: #fff; color: var(--text);
}
.evt-filter-input:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 1px; }
.evt-empty-filter { font-size: 14px; color: var(--text-2); margin: 0 0 12px; }
.evt-count { min-height: 22px; margin: -14px 0 14px; font-size: 13.5px; color: var(--text-2); }
.evt-warn { min-height: 22px; margin: 0 0 12px; font-size: 13.5px; color: var(--amber); }
.evt-chip-grid .evt-chip:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.evt-chip[aria-pressed="true"] { border-width: 2px; padding: 13.5px 15.5px; }

/* Step 4 form: reserved error rows, readable focus ring */
.evt-form-field input:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 1px; }
.evt-submit-error { color: var(--red-dark); font-size: 14px; line-height: 1.45; min-height: 22px; margin: 6px 0 12px; font-weight: 500; }
.evt-shared-note { background: var(--gray-bg); border-radius: var(--radius-md); padding: 12px 14px; font-size: 14.5px; color: var(--text); margin: 0 0 14px; max-width: 46em; }

/* Loading skeleton while the catalogue arrives (steps 3 and 5-6) */
.evt-skeleton { display: grid; gap: 12px; margin: 24px 0 8px; }
.evt-skeleton i {
  display: block; height: 72px; border-radius: var(--radius-md); background: var(--gray-bg);
  animation: evt-pulse 1.4s ease-in-out infinite;
}
.evt-skeleton i:nth-child(2) { animation-delay: 0.15s; }
.evt-skeleton i:nth-child(3) { animation-delay: 0.3s; }
.evt-skeleton i:nth-child(4) { animation-delay: 0.45s; }
@keyframes evt-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.evt-loading .evt-h1, .evt-error .evt-h1 { font-size: clamp(20px, 3.4vw, 26px); }
.evt-loading, .evt-error { text-align: left; padding: 8px 0 24px; }
.evt-error .evt-nav-row { margin-top: 18px; }

/* Results: actions row, "Show more", buttons that replaced clickable divs */
.evt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 8px; }
.evt-btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.evt-action-status { flex: 1 1 220px; font-size: 13.5px; color: var(--text-2); overflow-wrap: anywhere; }
.evt-more-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 4px 0 20px; }
.evt-more-wrap:empty { display: none; }
.evt-more-note { font-size: 13px; color: var(--text-2); }
.evt-modbar-toggle { margin-top: 4px; }
button.evt-card-link {
  background: none; border: 0; padding: 12px 0 4px; min-height: 44px; font-family: inherit; text-align: left; cursor: pointer;
}
button.evt-card-link:focus-visible, a.evt-card-link:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; border-radius: 4px; }
.evt-card-title { margin: 0; }
.evt-badge-prio { color: #fff; }
.evt-badge-prio-high { background: var(--red-dark); }
.evt-badge-prio-medium { background: var(--amber); }
.evt-badge-prio-low { background: var(--green); }
.evt-detail-title { margin-top: 0; }
.evt-nav-end { margin-top: 24px; }
.evt-kpi-tile:disabled { opacity: 0.55; cursor: default; }
.evt-kpi-tile:disabled:hover { transform: none; box-shadow: 0 2px 10px rgba(47, 47, 57, 0.04); border-color: var(--border); }
.evt-process { list-style: none; padding: 0; }
.evt-module-group-head h3 { margin: 0; }

/* Phones: one-handed flow. The Continue/Back row stays at the thumb instead of 4,000px down
   the page, tap targets are at least 44px, and hero numbers sit in a tidy 2 x 2 grid. */
@media (max-width: 640px) {
  /* Focus (and scrollIntoView) must not land underneath the sticky Continue/Back bar. */
  html { scroll-padding-bottom: 150px; }
  /* Two chips per row on a phone leave ~100px for a label: trim padding so a word like
     "Manufacturing" fits on one line instead of splitting. */
  .evt-chip { padding: 12px 10px; gap: 8px; font-size: 14px; }
  .evt-chip[aria-pressed="true"] { padding: 11.5px 9.5px; }
  .evt-nav-row {
    position: sticky; bottom: 0; z-index: 20;
    margin: 12px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--border);
    box-shadow: 0 -6px 14px rgba(47, 47, 57, 0.06);
  }
  /* Back (small, left) and Continue (large, right) share one row: the bar is ~70px tall
     instead of ~130px, so it covers less of the page and stays easy to reach. */
  .evt-nav-row:not(.evt-nav-end) { flex-direction: row; align-items: stretch; gap: 10px; }
  .evt-nav-row:not(.evt-nav-end) .evt-btn-outline { flex: 0 0 30%; width: auto; padding-left: 8px; padding-right: 8px; }
  .evt-nav-row:not(.evt-nav-end) .evt-btn:not(.evt-btn-outline) { flex: 1 1 auto; width: auto; padding-left: 12px; padding-right: 12px; }
  .evt-nav-row.evt-nav-end { position: static; box-shadow: none; border-top: 0; margin: 20px 0 0; padding: 0; }
  .evt-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .evt-hero-stat { min-width: 0; }
  .evt-hero-stat b { font-size: 26px; }
  .evt-pillar-tools { margin-left: 0; width: 100%; }
  /* Module chart: name and count share the first line, the bar spans the second. */
  .evt-module-bar-row { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .evt-module-bar-row .evt-chart-label { grid-column: 1; white-space: normal; }
  .evt-module-bar-row .evt-chart-count { grid-column: 2; grid-row: 1; text-align: right; }
  .evt-module-bar-row .evt-module-bar-track { grid-column: 1 / -1; }
  .evt-actions .evt-btn-sm { flex: 1 1 100%; }
  .evt-chart-card { padding: 18px 16px; }
}
@media (hover: none) and (pointer: coarse) {
  .evt-donut-legend-item, .evt-module-bar-row { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .evt-skeleton i { animation: none; }
  .evt-kpi-tile, .evt-chip, .evt-card-clickable { transition: none; }
  .evt-kpi-tile:hover { transform: none; }
}

/* Print / save as PDF: just the visitor's view, no controls */
@media print {
  .evt-topbar, .evt-footer, .evt-skip, .evt-progress, .evt-step-label, .evt-nav-row, .evt-actions,
  .evt-cta-band, .evt-more-wrap, .evt-filter-bar, .evt-modbar-toggle, .evt-final-cta, .evt-detail-back,
  .evt-card-link, #evt-live { display: none !important; }
  .evt-body, .evt-app { background: #fff; max-width: none; padding: 0; }
  .evt-card, .evt-chart-card, .evt-module-group-head { break-inside: avoid; }
  .evt-hero { background: #fff !important; color: #000; box-shadow: none; border: 1px solid #999; }
  .evt-hero-headline, .evt-hero-stat b, .evt-hero-stat span, .evt-eyebrow-on-dark { color: #000; }
  a[href]::after { content: none; }
}
