/* ==========================================================================
   chinwag.sh - Superlogical × Daytona × json-render/chat Light Editorial System
   Layered on top of /chinwag-tokens.css (read-only).
   ========================================================================== */

:root {
  /* Override base tokens to Warm Stone Paper & Deep Ink */
  --cw-bg:            #F5F5F4;
  --cw-bg-raised:     #FFFFFF;
  --cw-surface:       #FFFFFF;
  --cw-surface-2:     #ECECE9;

  --cw-line-1:        rgba(24, 29, 22, 0.10);
  --cw-line-2:        rgba(24, 29, 22, 0.14);
  --cw-line-3:        rgba(24, 29, 22, 0.24);

  --cw-text:          #181D16;
  --cw-text-body:     #181D16;
  --cw-text-2:        #4A5047;
  --cw-text-3:        #787E74;

  --cw-accent:        #0E7A56;
  --cw-accent-hover:  #0A5E42;
  --cw-on-accent:     #FFFFFF;
  --cw-fail:          #C93B2B;

  /* Superlogical + Daytona tokens */
  --sl-paper:         #F5F5F4;
  --sl-ink:           #181D16;
  --sl-ink-2:         #474D44;
  --sl-muted:         #7E847B;
  --sl-rule:          rgba(24, 29, 22, 0.12);
  --sl-card:          #FFFFFF;
  --sl-mint-bg:       #EBF9F3;
  --sl-mint-fg:       #0C6B4B;
  --sl-mint-border:   #C4EEDF;
  --sl-rose-bg:       #FDF0EE;
  --sl-rose-fg:       #B42318;
  --sl-slack-green:   #007A5A;
  --sl-stage-w:       clamp(612px, 51.5vw, 680px);
}

html {
  color-scheme: light;
  background: var(--sl-paper);
}

body {
  background: var(--sl-paper);
  color: var(--sl-ink);
  font-family: var(--cw-font-sans);
  font-weight: 400;
  font-size: 17.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sl-ink);
  text-underline-offset: 4px;
}
a:hover {
  color: var(--sl-ink);
}

[hidden] { display: none !important; }

.cw-skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--sl-ink); color: var(--sl-paper);
  font-weight: 500; text-decoration: none;
}
.cw-skip:focus, .cw-skip:focus-visible { top: 12px; color: var(--sl-paper); }

.cw-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Superlogical Two-Column Split Shell (Left Essay + Right Fixed Stage)
   ========================================================================== */
.sl-shell {
  min-height: 100dvh;
  position: relative;
}

.sl-article {
  position: relative;
  z-index: 10;
  width: calc(100% - var(--sl-stage-w) - 12px);
  padding: 36px clamp(24px, 3.5vw, 52px) 96px;
}

@media (max-width: 1080px) {
  .sl-article {
    width: 100%;
    padding: 28px clamp(24px, 5vw, 48px) 80px;
  }
}

.sl-measure {
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Header & Navigation (6 Pages Max)
   ========================================================================== */
.sl-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sl-rule);
  margin: 0 auto clamp(48px, 7vh, 84px);
  max-width: 66ch;
}

.sl-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-decoration: none;
  color: var(--sl-ink);
}

.sl-brand-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--cw-font-mono);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sl-brand-ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}

.sl-brand-sub {
  font-family: var(--cw-font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sl-muted);
  line-height: 1.1;
}

.sl-qa-card {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(24, 29, 22, 0.14);
  box-shadow: 0 6px 20px -6px rgba(24, 29, 22, 0.06);
}

.sl-qa-card--proof {
  margin-top: 24px;
  border-left: 3px solid #0C6B4B;
  background: #F7FCF9;
}

.sl-qa-card--proof .sl-qa-title {
  color: var(--sl-ink);
  font-size: 18.5px;
  font-weight: 600;
}

.sl-proof-quip {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--sl-ink);
}

.sl-proof-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-family: var(--cw-font-mono);
  font-size: 12px;
}

.sl-proof-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 7px;
  background: #0C6B4B;
  color: #FFFFFF !important;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 140ms ease;
}

.sl-proof-btn:hover {
  background: #09543B;
}

.sl-proof-link {
  display: inline-flex;
  align-items: center;
  color: #0C6B4B;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.sl-qa-badge {
  display: inline-block;
  font-family: var(--cw-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sl-mint-bg);
  color: var(--sl-mint-fg);
  border: 1px solid var(--sl-mint-border);
  margin-bottom: 10px;
}

.sl-qa-title {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--sl-muted);
}

.sl-qa-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 17.5px;
  line-height: 1.56;
  color: var(--sl-ink);
}

.sl-qa-body p {
  margin: 0;
}

.sl-qa-body strong {
  color: var(--sl-ink);
  font-weight: 600;
}

.sl-qa-list {
  margin: 0 0 18px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 17.5px;
  line-height: 1.56;
  color: var(--sl-ink);
}

.sl-qa-list strong {
  color: var(--sl-ink);
  font-weight: 600;
}

.sl-qa-card .dt-pre {
  font-size: 12px;
  padding: 14px 16px;
}

.sl-nav {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 12px;
  font-family: var(--cw-font-mono);
  font-size: 12px;
}

@media (max-width: 767px) {
  .sl-nav {
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12.5px;
  }
}

.sl-nav a {
  white-space: nowrap;
  color: var(--sl-muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}

.sl-codebox-links {
  overflow-wrap: anywhere;
}

.sl-nav a:hover {
  color: var(--sl-ink);
}

.sl-nav a[aria-current="page"] {
  color: var(--sl-ink);
  font-weight: 500;
  border-bottom-color: var(--sl-ink);
}

.sl-nav-cta {
  padding: 6px 12px !important;
  border-radius: 999px;
  border: 1px solid rgba(24, 29, 22, 0.22) !important;
  color: var(--sl-ink) !important;
  background: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}
.sl-nav-cta:hover {
  background: #FFFFFF;
  border-color: var(--sl-ink) !important;
}

/* ==========================================================================
   Hero & Gradient Text (Superlogical Style)
   ========================================================================== */
.sl-eyebrow {
  margin: 0 0 14px;
  font-family: var(--cw-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sl-muted);
}

.sl-h1 {
  margin: 0;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--sl-ink);
  max-width: 26ch;
  text-wrap: balance;
}

