/*
 * carot theme — PostCard, TocBox, ProseStyles, EmptyState.
 * Sections PostCard, TocBox, ProseStyles, EmptyState of docs/design-system/components/bundle.css.
 * Generated by scripts/pull-design-system.mjs on 2026-09-30. Do not edit: change
 * docs/design-system and re-run the script (feature CAROT_THEME D2).
 */
/* ---------- PostCard ---------- */
.c-posts{display:grid;gap:var(--grid-gap);list-style:none;padding:0}
@container site (min-width:752px){.c-posts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container site (min-width:1008px){.c-posts--4{grid-template-columns:repeat(4,minmax(0,1fr))}.c-posts--3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.c-post{position:relative;display:flex;flex-direction:column;gap:var(--space-3);height:100%}
.c-post__media{border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:16/9;background:var(--surface)}
.c-post__eyebrow{font-size:var(--text-caption);font-weight:var(--weight-semibold);color:var(--brand-strong);letter-spacing:.02em}
.c-post__title{font-family:var(--font-display);font-size:var(--text-heading-3);line-height:var(--leading-snug);font-weight:var(--weight-semibold)}
.c-post__title a{text-decoration:none}
.c-post__title a::after{content:"";position:absolute;inset:0}
.c-post:hover .c-post__title a{text-decoration:underline}
.c-post__excerpt{font-size:var(--text-small);line-height:var(--leading-normal);color:var(--muted-foreground);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.c-post__meta{font-size:var(--text-caption);color:var(--muted-foreground)}
.c-post--row{display:grid;grid-template-columns:112px 1fr;gap:var(--space-3);align-items:start}
.c-post--row .c-post__media{border-radius:var(--radius-md)}
.c-post--row .c-post__title{font-size:var(--text-body)}
.c-post--row .c-post__text{display:flex;flex-direction:column;gap:var(--space-1)}
@container site (max-width:767.98px){
  .c-posts--3 .c-post,.c-posts--4 .c-post{display:grid;grid-template-columns:112px 1fr;gap:var(--space-1) var(--space-3);align-content:start}
  :is(.c-posts--3,.c-posts--4) .c-post__media{grid-row:1/span 3;border-radius:var(--radius-md)}
  :is(.c-posts--3,.c-posts--4) .c-post__title{font-size:var(--text-body)}
  :is(.c-posts--3,.c-posts--4) .c-post__excerpt{display:none}
}

/* ---------- TocBox ---------- */
.c-toc{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card)}
.c-toc>summary{display:flex;align-items:center;gap:var(--space-2);min-height:52px;padding:0 var(--space-4);font-family:var(--font-display);font-weight:var(--weight-semibold);font-size:var(--text-small);cursor:pointer;list-style:none}
.c-toc>summary::-webkit-details-marker{display:none}
.c-toc>summary .c-toc__chev{margin-left:auto;transition:transform .12s ease-out}
.c-toc[open]>summary .c-toc__chev{transform:rotate(180deg)}
.c-toc ol{list-style:none;padding:0 var(--space-2) var(--space-3);margin:0;counter-reset:toc}
.c-toc li a{display:flex;gap:var(--space-2);min-height:var(--touch-target);align-items:center;padding:var(--space-1) var(--space-2);border-radius:var(--radius-md);font-size:var(--text-small);line-height:var(--leading-snug);text-decoration:none;color:var(--muted-foreground)}
.c-toc li a::before{counter-increment:toc;content:counter(toc);min-width:1.25em;font-variant-numeric:tabular-nums}
.c-toc li a:hover{color:var(--foreground);background:var(--surface)}
.c-toc li a[aria-current="true"]{color:var(--brand-strong);background:var(--brand-muted);font-weight:var(--weight-semibold)}
.c-toc li.is-sub a{padding-left:var(--space-6)}
.c-toc li.is-sub a::before{content:"";min-width:0}

/* ---------- ProseStyles ---------- */
.prose{max-width:var(--measure-prose);font-size:var(--text-body);line-height:var(--leading-body)}
.prose>*+*{margin-top:1em}
.prose h2{font-family:var(--font-display);font-size:var(--text-heading-2);line-height:var(--leading-snug);font-weight:var(--weight-semibold);margin-top:var(--space-7);scroll-margin-top:88px}
.prose h3{font-family:var(--font-display);font-size:var(--text-heading-3);line-height:var(--leading-snug);font-weight:var(--weight-semibold);margin-top:var(--space-6);scroll-margin-top:88px}
.prose h4{font-size:var(--text-body);font-weight:var(--weight-semibold);margin-top:var(--space-5)}
.prose h2+*,.prose h3+*,.prose h4+*{margin-top:var(--space-3)}
.prose a:not([class]){color:var(--brand-strong);text-decoration:underline;text-decoration-thickness:1px}
.prose a:not([class]):hover{text-decoration-thickness:2px}
.prose .c-buy__title a{color:var(--foreground);text-decoration:none}
.prose .c-buy__title a:hover{text-decoration:underline}
.prose .c-buy>*+*{margin-top:0}
.prose strong{font-weight:var(--weight-semibold)}
.prose ul,.prose ol{padding-left:1.4em}
.prose li+li{margin-top:.4em}
.prose li::marker{color:var(--brand-strong)}
.prose blockquote{padding:var(--space-4) var(--space-5);background:var(--surface);border-radius:var(--radius-lg);font-style:italic}
.prose blockquote cite{display:block;margin-top:var(--space-2);font-style:normal;font-size:var(--text-small);color:var(--muted-foreground)}
.prose figure{margin-block:var(--space-6)}
.prose figure img,.prose figure .ph{border-radius:var(--radius-lg)}
.prose figcaption{margin-top:var(--space-2);font-size:var(--text-small);line-height:var(--leading-normal);color:var(--muted-foreground)}
.prose hr{border:0;border-top:1px solid var(--border);margin-block:var(--space-7)}
.prose .lead{font-size:var(--text-lead);line-height:var(--leading-normal)}
.prose__table{overflow-x:auto;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter)}
.prose table{width:100%;min-width:480px;border-collapse:collapse;font-size:var(--text-small);line-height:var(--leading-normal)}
.prose th,.prose td{text-align:left;vertical-align:top;padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--border)}
.prose thead th{background:var(--surface);font-weight:var(--weight-semibold);border-bottom-color:var(--border-strong)}
.prose tbody th{font-weight:var(--weight-semibold)}
.prose__tablenote{font-size:var(--text-caption);color:var(--muted-foreground);margin-top:var(--space-2)}
@container site (min-width:752px){.prose__table{margin-inline:0;padding-inline:0}}

/* ---------- EmptyState ---------- */
.c-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-3);padding:var(--space-7) var(--space-4);border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--card)}
.c-empty--plain{border:0;background:transparent}
.c-empty__icon{display:grid;place-items:center;width:56px;height:56px;border-radius:var(--radius-full);background:var(--brand-muted);color:var(--brand-strong)}
.c-empty__icon .icon{width:28px;height:28px}
.c-empty__title{font-family:var(--font-display);font-size:var(--text-heading-3);font-weight:var(--weight-semibold);line-height:var(--leading-snug)}
.c-empty__text{max-width:32rem;font-size:var(--text-small);line-height:var(--leading-normal);color:var(--muted-foreground)}
.c-empty__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-2);margin-top:var(--space-2)}
.c-empty--hero .c-empty__title{font-size:var(--text-heading-1)}
