:root{
    --primary-color: #6667ab;
    --accent-color: #3681c5;
    --text-color: #000000;
    --body-color: #edf2f9;
    --border-color: #AAAAAA;
	--code-preview-bg-color: #FEFEFE;
	--font-family: 'Open Sans', sans-serif;
}
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}


html {
	scroll-behavior: smooth;
  }

body {
    font-family: var(--font-family);
    font-size: 16px;
	text-rendering: optimizeLegibility;
}

article, aside, audio,
footer, header, nav, section, video {
	display: block;
}


a.skip-main {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 1em;
	background-color: black;
	color: white;
	opacity: 0;
}

.navbar-brand sup{
	color: var(--primary-color);
	font-weight: bold;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link{
	color: var(--primary-color);
	font-weight: bold;
}
.navbar .dropdown-menu{
	border-color: #e2e8f0;
	border-radius: 12px;
	padding: 0.4rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.navbar .dropdown-item{
	border-radius: 8px;
	font-size: 0.95rem;
	padding: 0.45rem 0.85rem;
}
.navbar .dropdown-item.active, .navbar .dropdown-item:active{
	background: #eef2ff;
	color: var(--primary-color);
	font-weight: 600;
}
h1, h2, h3, h4, h5, h6{
	padding-bottom: 0.5em;
}
h1{
	color: var(--primary-color);
    font-weight: bold;
    text-align: center;
}
h2 {
	color: var(--primary-color);
}
h3 {
	color: var(--accent-color);
	font-size: 1.5em;
}

ul{
	list-style-type: circle;
}


div.code-toolbar>.toolbar>.toolbar-item>a, div.code-toolbar>.toolbar>.toolbar-item>button, div.code-toolbar>.toolbar>.toolbar-item>span{
	color: var(--primary-color);
	margin-right: 24px;
}
.code-toolbar{
	margin: 1em 0 2em 0;
}
@media screen and (max-width: 769px) {
	.code-toolbar{
		margin: 1em 1em 2em 1em;
	}
}

ul.stylish{
	list-style-type: circle;
}

.code-preview, .cp{
	background: var(--code-preview-bg-color);
	border: 1px solid var(--border-color);
	padding: 1em;
	border-radius: 4px;
	margin-bottom: 1em;
}

code > a {
    color: inherit;
}

article img {
    max-width: 100%;
    height: auto;
}

.privacy-banner {
	position: fixed;
	bottom: 1rem;
	left: 1rem;
	max-width: calc(100% - 2rem);
	background-color: #0f172a;
	color: #e2e8f0;
	font-size: 0.85rem;
	border-radius: 12px;
	padding: 0.5rem 0.5rem 0.5rem 0.9rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
	z-index: 1000;
}
.privacy-banner p {
	display: inline;
	margin: 0 0.75rem 0 0;
}
.privacy-banner .btn {
	font-size: 0.8rem;
	padding: 0.15rem 0.75rem;
	border-radius: 999px;
}
details {
    box-shadow: 0 0px 25px -5px rgb(0 0 0 / 10%), 0 10px 10px -5px rgb(0 0 0 / 4%);
    width: 100%;
    background: #ffffff;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    margin: 2em 1em;
}
.make-list {
    columns: 240px;
}

/* ===== Homepage Redesign ===== */
.hero-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  border-radius: 24px;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
}

.hero-badge {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 500;
}

.hero-section h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0f172a;
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-icon.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.category-icon.teal {
  background: #e0f2fe;
  color: #0891b2;
}

.category-icon.orange {
  background: #fff7ed;
  color: #ea580c;
}

.category-icon.green {
  background: #ecfdf5;
  color: #059669;
}

.category-icon.amber {
  background: #fffbeb;
  color: #b45309;
}

.category-icon.pink {
  background: #fdf2f8;
  color: #db2777;
}

.category-icon.indigo {
  background: #eef2ff;
  color: #4f46e5;
}

.category-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}

.category-icon.rose {
  background: #fff1f2;
  color: #e11d48;
}

.category-icon.cyan {
  background: #ecfeff;
  color: #0e7490;
}

.category-section h2,
.category-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  padding-bottom: 0;
}

.category-icon span {
  font-size: 1.4rem;
  line-height: 1;
}

.category-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef1f6;
}