.sl-h1--three-line {
  max-width: none;
  text-wrap: wrap;
  font-size: clamp(22px, 1.88vw, 27.5px);
  line-height: 1.24;
  letter-spacing: -0.026em;
}

@media (min-width: 1180px) {
  .sl-h1--three-line .sl-gradient-word {
    white-space: nowrap;
  }
}

.sl-gradient-word {
  background: linear-gradient(100deg, #C86D51 0%, #E07A4B 45%, #B8862D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Frosted Beta Pill Callout (like Superlogical's "Rex is now in beta") */
.sl-pill-banner {
  margin-top: 36px;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 64ch;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 29, 22, 0.12);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: var(--sl-ink);
  font-size: 15.5px;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.sl-pill-banner:hover {
  border-color: rgba(24, 29, 22, 0.28);
  background: #FFFFFF;
}
.sl-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #D1B6FE 0%, #FB966B 52%, #ECC273 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cw-font-mono);
  font-weight: 600;
  font-size: 13px;
  color: #181D16;
  flex-shrink: 0;
}
.sl-pill-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}
.sl-pill-cta {
  font-weight: 500;
  color: #C86D51;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .sl-pill-banner {
    border-radius: 14px;
    padding: 12px 14px;
    align-items: flex-start;
  }
  .sl-pill-cta {
    white-space: normal;
  }
}

/* ==========================================================================
   Editorial Sections & Numbered Plan
   ========================================================================== */
.sl-section {
  margin-top: 52px;
  max-width: 65ch;
}

.sl-section-label {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--sl-muted);
  font-weight: 400;
}

.sl-prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: var(--sl-ink);
}

.sl-prose p {
  margin: 0;
}

.sl-prose strong {
  font-weight: 600;
  color: var(--sl-ink);
}

/* Daytona-style inline code pill — subtle neutral grey default (#CHWG-0198.1) */
.sl-code-pill {
  font-family: var(--cw-font-mono);
  font-size: 0.86em;
  padding: 2px 7px;
  border-radius: 5px;
  background: #EFEFED;
  color: #27272A;
  border: 1px solid #DFDFDB;
  white-space: nowrap;
  transition: background-color 140ms cubic-bezier(0.22, 1, 0.36, 1), border-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sl-code-pill--mint {
  background: var(--sl-mint-bg);
  color: var(--sl-mint-fg);
  border-color: var(--sl-mint-border);
}

.sl-code-pill--rose {
  background: var(--sl-rose-bg);
  color: var(--sl-rose-fg);
  border-color: #F6CECA;
}

/* Superlogical numbered list (1 / 2 / 3) */
.sl-steps {
  list-style: none;
  margin: 8px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sl-steps li {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.sl-steps-num {
  width: 18px;
  flex-shrink: 0;
  font-family: var(--cw-font-mono);
  font-size: 15px;
  color: var(--sl-muted);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Daytona-Style Code & Policy Blocks
   ========================================================================== */
.dt-codebox {
  margin: 24px 0;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 10px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(24, 29, 22, 0.03);
}

.dt-codebox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: #F9F9F8;
  border-bottom: 1px solid rgba(24, 29, 22, 0.10);
  gap: 12px;
  flex-wrap: nowrap;
}

.dt-codebox-bar > span {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .dt-codebox-bar > span {
    display: none;
  }
}

.dt-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dt-tabs::-webkit-scrollbar {
  display: none;
}

.dt-tab {
  font-family: var(--cw-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--sl-muted);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.dt-tab.is-active,
.dt-tab[aria-selected="true"] {
  background: #FFFFFF;
  color: var(--sl-ink);
  border-color: rgba(24, 29, 22, 0.14);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.dt-pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--cw-font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: #1E241B;
  background: #FFFFFF;
}
.dt-pre .c-dim,
.dt-pre .c-cm { color: #858B81; }
.dt-pre .c-key { color: #0C6B4B; font-weight: 500; }
.dt-pre .c-str { color: #B54708; }

/* ==========================================================================
   Cross-Links (Quiet Chapter Switchers)
   ========================================================================== */
.sl-pillar-nav {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--sl-rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 640px) {
  .sl-pillar-nav {
    grid-template-columns: 1fr;
  }
}

.sl-pillar-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px 15px;
  border-radius: 10px;
  border: 1px solid rgba(24, 29, 22, 0.12);
  background: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.sl-pillar-card:hover {
  border-color: rgba(24, 29, 22, 0.30);
  background: #FFFFFF;
}
.sl-pillar-kicker {
  font-family: var(--cw-font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sl-muted);
  white-space: nowrap;
}
.sl-pillar-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--sl-ink);
}
.sl-pillar-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--sl-ink-2);
}

/* ==========================================================================
   Superlogical-Style Underline Email Sign-Up Form
   ========================================================================== */
.sl-signup-wrap {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--sl-rule);
  max-width: 65ch;
}

.sl-signup-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(24, 29, 22, 0.25);
  padding-bottom: 10px;
  margin-top: 18px;
  transition: border-color 200ms ease;
}
.sl-signup-row:focus-within {
  border-bottom-color: var(--sl-ink);
}

.sl-signup-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  color: var(--sl-ink);
  outline: none;
  padding: 4px 0;
}
.sl-signup-input::placeholder {
  color: #A3A89F;
}

.sl-signup-select {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid rgba(24, 29, 22, 0.20);
  background-color: rgba(255, 255, 255, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23474D44' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px 12px;
  border-radius: 6px;
  padding: 7px 36px 7px 12px;
  font: inherit;
  font-size: 13.5px;
  color: var(--sl-ink-2);
  cursor: pointer;
}

.sl-signup-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: var(--sl-ink);
  color: var(--sl-paper);
  font-family: var(--cw-font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}
.sl-signup-submit:hover {
  background: #2C3329;
}

@media (max-width: 640px) {
  .sl-signup-row {
    flex-wrap: wrap;
    border-bottom: 0;
    padding-bottom: 0;
    gap: 10px;
  }
  .sl-signup-input {
    flex: 1 1 100%;
    width: 100%;
    border-bottom: 1px solid rgba(24, 29, 22, 0.25);
    padding: 8px 0;
  }
  .sl-signup-select {
    flex: 1 1 auto;
  }
  .sl-signup-submit {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.cw-form-error {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--cw-fail);
}

.cw-confirm {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--sl-mint-bg);
  border: 1px solid var(--sl-mint-border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cw-confirm__mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--sl-mint-fg);
  color: #FFFFFF;
  font-family: var(--cw-font-mono);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cw-confirm__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--sl-ink);
}

