/* ============================================================
   CSI Documentation — sidebar docs layout
   Anthropic-docs-inspired structure on the site-wide dark teal
   aesthetic (mirrors scaffolds.php / scf-wrapper).
   ============================================================ */

@font-face {
  font-family: 'SuisseIntl-Medium';
  src: url('../fonts/SuisseIntl-Medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'SuisseIntl-SemiBold';
  src: url('../fonts/SuisseIntl-SemiBold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'WorkSans-SemiBold';
  src: url('../fonts/WorkSans-SemiBold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ============================================================
   GLOBAL WRAPPER — same gradient family as scf-wrapper
   ============================================================ */
body.csi-docs {
  font-family: 'SuisseIntl-Medium', 'SuisseIntl', 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  background: #1a2e38;
  min-height: 100vh;
}

.csi-docs-wrapper {
  background: linear-gradient(180deg,
              rgba(81, 157, 133, 0.22) 0%,
              rgba(45, 74, 86, 0.30) 16%,
              #1a3a3a 34%,
              #194652 66%,
              #1a2e38 100%), #2D4A56;
  color: #fff;
  padding-top: 64px;          /* clears the fixed global navbar */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Navbar on csi-docs follows the global style — see comun.css */

/* ============================================================
   DOCS LAYOUT — sidebar + main content
   ============================================================ */
.csi-docs-layout {
  display: flex;
  align-items: flex-start;
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
}

/* ---- SIDEBAR ---------------------------------------------- */
.csi-sidebar {
  width: 286px;
  flex-shrink: 0;
  position: sticky;
  top: 64px;
  align-self: flex-start;
  height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 30px 14px 80px 26px;
  border-right: 1px solid rgba(98, 202, 177, 0.16);
  -webkit-overflow-scrolling: touch;
}

.csi-sidebar::-webkit-scrollbar { width: 8px; }
.csi-sidebar::-webkit-scrollbar-thumb {
  background: rgba(98, 202, 177, 0.25);
  border-radius: 8px;
}

.csi-sidebar-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.csi-sidebar-brand .brand-mark {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.csi-sidebar-brand .brand-docs {
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #62CAB1;
}
.csi-sidebar-tag {
  display: inline-block;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.64rem;
  color: #62CAB1;
  background: rgba(98, 202, 177, 0.14);
  border: 1px solid rgba(98, 202, 177, 0.35);
  padding: 3px 11px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.csi-nav-group { margin-bottom: 20px; }

.csi-nav-group-title {
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding: 0 10px;
  margin-bottom: 8px;
}

.csi-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  padding: 7px 12px;
  margin: 1px 0;
  font-family: 'SuisseIntl-Medium', sans-serif;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.csi-nav-link:hover {
  color: #fff;
  background: rgba(98, 202, 177, 0.07);
}
.csi-nav-link.active {
  color: #fff;
  background: rgba(98, 202, 177, 0.12);
  border-left-color: #62CAB1;
  font-family: 'SuisseIntl-SemiBold', sans-serif;
}

.csi-nav-link .nav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #62CAB1;
}
.nav-dot.dot-claude { background: #cf5b4a; }
.nav-dot.dot-codex  { background: #7aafdc; }
.nav-dot.dot-cai    { background: #62CAB1; }
.nav-dot.dot-vibe   { background: #e8c77a; }
.nav-dot.dot-gcai   { background: #7dd6b8; }

/* ---- MAIN ------------------------------------------------- */
.csi-main {
  flex: 1;
  min-width: 0;
  padding: clamp(34px, 4vw, 60px) clamp(20px, 5vw, 72px) clamp(48px, 6vw, 96px);
  box-sizing: border-box;
  max-width: 1040px;
}

/* mobile sidebar toggle (hidden on desktop) */
.csi-sidebar-toggle {
  display: none;
  position: sticky;
  top: 64px;
  z-index: 40;
  width: 100%;
  align-items: center;
  gap: 10px;
  background: rgba(13, 27, 36, 0.92);
  backdrop-filter: blur(6px);
  border: none;
  border-bottom: 1px solid rgba(98, 202, 177, 0.22);
  color: #62CAB1;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 20px;
  cursor: pointer;
}
.csi-sidebar-toggle .bars { font-size: 1rem; line-height: 1; }
.csi-sidebar-backdrop { display: none; }

/* ============================================================
   PAGE / PANEL
   ============================================================ */
.doc-panel { display: none; animation: docFade 0.25s ease; }
.doc-panel.active { display: block; }
@keyframes docFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.doc-eyebrow {
  display: inline-block;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #62CAB1;
  background: rgba(98, 202, 177, 0.12);
  border: 1px solid rgba(98, 202, 177, 0.32);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.doc-page-head {
  margin-bottom: 12px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(98, 202, 177, 0.18);
}
.doc-page-head h1 {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 14px;
}
.doc-lead {
  font-family: 'SuisseIntl-Medium', sans-serif;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 720px;
}

/* ============================================================
   HEADINGS / TEXT
   ============================================================ */
.csi-main h2 {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin-top: 52px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(98, 202, 177, 0.22);
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.01em;
}
.csi-main h2 .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(98, 202, 177, 0.12);
  border: 1px solid rgba(98, 202, 177, 0.42);
  color: #62CAB1;
  font-size: 1rem;
  flex-shrink: 0;
}

.csi-main h3 {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
  color: #fff;
  margin-top: 32px;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.csi-main p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'SuisseIntl-Medium', sans-serif;
  line-height: 1.65;
}
.csi-main strong { color: #fff; }

/* Anchor styling scoped to the docs content only — DO NOT cascade
   into the global navbar/footer or their dropdown menus. */
.csi-main a {
  color: #62CAB1;
  border-bottom: 1px dashed rgba(98, 202, 177, 0.55);
  transition: 0.2s ease;
  text-decoration: none;
}
.csi-main a:hover {
  color: #fff;
  border-bottom-color: #fff;
  text-decoration: none;
}

/* ============================================================
   TABLES
   ============================================================ */
.csi-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px 0;
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(98, 202, 177, 0.22);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
.csi-main thead tr { background: rgba(98, 202, 177, 0.12); color: #fff; }
.csi-main thead th {
  padding: 13px 18px;
  text-align: left;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #62CAB1;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(98, 202, 177, 0.3);
}
.csi-main tbody tr { background: transparent; transition: background 0.2s ease; }
.csi-main tbody tr:hover { background: rgba(98, 202, 177, 0.06); }
.csi-main tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  vertical-align: top;
}
.csi-main tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   INLINE CODE & PRE BLOCKS
   ============================================================ */
.csi-main code {
  font-family: 'Courier New', monospace;
  font-size: 0.88em;
  background: rgba(98, 202, 177, 0.14);
  border: 1px solid rgba(98, 202, 177, 0.30);
  border-radius: 4px;
  padding: 1px 7px;
  color: #a6e3d0;
}
.csi-main pre {
  background: rgba(10, 25, 32, 0.65);
  border: 1px solid rgba(98, 202, 177, 0.28);
  border-radius: 12px;
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.2vw, 24px);
  margin: 16px 0 22px;
  overflow-x: auto;
  max-width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  -webkit-overflow-scrolling: touch;
}
.csi-main pre code {
  background: none;
  border: none;
  padding: 0;
  color: #b3eed6;
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  line-height: 1.65;
  white-space: pre;
}

/* ============================================================
   TERMINAL BLOCKS
   ============================================================ */
.csi-main .terminal-block { margin: 16px 0 22px; }
.csi-main .terminal-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 27, 36, 0.9);
  border: 1px solid rgba(98, 202, 177, 0.28);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 8px 18px;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: #62CAB1;
  letter-spacing: 0.06em;
}
.csi-main .terminal-label .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.csi-main .dot-red    { background: #fc5c5c; }
.csi-main .dot-yellow { background: #fdbc40; }
.csi-main .dot-green  { background: #33c748; }
.csi-main .terminal-block pre { border-radius: 0 12px 12px 12px; margin-top: 0; }

/* ============================================================
   CALLOUT BOXES
   ============================================================ */
.csi-main .callout {
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.95rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: 'SuisseIntl-Medium', sans-serif;
  line-height: 1.55;
  border: 1px solid rgba(98, 202, 177, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.csi-main .callout-info {
  background: rgba(74, 138, 200, 0.10);
  border-left: 4px solid #7aafdc;
  color: rgba(255, 255, 255, 0.92);
}
.csi-main .callout-tip {
  background: rgba(98, 202, 177, 0.10);
  border-left: 4px solid #62CAB1;
  color: rgba(255, 255, 255, 0.92);
}
.csi-main .callout-warn {
  background: rgba(232, 199, 122, 0.10);
  border-left: 4px solid #e8c77a;
  color: rgba(255, 255, 255, 0.92);
}
.csi-main .callout-info  .callout-icon { color: #7aafdc; }
.csi-main .callout-tip   .callout-icon { color: #62CAB1; }
.csi-main .callout-warn  .callout-icon { color: #e8c77a; }
.csi-main .callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.csi-main .callout code {
  background: rgba(98, 202, 177, 0.18);
  border-color: rgba(98, 202, 177, 0.35);
}

/* ============================================================
   STEP LIST
   ============================================================ */
.csi-main .steps {
  margin: 18px 0 26px;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.csi-main .steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(37, 68, 80, 0.5);
  border: 1px solid rgba(98, 202, 177, 0.28);
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.csi-main .steps li:hover {
  border-color: rgba(98, 202, 177, 0.55);
  transform: translateY(-2px);
}
.csi-main .step-num {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(98, 202, 177, 0.15);
  border: 1px solid rgba(98, 202, 177, 0.5);
  color: #62CAB1;
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
  flex-shrink: 0;
}
.csi-main .step-body { flex: 1; }
.csi-main .step-title {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  font-size: 0.98rem;
}
.csi-main .step-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ============================================================
   TERMINAL GRID (3-terminal session)
   ============================================================ */
.csi-main .terminal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin: 18px 0 28px;
}

/* ============================================================
   CARD GRID (overview landing tiles)
   ============================================================ */
.csi-main .doc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 26px 0 8px;
}
.csi-main .doc-card {
  display: block;
  background: rgba(37, 68, 80, 0.5);
  border: 1px solid rgba(98, 202, 177, 0.26);
  border-radius: 16px;
  padding: 22px 22px 20px;
  text-decoration: none;
  border-bottom: 1px solid rgba(98, 202, 177, 0.26); /* override anchor dashed */
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.csi-main .doc-card:hover {
  border-color: rgba(98, 202, 177, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}
.csi-main .doc-card-ico {
  font-size: 1.2rem;
  color: #62CAB1;
  margin-bottom: 12px;
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(98, 202, 177, 0.12);
  border: 1px solid rgba(98, 202, 177, 0.4);
}
.csi-main .doc-card-title {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
}
.csi-main .doc-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* ============================================================
   SCAFFOLD ONE-PAGER HERO
   ============================================================ */
.csi-main .scaffold-hero {
  border-radius: 18px;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 34px);
  margin: 6px 0 12px;
  background: rgba(37, 68, 80, 0.5);
  border: 1px solid rgba(98, 202, 177, 0.32);
  border-left: 5px solid #62CAB1;
}
.scaffold-hero.accent-claude { border-left-color: #cf5b4a; }
.scaffold-hero.accent-codex  { border-left-color: #7aafdc; }
.scaffold-hero.accent-cai    { border-left-color: #62CAB1; }
.scaffold-hero.accent-vibe   { border-left-color: #e8c77a; }

.scaffold-hero-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.scaffold-hero-name {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #fff;
  letter-spacing: -0.01em;
}
.scaffold-pill {
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.pill-claude { background: rgba(207, 91, 74, 0.16); color: #f7b8ad; border: 1px solid rgba(207, 91, 74, 0.5); }
.pill-codex  { background: rgba(122, 175, 220, 0.16); color: #b3d1ec; border: 1px solid rgba(122, 175, 220, 0.5); }
.pill-cai    { background: rgba(98, 202, 177, 0.16); color: #a6e3d0; border: 1px solid rgba(98, 202, 177, 0.5); }
.pill-vibe   { background: rgba(232, 199, 122, 0.16); color: #f0d8a0; border: 1px solid rgba(232, 199, 122, 0.5); }
.pill-default { background: rgba(98, 202, 177, 0.16); color: #a6e3d0; border: 1px solid rgba(98, 202, 177, 0.5); }

.scaffold-hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.scaffold-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 20px;
}
.scaffold-meta-item .label {
  display: block;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}
.scaffold-meta-item .value {
  font-family: 'Courier New', monospace;
  font-size: 0.92rem;
  color: #b3eed6;
  background: rgba(10, 25, 32, 0.55);
  border: 1px solid rgba(98, 202, 177, 0.25);
  border-radius: 6px;
  padding: 4px 10px;
}
.scaffold-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scaffold-docs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #62CAB1;
  color: #0d1b24 !important;
  border: 2px solid #62CAB1 !important;
  border-radius: 999px;
  padding: 9px 20px;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: 0.2s ease;
}
.scaffold-docs-btn:hover {
  background: transparent;
  color: #62CAB1 !important;
}
.scaffold-docs-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #62CAB1 !important;
  border: 2px solid rgba(98, 202, 177, 0.45) !important;
  border-radius: 999px;
  padding: 9px 20px;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: 0.2s ease;
}
.scaffold-docs-link:hover { border-color: #62CAB1 !important; color: #fff !important; }

/* compact unordered "what you get" feature list inside one-pagers */
.csi-main .feature-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 24px;
}
.csi-main .feature-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  line-height: 1.5;
}
.csi-main .feature-list li::before {
  content: "\2713"; /* ✓ */
  font-weight: 700;
  position: absolute;
  left: 2px; top: 6px;
  color: #62CAB1;
}

/* ============================================================
   SUPPORT BOX
   ============================================================ */
.csi-main .support-box {
  background: linear-gradient(135deg, rgba(98, 202, 177, 0.16), rgba(98, 202, 177, 0.04));
  border: 1px solid rgba(98, 202, 177, 0.45);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px);
  margin-top: 56px;
  color: #fff;
}
.csi-main .support-box h2 {
  color: #fff;
  border-bottom: 1px solid rgba(98, 202, 177, 0.30);
  margin-top: 0;
}
.csi-main .support-box h2 .icon {
  background: rgba(98, 202, 177, 0.20);
  border-color: rgba(98, 202, 177, 0.6);
  color: #62CAB1;
}
.csi-main .support-box p { color: rgba(255, 255, 255, 0.85); margin-bottom: 14px; }
.csi-main .support-email {
  display: inline-block;
  background: transparent;
  border: 3px solid #62CAB1 !important;
  border-radius: 25px;
  padding: 11px 24px;
  color: #62CAB1 !important;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 6px;
  transition: 0.25s ease;
}
.csi-main .support-email:hover { background: #62CAB1; color: #fff !important; }

/* ============================================================
   EXAMPLE CARDS
   ============================================================ */
.csi-main .category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.csi-main .category-header:first-child { margin-top: 0; }
.csi-main .category-header > span:last-child {
  color: rgba(255, 255, 255, 0.62) !important;
  font-family: 'SuisseIntl-Medium', sans-serif;
  font-size: 0.92rem !important;
}
.csi-main .category-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.csi-main .badge-red   { background: rgba(207, 91, 74, 0.16); color: #f7b8ad; border: 1px solid rgba(207, 91, 74, 0.5); }
.csi-main .badge-blue  { background: rgba(122, 175, 220, 0.14); color: #b3d1ec; border: 1px solid rgba(122, 175, 220, 0.5); }
.csi-main .badge-dfir  { background: rgba(159, 122, 234, 0.14); color: #d6bcfa; border: 1px solid rgba(159, 122, 234, 0.5); }
.csi-main .badge-rev   { background: rgba(98, 202, 177, 0.14); color: #a6e3d0; border: 1px solid rgba(98, 202, 177, 0.5); }

.csi-main .example-card {
  background: rgba(37, 68, 80, 0.55);
  border: 1px solid rgba(98, 202, 177, 0.28);
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.csi-main .example-card:hover {
  border-color: rgba(98, 202, 177, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

/* Two-/three-column grid for examples on wider screens */
@media (min-width: 1000px) {
  #panel-examples .example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 18px;
    align-items: start;
  }
  /* category headers (and any non-card child) span the full row so cards pack
     cleanly two-up underneath — no empty cells beside a header */
  #panel-examples .example-grid > .category-header { grid-column: 1 / -1; margin-bottom: 0; }
  #panel-examples .example-grid .example-card { margin-bottom: 0; height: 100%; }
}

.csi-main .example-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.csi-main .example-card-header.red-accent  { border-left: 4px solid #cf5b4a; }
.csi-main .example-card-header.blue-accent { border-left: 4px solid #7aafdc; }
.csi-main .example-card-header.dfir-accent { border-left: 4px solid #9f7aea; }
.csi-main .example-card-header.rev-accent  { border-left: 4px solid #62CAB1; }
.csi-main .example-title {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.csi-main .example-tag {
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.csi-main .tag-red  { background: rgba(207, 91, 74, 0.18); color: #f7b8ad; border: 1px solid rgba(207, 91, 74, 0.4); }
.csi-main .tag-blue { background: rgba(122, 175, 220, 0.18); color: #b3d1ec; border: 1px solid rgba(122, 175, 220, 0.4); }
.csi-main .tag-dfir { background: rgba(159, 122, 234, 0.18); color: #d6bcfa; border: 1px solid rgba(159, 122, 234, 0.4); }
.csi-main .tag-rev  { background: rgba(98, 202, 177, 0.18); color: #a6e3d0; border: 1px solid rgba(98, 202, 177, 0.4); }

.csi-main .example-card-body { padding: 16px 22px 20px; }
.csi-main .example-card-body p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 12px;
}
.csi-main .example-card-body pre {
  margin: 0;
  border-radius: 8px;
  background: rgba(10, 25, 32, 0.75);
}
.csi-main .example-card-body pre code { font-size: 0.86rem; }

/* ============================================================
   PROMPT GUIDE
   ============================================================ */
.csi-main .prompt-guide {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(98, 202, 177, 0.28);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  margin-top: 12px;
}
.csi-main .prompt-guide h2 { border-bottom: 1px solid rgba(98, 202, 177, 0.28); margin-top: 0; }
.csi-main .prompt-guide > p {
  color: rgba(255, 255, 255, 0.75) !important;
  margin-bottom: 24px !important;
}
.csi-main .prompt-rule {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.csi-main .prompt-rule:last-child { border-bottom: none; padding-bottom: 0; }
.csi-main .prompt-rule-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(98, 202, 177, 0.15);
  border: 1px solid rgba(98, 202, 177, 0.5);
  color: #62CAB1;
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  line-height: 36px;
  flex-shrink: 0;
}
.csi-main .prompt-rule-body { flex: 1; }
.csi-main .prompt-rule-title {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 5px;
}
.csi-main .prompt-rule-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
  font-family: 'SuisseIntl-Medium', sans-serif;
  line-height: 1.55;
}
.csi-main .prompt-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.csi-main .prompt-bad,
.csi-main .prompt-good {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-family: 'Courier New', monospace;
  line-height: 1.55;
}
.csi-main .prompt-bad {
  background: rgba(207, 91, 74, 0.10);
  border: 1px solid rgba(207, 91, 74, 0.4);
  color: #f7b8ad;
}
.csi-main .prompt-good {
  background: rgba(98, 202, 177, 0.10);
  border: 1px solid rgba(98, 202, 177, 0.4);
  color: #b3eed6;
}
.csi-main .prompt-label {
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.csi-main .label-bad  { color: #f7b8ad; }
.csi-main .label-good { color: #62CAB1; }

/* ============================================================
   SCAFFOLD ROUTING DIAGRAM (ported from scaffolds.php, scoped)
   ============================================================ */
.csi-main .csi-route {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(98, 202, 177, 0.25);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  margin: 24px 0 28px;
}
.csi-main .csi-route-top { display: flex; justify-content: center; margin-bottom: 26px; }
.csi-main .csi-route-wrap {
  background: rgba(98, 202, 177, 0.08);
  border: 1px solid rgba(98, 202, 177, 0.45);
  padding: 14px 24px;
  border-radius: 12px;
  text-align: center;
}
.csi-main .csi-route-wrap code {
  font-family: 'Courier New', monospace;
  color: #62CAB1;
  font-size: 1.05rem;
  display: block;
  font-weight: 700;
  background: none; border: none; padding: 0;
}
.csi-main .csi-route-wrap span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-family: 'Courier New', monospace;
}
.csi-main .csi-route-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.csi-main .csi-route-node {
  padding: 16px 12px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.csi-main .csi-route-node strong {
  display: block;
  color: #fff;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.csi-main .csi-route-node span { color: rgba(255, 255, 255, 0.65); font-size: 0.76rem; }
.csi-main .node-red    { border-color: rgba(207, 91, 74, 0.45);  background: rgba(207, 91, 74, 0.08); }
.csi-main .node-blue   { border-color: rgba(74, 138, 200, 0.45); background: rgba(74, 138, 200, 0.08); }
.csi-main .node-mint   { border-color: rgba(125, 214, 184, 0.5); background: rgba(125, 214, 184, 0.10); }
.csi-main .node-teal   { border-color: rgba(82, 157, 134, 0.5);  background: rgba(82, 157, 134, 0.10); }
.csi-main .node-orange { border-color: rgba(232, 142, 90, 0.4);  background: rgba(232, 142, 90, 0.08); }
.csi-main .csi-route-proxy {
  background: rgba(98, 202, 177, 0.10);
  border: 1px solid rgba(98, 202, 177, 0.5);
  border-radius: 12px;
  padding: 18px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin: 22px 0;
}
.csi-main .csi-route-proxy strong { color: #62CAB1; }
.csi-main .csi-route-proxy code {
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  border: none;
}
.csi-main .csi-route-proxy span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  margin-top: 4px;
}
.csi-main .csi-route-leaf {
  padding: 12px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(98, 202, 177, 0.3);
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
}
.csi-main .csi-route-arrow {
  text-align: center;
  color: rgba(98, 202, 177, 0.6);
  font-size: 1.1rem;
  line-height: 1;
  margin: -6px 0;
}

/* three-up "layer" cards (telemetry defense, etc.) */
.csi-main .layer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0 26px;
}
.csi-main .layer-card {
  background: rgba(37, 68, 80, 0.5);
  border: 1px solid rgba(98, 202, 177, 0.26);
  border-radius: 14px;
  padding: 18px 20px;
}
.csi-main .layer-card .layer-num {
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #62CAB1;
  margin-bottom: 8px;
}
.csi-main .layer-card .layer-title {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.csi-main .layer-card p { font-size: 0.88rem; color: rgba(255,255,255,0.74); margin: 0; }

/* ASCII reference diagrams (brings README art in, on the terminal aesthetic) */
.csi-main .doc-details {
  background: rgba(10, 25, 32, 0.5);
  border: 1px solid rgba(98, 202, 177, 0.24);
  border-radius: 12px;
  margin: 18px 0 24px;
  overflow: hidden;
}
.csi-main .doc-details > summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 20px;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #62CAB1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.csi-main .doc-details > summary::-webkit-details-marker { display: none; }
.csi-main .doc-details > summary::before {
  content: "\25B8";
  transition: transform 0.2s ease;
  display: inline-block;
}
.csi-main .doc-details[open] > summary::before { transform: rotate(90deg); }
.csi-main .doc-details > summary:hover { color: #fff; }
.csi-main .ascii-diagram {
  margin: 0;
  border: none;
  border-top: 1px solid rgba(98, 202, 177, 0.18);
  border-radius: 0;
  box-shadow: none;
  background: rgba(5, 14, 19, 0.6);
  font-size: 0.7rem;
  line-height: 1.35;
}
.csi-main .ascii-diagram code { color: #8fd9c0; white-space: pre; font-size: inherit; }

/* GCAI optimisation loop */
.csi-main .loop-list { counter-reset: loop; list-style: none; padding-left: 0; margin: 18px 0 24px; }
.csi-main .loop-list li {
  position: relative;
  padding: 6px 0 14px 44px;
  border-left: 1px solid rgba(98, 202, 177, 0.25);
  margin-left: 16px;
}
.csi-main .loop-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.csi-main .loop-list li::before {
  counter-increment: loop;
  content: counter(loop);
  position: absolute;
  left: -16px; top: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(98, 202, 177, 0.15);
  border: 1px solid rgba(98, 202, 177, 0.5);
  color: #62CAB1;
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  line-height: 32px;
}
.csi-main .loop-list li strong { color: #fff; }

/* ============================================================
   ENVIRONMENT VARIABLE REFERENCE (definition list)
   ============================================================ */
.csi-main .env-list {
  border: 1px solid rgba(98, 202, 177, 0.22);
  border-radius: 12px;
  overflow: hidden;
  margin: 18px 0 28px;
  background: rgba(255, 255, 255, 0.02);
}
.csi-main .env-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4px 26px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}
.csi-main .env-item:last-child { border-bottom: none; }
.csi-main .env-item:hover { background: rgba(98, 202, 177, 0.05); }
.csi-main .env-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.csi-main .env-key code {
  background: none;
  border: none;
  padding: 0;
  color: #a6e3d0;
  font-size: 0.9rem;
  white-space: nowrap;
}
.csi-main .env-default {
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #62CAB1;
  background: rgba(98, 202, 177, 0.12);
  border: 1px solid rgba(98, 202, 177, 0.3);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}
.csi-main .env-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.55;
  align-self: center;
}
.csi-main .env-desc code {
  font-size: 0.85em;
  padding: 1px 6px;
}
@media (max-width: 720px) {
  .csi-main .env-item { grid-template-columns: 1fr; gap: 8px; }
  .csi-main .env-key { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================================
   USE-CASE CARDS (static summary of suite recordings)
   ============================================================ */
.csi-main .uc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin: 24px 0 8px;
}
.csi-main .uc-card {
  display: flex;
  flex-direction: column;
  background: rgba(37, 68, 80, 0.55);
  border: 1px solid rgba(98, 202, 177, 0.28);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.csi-main .uc-card:hover {
  border-color: rgba(98, 202, 177, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.csi-main .uc-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}
.csi-main .uc-num {
  font-family: 'SuisseIntl-Bold', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #62CAB1;
  flex-shrink: 0;
}
.csi-main .uc-title { font-family: 'SuisseIntl-Bold', sans-serif; font-weight: 700; color: #fff; font-size: 1.02rem; }
.csi-main .uc-card-body { padding: 16px 20px 18px; flex: 1; display: flex; flex-direction: column; }
.csi-main .uc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.csi-main .uc-chip {
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(98, 202, 177, 0.12);
  border: 1px solid rgba(98, 202, 177, 0.35);
  color: #a6e3d0;
}
.csi-main .uc-chip.uc-chip--target { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.7); text-transform: none; letter-spacing: 0; font-family: 'Courier New', monospace; }
.csi-main .uc-desc { font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); line-height: 1.55; margin-bottom: 12px; }
.csi-main .uc-value {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(98, 202, 177, 0.08);
  border-left: 3px solid #62CAB1;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.csi-main .uc-link {
  align-self: flex-start;
  margin-top: auto;
  font-family: 'WorkSans-SemiBold', sans-serif;
  font-size: 0.82rem;
  color: #62CAB1 !important;
  border-bottom: none !important;
}
.csi-main .uc-link:hover { color: #fff !important; }

@media (max-width: 700px) {
  .csi-main .csi-route-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .csi-main .csi-route-row { grid-template-columns: 1fr; }
}

/* ============================================================
   OVERVIEW DEMO CAST (asciinema)
   ============================================================ */
.csi-main .csi-demo {
  border: 1px solid rgba(98, 202, 177, 0.30);
  border-radius: 14px;
  overflow: hidden;
  background: #0a1920;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  margin: 6px 0 32px;
}
.csi-main .csi-demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(13, 27, 36, 0.96);
  border-bottom: 1px solid rgba(98, 202, 177, 0.22);
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
}
.csi-main .csi-demo-bar .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.csi-main .csi-demo-label { color: #62CAB1; letter-spacing: 0.05em; margin-left: 6px; }
.csi-main .csi-demo-rec {
  margin-left: auto;
  color: #f7b8ad;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(207, 91, 74, 0.16);
  border: 1px solid rgba(207, 91, 74, 0.4);
  border-radius: 999px;
  padding: 2px 11px;
  font-size: 0.66rem;
}
.csi-main .csi-demo-screen {
  padding: 12px 14px;
  background: #0a1920;
  min-height: 140px;
  cursor: pointer;
}
.csi-main .csi-demo-screen .asciinema-player-wrapper,
.csi-main .csi-demo-screen .asciinema-player { background: transparent !important; }
.csi-main .csi-demo-screen .ap-overlay-start .ap-play-button { color: #62CAB1; }

/* asciinema-player custom theme — matches the rest of the site */
.asciinema-theme-alias {
  --term-color-foreground: #e0f1ea;
  --term-color-background: transparent;
  --term-color-0:  #122533;
  --term-color-1:  #cf5b4a;
  --term-color-2:  #62CAB1;
  --term-color-3:  #e8c77a;
  --term-color-4:  #7aafdc;
  --term-color-5:  #c8b4e8;
  --term-color-6:  #7dd6b8;
  --term-color-7:  #e0f1ea;
  --term-color-8:  #2a3f4a;
  --term-color-9:  #e07a6b;
  --term-color-10: #7dd6b8;
  --term-color-11: #f0d8a0;
  --term-color-12: #b3d1ec;
  --term-color-13: #d4c4ec;
  --term-color-14: #a6e3d0;
  --term-color-15: #ffffff;
}

/* ============================================================
   LIST STYLES (unordered, default)
   ============================================================ */
.csi-main ul:not(.steps):not(.feature-list) {
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.85);
}
.csi-main ul:not(.steps):not(.feature-list) li { margin-bottom: 6px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .csi-main .terminal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  /* sidebar becomes an off-canvas drawer */
  .csi-sidebar-toggle { display: flex; }
  .csi-docs-wrapper { padding-top: 56px; }
  .csi-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    max-width: 84vw;
    background: #14272f;
    border-right: 1px solid rgba(98, 202, 177, 0.25);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    z-index: 1200;
    padding-top: 26px;
  }
  .csi-sidebar.open { transform: translateX(0); }
  .csi-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(5, 14, 19, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 1100;
  }
  .csi-sidebar-backdrop.show { opacity: 1; pointer-events: auto; }
  .csi-main { max-width: 100%; padding-top: 28px; }
}

@media (max-width: 768px) {
  .csi-main h2 { font-size: 1.4rem; flex-wrap: wrap; }
  .csi-main h3 { font-size: 1rem; }
  .csi-main .example-card-header { flex-wrap: wrap; gap: 8px; }
  .csi-main .category-header { flex-wrap: wrap; }
  .csi-main .steps { grid-template-columns: 1fr; }
  .csi-main .callout { padding: 12px 14px; font-size: 0.9rem; }
  #panel-examples .example-grid { display: block; }
  #panel-examples .example-grid .example-card { margin-bottom: 18px; height: auto; }
}

@media (max-width: 480px) {
  .csi-main { font-size: 0.95rem; }
  .doc-page-head h1 { font-size: 2rem; }
  .csi-main h2 { font-size: 1.25rem; margin-top: 36px; }
  .csi-main h2 .icon { width: 30px; height: 30px; font-size: 0.85rem; }
  .csi-main pre { padding: 12px 14px; }
  .csi-main pre code { font-size: 0.8rem; }
  .csi-main .example-card-header { padding: 12px 16px; }
  .csi-main .example-card-body { padding: 14px 16px 16px; }
  .csi-main .support-email { display: block; text-align: center; word-break: break-all; }
  .csi-main .prompt-compare { grid-template-columns: 1fr; }
  .csi-main .prompt-rule { gap: 12px; }
  .csi-main .prompt-rule-num { width: 32px; height: 32px; line-height: 32px; font-size: 0.95rem; }
  .scaffold-meta { gap: 14px 20px; }
}