/* ===== Project tiles ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.75rem;
}

.project-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.project-tile-icon {
  flex-shrink: 0;
  font-size: 1.5em;
  line-height: 1.2;
}

.project-tile-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.project-tile-desc {
  font-size: 0.78rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.4;
  white-space: normal;
}

.project-tile:hover .project-tile-desc {
  color: #64748b;
}

.project-tile:hover {
  border-color: #c7d2fe;
  background: #f8faff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
  color: #4f46e5;
}

.project-tile-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-tile-arrow {
  flex-shrink: 0;
  align-self: center;
  color: #cbd5e1;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.project-tile:hover .project-tile-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #4f46e5;
}

/* ===== Project search and filter ===== */
.project-filter {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-search {
  max-width: 480px;
  margin: 0 auto;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
}

.project-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.project-chip {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.project-chip:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.project-chip.is-active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.project-filter-status {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  min-height: 1.2em;
}

.project-empty {
  text-align: center;
  color: #64748b;
  padding: 2rem 0;
  margin: 0;
}

/* Hidden items and cards must drop out of the grid, not leave gaps. */
.tool-card[hidden],
.tool-item[hidden] {
  display: none;
}

/* ===== Tool directory ===== */
/* One full-width row per category; its items flow into columns inside. */
.tool-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.tool-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 1.25rem;
}

.tool-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #eef1f6;
}

.tool-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  padding-bottom: 0;
}

.tool-card-count {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0.1rem 0 0;
}

.tool-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
}

.tool-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 0.15s ease;
}

.tool-item:hover {
  background: #f8fafc;
}

.tool-item > .tool-item-icon {
  margin-top: 0.1rem;
}

.tool-item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Until a real logo exists, the category emoji stands in, faded back so the
   name stays the thing you read. */
span.tool-item-icon.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.28;
}

.tool-item-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tool names link to their own wiki page; keep the list look but make the
   hover state obvious. */
a.tool-item-name {
  color: var(--text-color);
  text-decoration: none;
}

a.tool-item-name:hover {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Name over a one-line description, so each project explains itself. */
.tool-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tool-item-desc {
  font-size: 0.8rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.35;
}

/* Projects without a wiki page go to their official site; mark the jump. */
a.tool-item-name.is-external::after {
  content: " \2197";
  font-size: 0.75em;
  color: #94a3b8;
}

/* ---------- Tool wiki pages (/tool/{slug}) ---------- */
.tool-category-badge a {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.tool-hero-icon {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tool-facts .table th {
  font-size: 0.9rem;
}

.tool-facts .table td {
  font-size: 0.95rem;
}

.tool-section h2 {
  font-size: 1.4rem;
  margin-top: 0.5rem;
}

.tool-resources ul li {
  margin-bottom: 0.35rem;
}

@media (max-width: 1199.98px) {
  .tool-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .tool-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .tool-cards {
    gap: 1rem;
  }
  .tool-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}

.tutorial-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.2s ease;
  background: #fff;
  height: 100%;
}

.tutorial-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.tutorial-card .card-body {
  padding: 1.5rem;
}

.tutorial-card .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

.tutorial-card .card-text {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.difficulty-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  display: inline-block;
}

.difficulty-badge.beginner {
  background: #dcfce7;
  color: #16a34a;
}

.difficulty-badge.intermediate {
  background: #fef3c7;
  color: #d97706;
}

.difficulty-badge.advanced {
  background: #fce7f3;
  color: #db2777;
}

.view-all-btn {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s ease;
}

.view-all-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.category-subtitle {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.125rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 1.5rem;
  }
  .hero-section h1 {
    font-size: 1.875rem;
  }
  .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.6rem;
  }
  .project-tile {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
  }
  .tool-card {
    padding: 1rem;
  }
  .tool-item {
    font-size: 0.9rem;
  }
}

/* ===== Step-by-step builder ===== */
.builder {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  padding: 2rem;
  margin-bottom: 3.5rem;
  scroll-margin-top: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

/* Progress rail */
.builder-rail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid #eef1f6;
  overflow-x: auto;
}

.rail-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 0;
  min-width: 0;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.rail-step + .rail-step::before {
  content: "";
  flex: 1 1 auto;
  min-width: 0.75rem;
  height: 2px;
  background: #eef1f6;
  border-radius: 2px;
}

.rail-step.is-done + .rail-step::before,
.rail-step.is-active + .rail-step::before {
  background: #c7d2fe;
}

.rail-dot {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 0.8rem;
}

.rail-step.is-active .rail-dot {
  background: #4f46e5;
  color: #fff;
}

.rail-step.is-done .rail-dot {
  background: #e0e7ff;
  color: #4f46e5;
}

.rail-step.is-active,
.rail-step.is-done {
  color: #0f172a;
}

/* Chosen-so-far chips */
.builder-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.crumb {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 50px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.crumb:hover {
  border-color: #c7d2fe;
  background: #f5f7ff;
  color: #4f46e5;
}

/* Step copy */
.step-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f46e5;
  margin-bottom: 0.4rem;
}