.cw-confirm__body {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--sl-ink-2);
}

/* ==========================================================================
   Superlogical Hairline Footer
   ========================================================================== */
.sl-footer {
  margin-top: 72px;
  max-width: 65ch;
}
.sl-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  font-family: var(--cw-font-mono);
  font-size: 13.5px;
  color: var(--sl-ink);
}
.sl-footer-nav a {
  color: var(--sl-ink);
  text-decoration: none;
}
.sl-footer-nav a:hover {
  text-decoration: underline;
}
.sl-footer-rule {
  height: 1px;
  flex: 1;
  min-width: 24px;
  background: var(--sl-rule);
}

/* ==========================================================================
   Right Fixed/Sticky Stage Panel (Superlogical Field + json-render/chat Card)
   ========================================================================== */
.sl-stage {
  position: fixed;
  top: 12px;
  right: 12px;
  width: var(--sl-stage-w);
  height: calc(100dvh - 24px);
  border-radius: 14px;
  overflow: hidden;
  z-index: 20;
  background: linear-gradient(168deg, #D1B6FE 0%, #E6A5BB 34%, #FB936F 66%, #ECC273 100%);
  box-shadow: inset 0 0 0 1px rgba(24, 29, 22, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 1.2vw, 18px) clamp(14px, 1.6vw, 22px);
}

@media (max-width: 1080px) {
  .sl-stage {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 65ch;
    height: auto;
    margin: 36px auto 0;
    padding: 20px 20px 24px;
  }
}

/* json-render/chat Slack Preview Window inside the Stage */
.jr-window {
  background: #F9F9F8;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 12px;
  box-shadow: 0 20px 42px -12px rgba(24, 29, 22, 0.20), 0 2px 6px rgba(24, 29, 22, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.jr-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px;
  background: #FFFFFF;
  border-bottom: 1px solid #E6E6E3;
  font-family: var(--cw-font-mono);
  font-size: 11px;
  color: #6E736B;
}

.jr-tabs {
  display: flex;
  gap: 10px;
}

.jr-tab {
  border: 0;
  background: transparent;
  font: inherit;
  color: #8A8F87;
  padding: 3px 6px;
  min-height: 24px;
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
}
.jr-tab.is-active {
  color: #181D16;
  font-weight: 600;
  border-bottom-color: #181D16;
}

.jr-body {
  padding: 7px 10px;
  overflow-y: auto;
}

/* Authentic Light-Mode Slack Message Card (https://chat-sdk-demo.json-render.dev/) */
.jr-slack-card {
  background: #FFFFFF;
  border: 1px solid #E4E5E7;
  border-radius: 10px;
  padding: 9px 12px;
  font-family: var(--cw-font-sans);
  font-size: 12.5px;
  line-height: 1.38;
  color: #1D1C1D;
}

.jr-msg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.jr-avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #181D16;
  color: #FFFFFF;
  font-family: var(--cw-font-mono);
  font-weight: 600;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jr-sender {
  font-weight: 700;
  font-size: 14px;
  color: #1D1C1D;
}

.jr-app-badge {
  font-family: var(--cw-font-mono);
  font-size: 9.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
  background: #F0F1F2;
  color: #616061;
  text-transform: uppercase;
}

.jr-time {
  font-size: 11.5px;
  color: #616061;
}

.jr-content {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 520px) {
  .jr-content { padding-left: 0; }
}

.jr-title {
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.3;
  min-height: 18px;
  color: #1D1C1D;
  margin: 0;
}

.jr-subtitle {
  font-size: 11.5px;
  line-height: 1.3;
  min-height: 15px;
  color: #616061;
  margin: -2px 0 0;
}

.is-slot-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(3px);
}

/* Screenshot 2 "Don't get up" In-Your-Face Callout Banner */
.jr-dont-get-up {
  padding: 5px 10px;
  border-radius: 6px;
  border-left: 3px solid #0C6B4B;
  background: #EBF9F3;
  color: #181D16;
  font-size: 12px;
  line-height: 1.34;
  min-height: 43px;
  box-sizing: border-box;
}

.jr-dont-get-up.is-pulsing {
  background: #DFEFE8;
  box-shadow: 0 0 0 2px rgba(12, 107, 75, 0.20);
}

.jr-dgu-lead {
  font-weight: 700;
  color: #095239;
}

.jr-dgu-agent {
  font-family: var(--cw-font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(12, 107, 75, 0.12);
  color: #095239;
}

.jr-text {
  margin: 0;
  font-size: 12.1px;
  line-height: 1.36;
  min-height: 34px;
  color: #1D1C1D;
}

.is-step-vanilla .jr-text .sl-code-pill {
  background: #F4F4F5;
  border-color: #E4E4E7;
  color: #27272A;
}

.is-step-fail-beat .jr-text .sl-code-pill {
  background: #FDF0EE;
  border-color: #F5B9B2;
  color: #B42318;
}

.jr-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
  padding: 1px 0;
  min-height: 32px;
}

.jr-field-label {
  font-weight: 700;
  font-size: 11px;
  line-height: 1.25;
  color: #1D1C1D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jr-field-val {
  font-size: 11.5px;
  line-height: 1.3;
  color: #383838;
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 521px) {
  .jr-title { height: 18px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .jr-subtitle { height: 15px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .jr-dont-get-up { height: 43px; overflow: hidden; }
  .jr-text { height: 34px; overflow: hidden; }
  .jr-fields { height: 32px; overflow: hidden; }
  .jr-inner-box { height: 191px; }
  .jr-actions { height: 26px; }
}

/* Inner Table inside Slack Card (Extended 9-Row Round-Trip Journey Table) */
.jr-inner-box {
  border: 1px solid #E4E5E7;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
  min-height: 191px;
}

.jr-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 10.6px;
}
.jr-table th {
  background: #F4F4F5;
  color: #52525B;
  font-weight: 600;
  text-align: left;
  padding: 4px 8px;
  border-bottom: 1px solid #E4E5E7;
}
.jr-table tr {
  transition: none;
}
.jr-table tr.is-row-hidden {
  opacity: 0;
  pointer-events: none;
}
.jr-table tr.is-row-hidden td {
  border-bottom-color: transparent;
}
.jr-table td {
  padding: 2.5px 6px;
  line-height: 1.3;
  border-bottom: 1px solid #F0F0F1;
  color: #1D1C1D;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.jr-table td:first-child {
  width: 100px;
  font-weight: 600;
  color: #3F3F46;
  padding-left: 7px;
}
.jr-table td:nth-child(2) {
  width: auto;
}
.jr-table td:last-child {
  width: 112px;
  text-align: right;
  padding-right: 7px;
  font-family: var(--cw-font-mono);
  font-size: 9.4px;
}
.jr-table tr:last-child td {
  border-bottom: 0;
}
.jr-table tr.is-step-active td {
  background: #F0FAF6;
}
.is-step-vanilla .jr-table tr.is-step-active td,
.jr-table tr[data-jr-row="0"].is-step-active td,
.jr-table tr[data-jr-row="1"].is-step-active td {
  background: #F4F4F5;
}
.jr-table tr.is-step-fail.is-step-active td {
  background: #FDF3F2;
}

/* Two-column summary table on /privacy (static stage with thead) */
.jr-inner-box:has(thead) {
  min-height: 0 !important;
  height: auto !important;
}
.jr-table:has(thead) {
  table-layout: auto;
  font-size: 11.5px;
}
.jr-table:has(thead) th,
.jr-table:has(thead) td {
  width: auto;
  white-space: normal;
  text-align: left !important;
  padding: 6px 8px;
  line-height: 1.38;
  vertical-align: top;
}
.jr-table:has(thead) td:last-child {
  font-family: var(--cw-font-mono);
  font-size: 11px;
  color: #3F3F46;
  text-align: left !important;
}

.jr-status-fail {
  color: #C93B2B;
  font-weight: 600;
}

.jr-status-ok {
  color: #0C6B4B;
  font-weight: 600;
}

.jr-status-warn {
  color: #B54708;
  font-weight: 600;
}

.jr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  min-height: 26px;
}

.jr-btn-primary {
  background: var(--sl-slack-green);
  color: #FFFFFF;
  border: 1px solid var(--sl-slack-green);
  border-radius: 6px;
  padding: 4px 10px;
  min-height: 26px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}
.jr-btn-primary.is-pending {
  background: #EFEFEA;
  color: #7A7F76;
  border-color: #D8DBD5;
  box-shadow: none;
}
.jr-btn-primary.is-ready {
  box-shadow: 0 0 0 3px rgba(12, 107, 75, 0.16);
}
.jr-btn-primary:hover {
  background: #006248;
  color: #FFFFFF;
  border-color: #006248;
}
.jr-btn-primary.is-applied {
  background: #095239;
  border-color: #095239;
}

.jr-btn-secondary {
  background: #FFFFFF;
  color: #1D1C1D;
  border: 1px solid #C8C8CA;
  border-radius: 6px;
  padding: 4px 10px;
  min-height: 26px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.jr-btn-secondary:hover {
  background: #F6F6F5;
  border-color: #181D16;
}

.jr-term-box {
  margin: 0;
  box-sizing: border-box;
  background: #141713;
  color: #E7ECE5;
  border-radius: 8px;
  padding: 12px 12px;
  font-family: var(--cw-font-mono);
  font-size: 9.8px;
  line-height: 1.62;
  overflow-x: auto;
}
.jr-term-box pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.jr-term-dim { color: #8A9386; }
.jr-term-fail { color: #F97066; font-weight: 600; }
.jr-term-ok { color: #34D399; font-weight: 600; }
.jr-term-accent { color: #FBBF24; }
[data-jr-term] .t-dim { color: #9CA3AF; }
[data-jr-term] .t-warn { color: #F97066; font-weight: 600; }
[data-jr-term] .t-ok { color: #34D399; font-weight: 600; }
[data-jr-term-line] {
  display: inline-block;
  min-width: 100%;
  border-radius: 4px;
}
[data-jr-term-line].is-row-hidden {
  opacity: 0;
  pointer-events: none;
}
[data-jr-term-line].is-step-active {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}
[data-jr-term-line].is-step-active span {
  color: inherit;
}
.eve-stage-wrap:not(.is-step-vanilla) [data-jr-term-line].is-step-active {
  background: rgba(52, 211, 153, 0.12);
  color: #34D399;
}
.eve-stage-wrap.is-step-fail-beat [data-jr-term-line].is-step-active {
  background: rgba(249, 112, 102, 0.14);
  color: #F97066;
}

/* ==========================================================================
   Clean Tables for /pricing and /security
   ========================================================================== */
.sl-table-wrap {
  margin: 20px 0;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 10px;
  background: #FFFFFF;
  overflow-x: auto;
}

.sl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.sl-table th,
.sl-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(24, 29, 22, 0.08);
}

.sl-table thead th {
  background: #F9F9F8;
  font-family: var(--cw-font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sl-muted);
  font-weight: 500;
  border-bottom: 1px solid rgba(24, 29, 22, 0.12);
}

.sl-table tbody tr:last-child th,
.sl-table tbody tr:last-child td {
  border-bottom: 0;
}

.sl-table-sub {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--sl-ink-2);
}

.sl-num {
  font-family: var(--cw-font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ==========================================================================
   Cloudroom-Style Full-Width Pricing Page + "Talk to Founders" Step Wizard
   Superlogical forest-mint system: 12px cards, 8px buttons, 6px pills,
   1px hairline borders and soft 0 2px 6px shadows (no offset block shadows).
   ========================================================================== */
.sl-article--full {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto;
  padding: 36px clamp(24px, 4vw, 48px) 96px;
}

.sl-article--full .sl-header {
  max-width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 40px;
}

.sl-article--full .sl-nav {
  width: auto;
  gap: 6px 16px;
  font-size: 12.5px;
}

.cr-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  min-width: 0;
  padding: 8px 0 32px;
  text-align: left;
  border-bottom: 1px solid var(--sl-rule);
}

.cr-hero-copy {
  max-width: 820px;
  min-width: 0;
}

.cr-hero-title {
  margin: 0;
  font-size: clamp(28px, 2.85vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.028em;
  color: var(--sl-ink);
  overflow-wrap: break-word;
}

.cr-hero-title span:not(.sl-gradient-word) {
  color: var(--sl-muted);
  font-weight: 500;
}

/* Pricing Ethos 3-Column Manifesto */
.cr-ethos-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.cr-ethos-card {
  background: #FFFFFF;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(24, 29, 22, 0.04);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cr-ethos-kicker {
  font-family: var(--cw-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0E7A56;
}

.cr-ethos-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--sl-ink);
}

.cr-ethos-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sl-ink-2);
}

/* Full-Width Per-Function Credit Schedule (02) */
.cr-table-panel {
  margin-top: 40px;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(24, 29, 22, 0.04);
  overflow: hidden;
}

.cr-table-scroll {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cr-table-head {
  padding: 14px 18px;
  background: #F9F9F8;
  border-bottom: 1px solid rgba(24, 29, 22, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}

.cr-table-head h2 {
  margin: 0;
  font-family: var(--cw-font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sl-ink);
}

.cr-table-head span {
  font-family: var(--cw-font-mono);
  font-size: 11.5px;
  color: var(--sl-muted);
}

.cr-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
  line-height: 1.4;
}

.cr-data-table th,
.cr-data-table td {
  padding: 11px 15px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(24, 29, 22, 0.09);
}

.cr-data-table thead th {
  background: #FCFBF9;
  font-family: var(--cw-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sl-muted);
  border-bottom: 1px solid rgba(24, 29, 22, 0.14);
}

.cr-data-table tbody tr:last-child td,
.cr-data-table tbody tr:last-child th {
  border-bottom: 0;
}

.cr-data-table tr.is-highlight {
  background: rgba(14, 122, 86, 0.055);
}

.cr-schedule-table td.cr-fn {
  min-width: 260px;
}

.cr-fn-link {
  color: var(--sl-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 122, 86, 0.35);
  transition: color 140ms ease, border-color 140ms ease;
}

.cr-fn-link:hover,
.cr-fn-link:focus-visible {
  color: #0E7A56;
  border-bottom-color: #0E7A56;
}

.cr-sub-cents {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--sl-muted);
  margin-top: 2px;
}

/* Organization Credit Packs Section Header (01) */
.cr-half-divider {
  margin: 40px 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
}

.cr-half-copy {
  min-width: 0;
  max-width: 880px;
}

.cr-half-copy .sl-eyebrow {
  margin-bottom: 6px;
  color: #0E7A56;
  font-weight: 700;
}

.cr-half-title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sl-ink);
}

.cr-subnote {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sl-ink-2);
}

@media (max-width: 1080px) {
  .cr-ethos-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cr-talk-btn {
  justify-self: end;
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 18px;
  background: #FFFFFF;
  color: var(--sl-ink);
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(24, 29, 22, 0.04);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  text-align: left;
}

.cr-talk-btn:hover,
.cr-talk-btn:focus-visible {
  border-color: #0E7A56;
  box-shadow: 0 6px 20px rgba(14, 122, 86, 0.10);
}

.cr-talk-btn small {
  font-family: var(--cw-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0E7A56;
}

.cr-talk-btn b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sl-ink);
}

.cr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  min-width: 0;
}

@media (max-width: 1060px) {
  .cr-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cr-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cr-card {
  background: #FFFFFF;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(24, 29, 22, 0.04);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cr-card:hover {
  border-color: rgba(24, 29, 22, 0.28);
}

.cr-card--featured {
  border: 1.5px solid #0E7A56;
  box-shadow: 0 6px 20px rgba(14, 122, 86, 0.10);
}
.cr-card--featured:hover {
  border-color: #0A5E42;
}

.cr-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sl-ink);
}

.cr-popular {
  font-family: var(--cw-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 6px;
  background: #0E7A56;
  color: #FFFFFF;
  line-height: 1;
  white-space: nowrap;
}

.cr-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--sl-ink);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sl-rule);
}

