/* ITEM-CARD (2026-11-17): the few parts of the item card (APIs, then Resources, MCP, Tools) that the asset card has
   no class for. Everything else comes from asset-card.css; colours only from the site's tokens. */
.it-live { display: inline-flex; align-items: center; gap: 6px; }
.it-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ac-yes); display: inline-block; }
.it-live.is-bad i { background: var(--ac-no); }
.it-note { margin: 0; padding: 8px 12px; border-left: 3px solid var(--ac-cond); background: var(--surface); border-radius: 0 8px 8px 0; }
.it-gap { margin: 0; padding: 10px 14px; border: 1px dashed var(--border-strong); border-radius: 10px; color: var(--meta); font-size: 14px; }
.it-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: it-step; }
.it-steps > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; counter-increment: it-step; }
.it-steps > li::before { content: counter(it-step); width: 26px; height: 26px; border-radius: 50%; background: var(--accent-wash); color: var(--ink-2); display: grid; place-items: center; font-size: 13px; font-weight: 650; }
.it-steps > li > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.it-steps p { margin: 0; overflow-wrap: anywhere; }
.it-steps pre, .it-code pre, .it-more pre { margin: 0; padding: 12px 14px; background: var(--surface-2); border-radius: 8px; overflow-x: auto; line-height: 1.55; font-size: 13.5px; }
.it-lane { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.it-table-wrap { overflow-x: auto; }
.it-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.it-table th, .it-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ac-line); vertical-align: top; }
.it-table th { color: var(--meta); font-weight: 500; font-size: 14px; }
.it-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.it-more { border-bottom: 1px solid var(--ac-line); }
.it-more summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; gap: 10px; list-style: none; }
.it-more summary::-webkit-details-marker { display: none; }
.it-more[open] summary .ac-ic { transform: rotate(180deg); }
.it-more > div { padding: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.it-more ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.it-more p { margin: 0; }
/* ITEM-CARD-SKILLS: the skill page body inside the shell's main column */
.it-skill-body { gap: 40px; }
.it-skill-body .sc-plain-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.it-skill-body .sc-plain-grid > *, .it-skill-body .grid > * { min-width: 0; }
.it-skill-body section[id] { scroll-margin-top: calc(var(--site-head-h, 0px) + 76px); }
.it-skill-body .section { margin-top: 0; }
.it-skill-shell .ac-hero .sc-src { margin: 4px 0 0; }