.step-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  padding-bottom: 0.35rem;
  outline: none;
}

.step-help {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.step-aside {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.step-aside a {
  color: #4f46e5;
}

/* Option buttons */
.opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
}

.opt-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.opt {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  text-align: left;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.opt:hover,
.opt:focus-visible {
  border-color: #c7d2fe;
  background: #f8faff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.opt-icon {
  font-size: 1.4rem;
  line-height: 1.2;
}

.opt-lg .opt-icon {
  font-size: 1.75rem;
}

.opt-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.opt-name {
  font-weight: 700;
  font-size: 0.98rem;
}

.opt-desc {
  font-size: 0.82rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.45;
}

.opt-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
}

/* Stack cards carry their own resource links, so the pick target is nested */
.opt-stack {
  display: flex;
  flex-direction: column;
  padding: 0;
  cursor: default;
}

.opt-stack .opt-stack-pick {
  flex: 1 1 auto;
}

.opt-stack:hover {
  transform: none;
  box-shadow: none;
  background: #fff;
  border-color: #e2e8f0;
}

.opt-stack-pick {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem 0.75rem;
  border: 0;
  border-radius: 14px 14px 0 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.opt-stack:hover .opt-stack-pick,
.opt-stack-pick:focus-visible {
  background: #f8faff;
  outline: none;
}

.opt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0.6rem 1.1rem 0.85rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
}

.opt-links a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}

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

.opt-version {
  color: #64748b !important;
  font-weight: 500 !important;
}

/* Filter box on the project-type step */
.opt-filter {
  display: block;
  margin-bottom: 1rem;
}

.opt-filter input {
  width: 100%;
  max-width: 340px;
  padding: 0.6rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #0f172a;
}

.opt-filter input:focus {
  outline: none;
  border-color: #c7d2fe;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.opt-empty {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Final plan */
.plan-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #4f46e5 0%, #6667ab 100%);
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.plan-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.25);
}

.plan-cta-icon {
  font-size: 1.9rem;
}

.plan-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.plan-cta-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.plan-cta-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.plan-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.plan-group-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #eef1f6;
}

.plan-num {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.plan-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.plan-link:hover {
  background: #f8faff;
}

.plan-link-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #4f46e5;
}

.plan-link-note {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

/* Back / start over */
.builder-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eef1f6;
}

.builder-btn {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 0.5rem 1.1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.builder-btn:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}

.builder-btn-ghost {
  border-color: transparent;
  color: #94a3b8;
}