.cr-price small {
  font-family: var(--cw-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--sl-muted);
  white-space: nowrap;
}

.cr-rate-pill {
  align-self: flex-start;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid rgba(24, 29, 22, 0.14);
  background: #F9F9F8;
  font-family: var(--cw-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sl-ink-2);
  overflow-wrap: anywhere;
}

.cr-rate-pill--accent {
  border-color: rgba(14, 122, 86, 0.28);
  background: rgba(14, 122, 86, 0.07);
  color: #0E7A56;
}

.cr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  font-size: 14px;
  line-height: 1.42;
  color: var(--sl-ink-2);
}

.cr-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.cr-list li > span {
  min-width: 0;
  overflow-wrap: break-word;
}

.cr-list li::before {
  content: "✓";
  color: #0E7A56;
  font-weight: 700;
  flex-shrink: 0;
}

.cr-list--dim li::before {
  color: var(--sl-muted);
}

.cr-lead {
  color: var(--sl-ink);
  font-weight: 600;
}

.cr-lead + li:not(.cr-lead) {
  border-top: 1px solid var(--sl-rule);
  padding-top: 14px;
}

.cr-buy {
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--sl-ink);
  border-radius: 8px;
  background: var(--sl-ink);
  color: #FFFFFF;
  font-family: var(--cw-font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.cr-buy:hover {
  background: #2C3329;
  color: #FFFFFF;
}

.cr-buy--secondary {
  background: #FFFFFF;
  color: var(--sl-ink);
  border-color: rgba(24, 29, 22, 0.14);
  box-shadow: 0 2px 6px rgba(24, 29, 22, 0.04);
}

.cr-buy--secondary:hover {
  background: #FFFFFF;
  color: #0E7A56;
  border-color: #0E7A56;
}

.cr-buy:focus-visible,
.cr-talk-btn:focus-visible,
.cr-ok:focus-visible,
.cr-back:focus-visible,
.cr-opt:focus-visible,
.cr-chip:focus-visible,
.cr-wizard-close:focus-visible {
  outline: 2px solid #0E7A56;
  outline-offset: 2px;
}

.cr-card--featured .cr-buy {
  background: #0E7A56;
  border-color: #0E7A56;
}
.cr-card--featured .cr-buy:hover {
  background: #0A5E42;
  border-color: #0A5E42;
}

/* Volume Banner below the 4 cards */
.cr-volume-bar {
  margin-top: 22px;
  padding: 20px 24px;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(24, 29, 22, 0.04);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.cr-volume-bar > div {
  flex: 1 1 280px;
  min-width: 0;
}

.cr-volume-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cr-volume-kicker {
  font-family: var(--cw-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
  color: #0E7A56;
}

.cr-volume-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--sl-ink);
}

.cr-rates-strip {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--sl-rule);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

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

.cr-rate-item {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--sl-rule);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cr-rate-cr {
  font-family: var(--cw-font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--sl-ink);
}

.cr-rate-desc {
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--sl-ink-2);
}

/* Free signup (#access) inside the full-width pricing article */
.cr-access-wrap {
  min-width: 0;
  scroll-margin-top: 24px;
}

.cr-access-wrap .sl-signup-wrap {
  margin-top: 48px;
  scroll-margin-top: 24px;
}

.cr-note {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--sl-muted);
  overflow-wrap: break-word;
}

/* Small screens: wrap everything, never let the document scroll sideways */
@media (max-width: 640px) {
  .cr-hero {
    padding-bottom: 24px;
  }
  .cr-talk-btn {
    align-self: stretch;
  }
  .cr-card {
    padding: 22px 18px;
  }
  .cr-price {
    font-size: 36px;
  }
  .cr-price small {
    white-space: normal;
  }
  .cr-volume-bar {
    padding: 18px;
  }
  .cr-volume-bar > div {
    flex-basis: 100%;
    min-width: 0;
  }
  .cr-table-head {
    padding: 12px 14px;
  }

  /* Schedule renders as stacked labelled rows instead of a 5-column grid */
  .cr-schedule-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .cr-schedule-table,
  .cr-schedule-table tbody {
    display: block;
    width: 100%;
  }
  .cr-schedule-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 14px;
    border-bottom: 1px solid rgba(24, 29, 22, 0.09);
  }
  .cr-schedule-table tbody tr:last-child {
    border-bottom: 0;
  }
  .cr-schedule-table td,
  .cr-schedule-table tbody tr:last-child td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .cr-schedule-table td.cr-fn {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .cr-schedule-table td.sl-num::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-family: var(--cw-font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sl-muted);
  }
}