.section-divider {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  scroll-margin-top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .builder {
    padding: 1.25rem;
    border-radius: 18px;
  }
  .rail-label {
    display: none;
  }
  .rail-step {
    flex: 0 0 auto;
  }
  .rail-step + .rail-step::before {
    min-width: 1.5rem;
  }
  .step-title {
    font-size: 1.4rem;
  }
  .opt-grid,
  .opt-grid-wide {
    grid-template-columns: 1fr;
  }
  .plan-cta {
    padding: 1rem;
    gap: 0.75rem;
  }
  .plan-cta-title {
    font-size: 1rem;
  }
}
/* Vibe coding page: project cards grouped by section */
.vibe-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.vibe-jump a {
  padding: 0.35rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.vibe-jump a:hover { background: #f8fafc; }
.vibe-count { font-size: 0.8rem; font-weight: 500; color: #94a3b8; vertical-align: middle; }
.vibe-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}
.vibe-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.vibe-card:hover { border-color: #cbd5e1; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06); }
.vibe-card-icon { flex-shrink: 0; font-size: 1.5rem; line-height: 1.2; }
.vibe-card-text { display: flex; flex-direction: column; min-width: 0; }
.vibe-card-link { font-weight: 600; color: #0f172a; text-decoration: none; }
/* Stretch the link over the whole card so the entire card is clickable */
.vibe-card-link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.vibe-card-link:hover { color: #2563eb; }
.vibe-card-desc { font-size: 0.85rem; color: #64748b; margin-top: 0.1rem; }

/* ===== Make Articles: Vibe Coding Section ===== */
.vibe-guide {
  margin: 1.25rem 0 2.5rem;
  color: #334155;
}

.vibe-guide h2,
.vibe-guide h3,
.vibe-guide h4 {
  color: #0f172a;
  padding-bottom: 0;
}

.vibe-guide code {
  font-size: 0.85em;
  color: #4f46e5;
  background: #eef2ff;
  padding: 2px 6px;
  border-radius: 5px;
}

.vibe-guide pre code {
  color: inherit;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

/* Hero banner */
.vibe-hero {
  background: linear-gradient(135deg, #f8f9ff 0%, #eef4ff 55%, #ecfdf5 100%);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.vibe-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.vibe-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.vibe-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 0.75rem;
}

.vibe-gradient-text {
  background: linear-gradient(135deg, #059669 0%, #2563eb 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vibe-hero-lead {
  font-size: 1.05rem;
  color: #475569;
  max-width: 640px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.vibe-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.vibe-nav-pills a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.vibe-nav-pills a:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}

.vibe-nav-pills a.is-cta {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

.vibe-nav-pills a.is-cta:hover {
  background: #4338ca;
  border-color: #4338ca;
  color: #fff;
}

.vibe-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.vibe-stat-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.vibe-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
}

.vibe-stat-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Panels & Sections */
.vibe-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  scroll-margin-top: 1.25rem;
}

.vibe-panel.is-highlighted {
  border-color: #c7d2fe;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.07);
}

.vibe-section-block {
  margin-bottom: 2rem;
  scroll-margin-top: 1.25rem;
}

.vibe-sec-header {
  margin-bottom: 1.1rem;
}

.vibe-sec-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #4f46e5;
  margin-bottom: 0.25rem;
}

.vibe-sec-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vibe-sec-sub {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}

/* Mindset compare cards */
.vibe-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.vibe-compare-card {
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  border: 1px solid #e2e8f0;
}

.vibe-compare-card.is-old {
  background: #fff1f2;
  border-color: #fecdd3;
}

.vibe-compare-card.is-new {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.vibe-compare-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.vibe-compare-card.is-old h3 {
  color: #be123c;
}

.vibe-compare-card.is-new h3 {
  color: #047857;
}

.vibe-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: #334155;
}

.vibe-compare-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.vibe-compare-list li:last-child {
  margin-bottom: 0;
}

.vibe-compare-list li::before {
  content: "•";
  position: absolute;
  left: 0.15rem;
  font-weight: 700;
}

.vibe-compare-card.is-old .vibe-compare-list li::before {
  color: #e11d48;
}

.vibe-compare-card.is-new .vibe-compare-list li::before {
  color: #059669;
}

/* 4-Step Blueprint */
.vibe-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.vibe-step-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.vibe-step-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.vibe-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.vibe-step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
}

.vibe-step-badge.green { background: #ecfdf5; color: #059669; }
.vibe-step-badge.cyan { background: #ecfeff; color: #0891b2; }
.vibe-step-badge.purple { background: #f3e8ff; color: #7c3aed; }
.vibe-step-badge.amber { background: #fffbeb; color: #b45309; }

.vibe-step-icon {
  font-size: 1.25rem;
}

.vibe-step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.45rem;
}

.vibe-step-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 0.9rem;
}

.vibe-step-tip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
}

.vibe-step-tip strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

/* Interactive Prompt Configurator */
.vibe-config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 1.5rem;
  align-items: stretch;
}

.vibe-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vibe-control-group label.vibe-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin-bottom: 0.4rem;
}

.vibe-select {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 0.875rem;
  color: #0f172a;
  font-family: inherit;
}

.vibe-select:focus {
  outline: none;
  border-color: #4f46e5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.vibe-input,
.vibe-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  line-height: 1.45;
  color: #0f172a;
  font-family: inherit;
}

.vibe-textarea {
  resize: vertical;
  min-height: 76px;
}

.vibe-input:focus,
.vibe-textarea:focus {
  outline: none;
  border-color: #4f46e5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.vibe-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  color: #64748b;
}

.vibe-checks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vibe-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #334155;
  cursor: pointer;
  line-height: 1.4;
}

.vibe-check-item input[type="checkbox"] {
  margin-top: 0.18rem;
  width: 16px;
  height: 16px;
  accent-color: #4f46e5;
  cursor: pointer;
  flex-shrink: 0;
}

.vibe-output-box {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #1e293b;
}

.vibe-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #1e293b;
}

.vibe-output-status {
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.vibe-copy-btn {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vibe-copy-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.vibe-copy-btn.is-primary {
  background: #10b981;
  border-color: #10b981;
  color: #052e16;
}

.vibe-copy-btn.is-primary:hover {
  background: #34d399;
  border-color: #34d399;
}

.vibe-prompt-pre {
  margin: 0;
  padding: 0.85rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid #1e293b;
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #e2e8f0;
  white-space: pre-wrap;
  max-height: 300px;
  overflow-y: auto;
}

.vibe-output-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid #1e293b;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Essential Features & Key Elements */
.vibe-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.vibe-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.vibe-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef2ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.vibe-feature-item h3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.vibe-feature-item p {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.vibe-ux-bar {
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  font-size: 0.85rem;
  color: #065f46;
}

.vibe-ux-bar strong {
  color: #047857;
}

/* Code Template Window */
.vibe-code-window {
  border: 1px solid #1e293b;
  border-radius: 16px;
  background: #0f172a;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.vibe-code-topbar {
  background: #1e293b;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.vibe-code-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vibe-code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.vibe-code-dot.red { background: #f43f5e; }
.vibe-code-dot.yellow { background: #eab308; }
.vibe-code-dot.green { background: #10b981; }

.vibe-code-body {
  margin: 0;
  padding: 1.15rem 1.25rem;
  max-height: 440px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #e2e8f0;
}

/* Debugging 3-column grid */
.vibe-debug-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.vibe-debug-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem;
}

.vibe-debug-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vibe-debug-card p {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.vibe-debug-snippet {
  display: block;
  margin-top: 0.5rem;
  padding: 0.45rem 0.6rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  color: #4f46e5;
}

/* Prompt Vault (<details> exclusive accordion) */
.vibe-vault-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vibe-guide details.vibe-vault-item {
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.vibe-guide details.vibe-vault-item[open] {
  border-color: #c7d2fe;
}

.vibe-guide details.vibe-vault-item > summary {
  list-style: none;
  padding: 0.95rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.vibe-guide details.vibe-vault-item > summary::-webkit-details-marker {
  display: none;
}

.vibe-guide details.vibe-vault-item > summary:hover {
  background: #f8fafc;
}

.vibe-guide details.vibe-vault-item > summary::after {
  content: "▾";
  font-size: 0.9rem;
  color: #64748b;
  transition: transform 0.2s ease;
}

.vibe-guide details.vibe-vault-item[open] > summary::after {
  transform: rotate(180deg);
  color: #4f46e5;
}

.vibe-vault-body {
  padding: 0.9rem 1.2rem 1.1rem;
  border-top: 1px solid #eef1f6;
  background: #f8fafc;
}

.vibe-vault-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

.vibe-vault-prompt {
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  color: #1e293b;
  line-height: 1.55;
}

/* Toast notification */
.vibe-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  background: #0f172a;
  color: #fff;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.vibe-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .vibe-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vibe-config-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vibe-debug-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .vibe-hero {
    padding: 1.75rem 1.25rem;
  }
  .vibe-hero-title {
    font-size: 1.55rem;
  }
  .vibe-compare-grid,
  .vibe-steps-grid,
  .vibe-features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vibe-panel {
    padding: 1.25rem;
  }
}

/* ===== Changelog timeline ===== */
.cl-timeline,
.cl-entries {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cl-timeline {
  position: relative;
  padding-left: 2rem;
}

.cl-timeline::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.5rem;
  left: 0.55rem;
  width: 2px;
  background: linear-gradient(to bottom, #c7d2fe, #e2e8f0 85%, transparent);
  border-radius: 2px;
}

.cl-day + .cl-day {
  margin-top: 2rem;
}

.cl-day-heading {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

/* Large ring marking the start of each day */
.cl-day-heading::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #4f46e5;
  box-shadow: 0 0 0 4px var(--body-color, #edf2f9);
}


.cl-day-count {
  margin-left: auto;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.75rem;
  font-weight: 600;
}

.cl-entries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.6rem;
}

.cl-entry {
  position: relative;
}

.cl-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cl-card:hover,
.cl-card:focus-visible {
  border-color: #c7d2fe;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
  color: #4f46e5;
}

.cl-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: hsl(var(--hue, 240) 70% 94%);
  color: hsl(var(--hue, 240) 55% 35%);
  font-weight: 700;
  font-size: 1rem;
}

.cl-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cl-card-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.cl-card-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
}

.cl-version {
  flex-shrink: 0;
  padding: 0.05rem 0.45rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
}

.cl-card:hover .cl-version {
  background: #eef2ff;
  color: #4f46e5;
}

.cl-card-meta {
  font-size: 0.78rem;
  color: #64748b;
}

.cl-card-arrow {
  color: #cbd5e1;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.cl-card:hover .cl-card-arrow,
.cl-card:focus-visible .cl-card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #4f46e5;
}

@media (max-width: 576px) {
  .cl-timeline {
    padding-left: 1.6rem;
  }
  .cl-timeline::before {
    left: 0.45rem;
  }
  .cl-day-heading::before {
    left: -1.6rem;
    width: 1rem;
    height: 1rem;
  }
  .cl-entries {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-card,
  .cl-card-arrow {
    transition: none;
  }
  .cl-card:hover,
  .cl-card:focus-visible {
    transform: none;
  }
}