/* ==========================================================================
   Cloudroom-Style "Talk to Founders" Step-by-Step Fullscreen/Inline Wizard
   ========================================================================== */
.cr-wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--sl-paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 56px);
  overflow-y: auto;
}

.cr-wizard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.cr-wizard-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(24, 29, 22, 0.04);
  background: #FFFFFF;
  color: var(--sl-ink);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cr-wizard-close:hover {
  border-color: #0E7A56;
  color: #0E7A56;
}

.cr-wizard-center {
  width: min(680px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 0;
}

.cr-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cr-chip {
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 6px;
  background: transparent;
  color: var(--sl-muted);
  font-family: var(--cw-font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}

.cr-chip.is-done {
  color: var(--sl-ink);
  border-color: rgba(24, 29, 22, 0.22);
  background: #FFFFFF;
  cursor: pointer;
}
.cr-chip.is-done:hover {
  border-color: #0E7A56;
}
.cr-chip.is-done::before {
  content: "✓";
  color: #0E7A56;
  font-weight: 700;
}

.cr-chip.is-now {
  background: #0E7A56;
  border-color: #0E7A56;
  color: #FFFFFF;
}

/* Locked-pack badge shown when a pack CTA opened the wizard */
.cr-pack-badge {
  align-self: center;
  max-width: 100%;
  margin: -12px 0 0;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(14, 122, 86, 0.28);
  background: rgba(14, 122, 86, 0.07);
  color: #0E7A56;
  font-family: var(--cw-font-mono);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
}

.cr-wizard-err {
  margin: 12px 0 0;
  color: #B42318;
  font-size: 14px;
  font-weight: 600;
}

.cr-q {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--sl-ink);
}

.cr-hint {
  font-size: 16px;
  line-height: 1.5;
  color: var(--sl-muted);
  margin: 14px 0 6px;
}

.cr-step-input {
  width: 100%;
  border: 0;
  border-bottom: 3px solid rgba(24, 29, 22, 0.25);
  background: transparent;
  font: inherit;
  font-size: clamp(19px, 1.9vw, 24px);
  color: var(--sl-ink);
  padding: 6px 0 12px;
  outline: none;
}
.cr-step-input:focus {
  border-bottom-color: #0E7A56;
}
.cr-step-input::placeholder {
  color: #b5b2aa;
  font-size: clamp(17px, 1.65vw, 20px);
}

.sl-founder-name {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sl-ink);
}

.sl-founder-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--sl-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-family: var(--cw-font-mono);
  font-size: 13px;
}

.sl-founder-links a {
  color: var(--sl-ink);
  text-decoration: none;
  font-weight: 500;
}

.sl-founder-links a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Company Page Bento Grids (Security & Leadership + Who Signs Off)
   ========================================================================== */
.sl-bento-h2 {
  margin: 0 0 20px;
  font-size: clamp(23px, 2.15vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--sl-ink);
  text-wrap: balance;
}

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

@media (max-width: 640px) {
  .sl-bento-grid {
    grid-template-columns: 1fr;
  }
}

.sl-bento-card {
  padding: 20px 22px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(24, 29, 22, 0.13);
  box-shadow: 0 4px 14px -6px rgba(24, 29, 22, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sl-bento-card--featured {
  margin-top: 14px;
  padding: 24px 26px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F5 100%);
  border: 1px solid rgba(24, 29, 22, 0.16);
  box-shadow: 0 8px 24px -8px rgba(24, 29, 22, 0.07);
}

.sl-bento-title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--sl-ink);
}

.sl-bento-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.52;
  color: var(--sl-ink-2);
}

.sl-bento-lead {
  margin: 2px 0 10px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--sl-ink);
}

.sl-bento-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sl-muted);
}

.sl-logo-links {
  width: 100%;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--sl-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sl-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(24, 29, 22, 0.15);
  background: #FFFFFF;
  color: var(--sl-ink);
  font-family: var(--cw-font-mono);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease, transform 120ms ease;
}

.sl-logo-link:hover {
  border-color: var(--sl-ink);
  background: #F7F6F2;
  transform: translateY(-1px);
}

.sl-logo-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.cr-opts {
  display: grid;
  gap: 10px;
}

.cr-opt {
  background: #FFFFFF;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(24, 29, 22, 0.04);
  color: var(--sl-ink);
  padding: 12px 16px;
  font-size: 16.5px;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.cr-opt:hover {
  border-color: rgba(24, 29, 22, 0.28);
}
.cr-opt.is-picked {
  border: 1.5px solid #0E7A56;
  box-shadow: 0 6px 20px rgba(14, 122, 86, 0.10);
}

.cr-opt kbd {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 6px;
  font-family: var(--cw-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--sl-muted);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cr-opt.is-picked kbd {
  background: #0E7A56;
  border-color: #0E7A56;
  color: #FFFFFF;
}

.cr-step-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.cr-ok {
  min-height: 46px;
  padding: 10px 24px;
  background: #0E7A56;
  border: 1px solid #0E7A56;
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cr-ok:hover {
  background: #0A5E42;
  border-color: #0A5E42;
}
.cr-ok:disabled {
  opacity: 0.6;
  cursor: progress;
}

.cr-back {
  min-height: 46px;
  padding: 10px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 8px;
  color: var(--sl-ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.cr-back:hover {
  border-color: rgba(24, 29, 22, 0.28);
}

.cr-enter-hint {
  font-size: 13px;
  color: var(--sl-muted);
}

.cr-wizard-foot {
  text-align: center;
  font-family: var(--cw-font-mono);
  font-size: 12.5px;
  color: var(--sl-muted);
  padding-bottom: 8px;
}

/* ==========================================================================
   STACKED STAGE: DAYTONA ISOMETRIC CANVAS + SCREENSHOT 3 SLACK/TERMINAL CARD
   ========================================================================== */
.eve-stage-wrap {
  width: 100%;
  max-width: 632px;
  margin: 0 auto;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-iso-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(24, 29, 22, 0.14);
  border-radius: 12px;
  box-shadow: 0 14px 32px -12px rgba(24, 29, 22, 0.18), 0 2px 6px rgba(24, 29, 22, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cw-iso-phases {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  background: #F9F9F8;
  border-bottom: 1px solid #E6E6E3;
}

@media (max-width: 560px) {
  .cw-iso-phases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cw-iso-phase {
  appearance: none;
  border: 0;
  border-right: 1px solid #EAEAEA;
  background: transparent;
  padding: 5px 1px;
  min-height: 25px;
  font-family: var(--cw-font-mono);
  font-size: 7.2px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #7E847B;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.cw-iso-phase:last-child {
  border-right: 0;
}
.cw-iso-phase.is-active {
  background: #FFFFFF;
  color: #0C6B4B;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 #0C6B4B;
}
.cw-iso-phase[data-iso-phase="0"].is-active,
.cw-iso-phase[data-iso-phase="1"].is-active {
  color: #181D16;
  box-shadow: inset 0 -2px 0 #71717A;
}
.is-step-fail-beat .cw-iso-phase.is-active {
  color: #C93B2B;
  box-shadow: inset 0 -2px 0 #C93B2B;
}

.cw-iso-canvas-wrap {
  width: 100%;
  height: 190px;
  background: #FCFBF9;
  position: relative;
}

/* 11-Step Variant (index2.html / index2.htm) */
.eve-stage-wrap--11steps .cw-iso-phases {
  grid-template-columns: repeat(11, minmax(0, 1fr));
}
@media (max-width: 640px) {
  .eve-stage-wrap--11steps .cw-iso-phases {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.eve-stage-wrap--11steps .cw-iso-phase {
  font-size: 6.1px;
  letter-spacing: -0.05em;
  padding: 4px 0.5px;
}
.eve-stage-wrap--11steps .cw-iso-canvas-wrap {
  height: 170px;
}
/* CW-SITE-SLACK-V9 · Option B: collapse early callouts within a fixed card. */
.eve-stage-wrap--11steps .jr-actions {
  display: none !important;
}
@media (min-width: 521px) {
  .eve-stage-wrap--11steps .jr-term-box {
    height: 420px;
  }
  .eve-stage-wrap--11steps .jr-slack-card {
    height: 420px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .eve-stage-wrap--11steps .jr-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .eve-stage-wrap--11steps .jr-dont-get-up {
    height: 43px;
    min-height: 43px;
    max-height: 43px;
    overflow: hidden;
    transition: max-height 240ms cubic-bezier(0.22, 1, 0.36, 1), min-height 240ms cubic-bezier(0.22, 1, 0.36, 1), height 240ms cubic-bezier(0.22, 1, 0.36, 1), padding 240ms cubic-bezier(0.22, 1, 0.36, 1), margin 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
  }
  .eve-stage-wrap--11steps .jr-dont-get-up.is-slot-hidden {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: -4px !important;
    margin-bottom: 0 !important;
    border-width: 0 !important;
    opacity: 0 !important;
  }
  .eve-stage-wrap--11steps .jr-inner-box {
    flex: 1;
    min-height: 191px;
    height: auto;
  }
  .eve-stage-wrap--11steps .jr-table {
    height: 100%;
    font-size: 9.5px;
  }
  .eve-stage-wrap--11steps .jr-table td {
    padding: 2.15px 6px;
    line-height: 1.28;
  }
}

/* CI/CD, pair and security share twelve-step layouts. */
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phases {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
@media (max-width: 640px) {
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phases {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phase {
  font-size: 5.8px;
  letter-spacing: -0.05em;
  padding: 4px 0.5px;
}
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phase.is-active {
  color: #0C6B4B;
  box-shadow: inset 0 -2px 0 #0C6B4B;
}
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phase[data-iso-phase="0"].is-active,
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phase[data-iso-phase="1"].is-active,
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phase[data-iso-phase="2"].is-active,
.eve-stage-wrap[data-default-scene="pair"] .cw-iso-phase[data-iso-phase="3"].is-active {
  color: #181D16;
  box-shadow: inset 0 -2px 0 #71717A;
}
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]).is-step-fail-beat .cw-iso-phase.is-active {
  color: #C93B2B;
  box-shadow: inset 0 -2px 0 #C93B2B;
}
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table tr.is-step-active td {
  background: #F0FAF6;
}
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table tr[data-jr-row="0"].is-step-active td,
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table tr[data-jr-row="1"].is-step-active td,
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table tr[data-jr-row="2"].is-step-active td,
.eve-stage-wrap[data-default-scene="pair"] .jr-table tr[data-jr-row="3"].is-step-active td {
  background: #F4F4F5;
}
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table tr.is-step-fail.is-step-active td {
  background: #FDF3F2;
}
.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]).is-step-vanilla .sl-code-pill {
  background: #F4F4F5;
  border-color: #E4E4E7;
  color: #27272A;
}
@media (min-width: 521px) {
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-slack-card,
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-term-box {
    height: 436px;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table td {
    padding: 1.5px 6px;
    font-size: 9px;
  }
}
@media (max-width: 520px) {
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-slack-card {
    height: auto;
  }
}
/* CI/CD, pair and security mobile: a thin stage frame and readable, stable twelve-step views. */
@media (max-width: 640px) {
  .sl-article:has(.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"])) {
    padding-inline: 10px;
  }
  .sl-stage:has(.eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"])) {
    padding: 5px 4px;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) {
    min-width: 0;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 6px 12px 9px;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-topmeta {
    white-space: nowrap;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phase {
    font-size: clamp(8.5px, 2.5vw, 9.5px);
    letter-spacing: -0.05em;
    padding: 6px 1px;
    border-bottom: 1px solid #E6E6E3;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phase:nth-child(4n) {
    border-right: 0;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-phase:nth-last-child(-n+4) {
    border-bottom: 0;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .cw-iso-canvas-wrap {
    height: 250px;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-slack-card {
    height: auto;
    /* Includes the visible callout's 8px bottom margin at 390px. */
    min-height: 1230px;
    display: flex;
    flex-direction: column;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-title,
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-subtitle,
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-text,
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-fields {
    height: auto;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-title {
    min-height: 3lh;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-subtitle {
    min-height: 2lh;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-text {
    min-height: 100px;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-dont-get-up {
    transform: none;
    transition: none;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-dont-get-up:not(.is-slot-hidden) {
    height: auto !important;
    min-height: 112px !important;
    max-height: none !important;
    padding: 5px 10px !important;
    margin: 0 0 8px 0 !important;
    border-width: 0 0 0 3px !important;
    overflow: visible;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-dont-get-up.is-slot-hidden {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-height: 68px;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-field-label,
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-field-val {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-inner-box {
    /* Absorb collapsed callout space below the journey rows. */
    flex: 1;
    height: auto;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table,
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table tbody {
    display: block;
    height: auto;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 6px 0;
    border-bottom: 1px solid #F0F0F1;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table tr:last-child,
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table tr.is-row-hidden {
    border-bottom-color: transparent;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table td {
    width: auto;
    min-width: 0;
    padding: 2px 7px;
    border: 0;
    font-size: 11.5px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table td:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table td:last-child {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 9.4px;
    text-align: right;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-table td:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) .jr-term-box {
    height: auto;
    width: 100%;
    min-width: 0;
    font-size: 11px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    overflow: visible;
  }
  .eve-stage-wrap:is([data-default-scene="cicd"], [data-default-scene="pair"], [data-default-scene="delivery"], [data-default-scene="security"]) [data-jr-term-line] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 3ch;
    text-indent: -3ch;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    vertical-align: top;
  }
}
[data-iso-phase="11"][hidden] {
  display: none !important;
}
.cw-iso-phase:has(+ [data-iso-phase="11"][hidden]) {
  border-right: 0;
}

.cw-iso-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.eve-bottom-bar {
  display: none !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0;
}

.eve-switcher {
  position: relative;
  left: auto;
  bottom: auto;
  width: 204px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 20, 19, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(20, 20, 19, 0.13);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 4;
}

@media (max-width: 560px) {
  .eve-bottom-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .eve-switcher {
    width: 100%;
  }
  .eve-trigger-btn {
    margin: 4px auto 0;
  }
}

.eve-switch-btn {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  padding: 5px 9px;
  min-height: 25px;
  font-family: var(--cw-font-sans);
  font-size: 12.2px;
  font-weight: 500;
  color: #5C5B56;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.eve-switch-btn:hover {
  background: #F6F5F0;
  color: #141413;
}
.eve-switch-btn.is-active {
  color: #141413;
  font-weight: 600;
}
.eve-switch-btn .sw-left {
  display: flex;
  align-items: center;
  gap: 7px;
}
.eve-switch-btn .sw-check {
  opacity: 0;
  font-size: 11.5px;
  color: #141413;
}
.eve-switch-btn.is-active .sw-check {
  opacity: 1;
}

.eve-trigger-btn {
  margin-left: auto;
  appearance: none;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(20, 20, 19, 0.12);
  font-family: var(--cw-font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: #141413;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 11px;
  min-height: 30px;
  border-radius: 8px;
  transition: opacity 0.15s, background 0.15s;
}
.eve-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.72);
}

/* Security and Delivery examples wrap complete keys and commands within the article. */
.sl-measure:has(#sec-tab-1) .dt-pre,
.sl-measure:has(#del-tab-1) .dt-pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sl-measure:has(#del-tab-1) .sl-codebox-links a {
  white-space: nowrap;
}
