/* UIUXIcon library app: the front page's system on top of the SilverTiger tokens.
   Loaded last. It changes the type (Funnel Display, Funnel Sans, DM Mono, as on the front page), keeps the
   logo blue #0647F7 and cyan #00BFE8, and gives every dialog one layout: a fixed head, a body that scrolls, a fixed foot,
   24px padding on all sides. The SilverTiger and Ocean files in assets/ are not edited. */

:root {
  --font-display: "Funnel Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --product-font: var(--font-body);
  --product-accent: #0647f7;
  --product-focus: #0647f7;
  --mx-pad: 24px;
  --mx-ease: cubic-bezier(.2, .7, .2, 1);
}
html, body, button, input, select, textarea { font-family: var(--font-body); }
code, kbd, pre, samp, output { font-family: var(--font-mono); }
h1, h2, .intro__title, .ocean-modal__title, .icon-modal__title { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.intro__title { letter-spacing: -0.03em; }

/* focus: one visible ring everywhere */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid #0647f7; outline-offset: 2px; }

/* buttons step on hover and press on click */
.st-button { transition: background-color .16s var(--mx-ease), color .16s var(--mx-ease), box-shadow .16s var(--mx-ease), transform .12s var(--mx-ease); }
.st-button:not(:disabled):active { transform: translateY(1px) scale(.985); }
.st-button--primary:not(:disabled):hover { box-shadow: 0 6px 16px -8px rgb(6 71 247 / 55%); }
.tile { transition: transform .16s var(--mx-ease), background-color .16s var(--mx-ease), box-shadow .16s var(--mx-ease); }
@media (hover: hover) { .tile:hover { transform: translateY(-2px); } }

/* ── dialogs: one layout ─────────────────────────────────────────────── */
.ocean-modal__overlay { overflow: hidden; padding: 24px; }
.mx {
  display: flex; flex-direction: column;
  width: min(100%, 560px); max-height: min(760px, calc(100dvh - 48px));
  padding: 0; overflow: hidden;
  border: 1px solid var(--border-secondary); border-radius: 20px;
  animation: mx-in .22s var(--mx-ease) both;
}
@keyframes mx-in { from { transform: translateY(8px) scale(.985); } }
.mx__head {
  flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 16px;
  padding: var(--mx-pad); border-bottom: 1px solid var(--border-secondary); background: var(--bg-primary);
}
.mx__head .ocean-featured-icon { color: var(--fg-brand-primary); }
.mx__titles { display: grid; gap: 4px; min-width: 0; padding-top: 2px; }
.mx__titles .ocean-modal__title { margin: 0; font-size: 22px; line-height: 1.25; }
.mx__titles .ocean-modal__supporting { margin: 0; }
.mx__head > .st-button--icon { margin: -6px -8px 0 0; }
.mx__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--mx-pad); display: flex; flex-direction: column; gap: 16px; }
/* children keep their full height: a box with overflow hidden (the code block, the tab row) never shrinks to fit */
.mx__body > * { margin-block: 0; flex-shrink: 0; min-width: 0; }
.mx__body .step-title { margin: 8px 0 0; }
.mx__body .step-title:first-child { margin-top: 0; }
.mx__foot {
  flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 16px var(--mx-pad); border-top: 1px solid var(--border-secondary); background: var(--bg-primary);
}
.mx__foot > a.st-button--text:first-child { margin-right: auto; }
.mx .field { margin: 0; }
.mx .license-text { margin: 0; }
@media (max-width: 640px) {
  .ocean-modal__overlay { padding: 0; place-items: end center; }
  .mx { width: 100%; max-height: calc(100dvh - 24px); border-radius: 20px 20px 0 0; border-bottom: 0; }
  .mx__head { padding: 20px; }
  .mx__body { padding: 20px; }
  .mx__foot { padding: 12px 20px max(12px, env(safe-area-inset-bottom)); }
  .mx__foot > .st-button { flex: 1 1 0; }
  .mx__foot > a.st-button--text:first-child { flex: 0 0 auto; }
}

/* the icon dialog: the right column is head / body / foot */
.icon-modal .icon-modal__info { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; min-height: 0; scrollbar-gutter: auto; }
.icon-modal .icon-modal__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: stretch; padding: 16px var(--mx-pad) 20px; }
.icon-modal .icon-modal__bar { position: static; margin: 0 -8px 0 0; padding: 0; background: none; box-shadow: none; animation: none; }
.icon-modal .icon-modal__body { gap: 24px; }
.icon-modal .icon-modal__foot { display: block; padding: 16px var(--mx-pad); }
.icon-modal .icon-modal__foot .export { gap: 12px; }
.icon-modal .icon-modal__foot .export h3 { margin: 0; }
.icon-modal .icon-modal__foot .export__code .code-slot { max-height: 180px; overflow: auto; }
.icon-modal .icon-modal__foot .ocean-code__body { max-height: 160px; }
@media (max-width: 860px) {
  .icon-modal { display: flex; flex-direction: column; overflow: hidden; }
  .icon-modal .icon-modal__stage { flex: none; padding: 16px; }
  .icon-modal { --lens: min(200px, 48vw); }
  .icon-modal .icon-modal__info { flex: 1 1 auto; }
}
@media (max-width: 640px) {
  .icon-modal .icon-modal__top { padding: 12px 20px 16px; }
  .icon-modal .icon-modal__foot { padding: 12px 20px max(12px, env(safe-area-inset-bottom)); }
}

/* the Projects dialog */
.project-dialog.mx-dialog, .project-dialog { display: none; padding: 0; overflow: hidden; width: min(620px, calc(100vw - 32px)); max-height: min(760px, calc(100dvh - 48px)); border-radius: 20px; }
.project-dialog[open] { display: flex; flex-direction: column; }
.project-dialog > .project-head { grid-template-columns: auto minmax(0, 1fr) auto; }
.project-dialog > .project-head .project-tabs { grid-column: 1 / -1; margin: 4px 0 0; }
.project-dialog > .mx__body section { border-top: 0; padding-block: 0; }
.project-dialog > .mx__body section > h3:first-child { margin-top: 0; }
.project-dialog > .project-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.project-dialog > .project-foot .collection-export p { margin: 0 0 8px; font-size: 13px; color: var(--text-tertiary); }
.project-dialog > .project-foot #project-status:empty { display: none; }
.project-dialog > .project-foot:not(:has(> [data-project-section]:not([hidden]), > #project-status:not(:empty))) { display: none; }
@media (max-width: 640px) {
  .project-dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 20px 20px 0 0; max-height: calc(100dvh - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  .mx { animation: none; }
  .st-button, .tile { transition: none; }
  .st-button:active, .tile:hover { transform: none; }
}
@media (max-width: 640px) { .icon-modal .icon-modal__foot .export-summary { display: none; } }

/* phone header: two rows — the logo and the actions on one, the set picker and search on the next */
@media (max-width: 640px) {
  :root { --topbar-h: 108px; }
  .topbar { row-gap: 8px; column-gap: 8px; padding: 8px 16px 10px; }
  .topbar .brand { order: 0; flex: 0 1 auto; gap: 6px; }
  .topbar .brand__mark { width: 28px; height: 28px; }
  .topbar .brand__name { font-size: 18px; }
  .topbar__actions { order: 1; flex: 0 0 auto; flex-wrap: nowrap; gap: 0; margin-left: auto; }
  .topbar__actions .st-button--icon, .topbar__actions .hdr-btn, #btn-agents { width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0; }
  #btn-agents { margin-left: 4px; }
}
@media (max-width: 360px) { .topbar .brand__name { display: none; } }

/* the grid holds a screen's height until the app fills it, so the footer never shows and then jumps on load */
#view:empty { min-height: 100svh; }

/* icon dialog on tablets and phones: the large preview comes back as a compact stage above the panel */
@media (max-width: 860px) {
  .icon-modal .icon-modal__stage { display: grid; flex: none; gap: 8px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--border-secondary); --lens: 148px; }
  .icon-modal .lens__toggles { justify-content: center; }
  .icon-modal .lens__toggle { min-height: 28px; padding-block: 0; font-size: 12px; }
}
@media (max-width: 640px) and (max-height: 700px) { .icon-modal .icon-modal__stage { --lens: 112px; } .icon-modal .lens__toggles { display: none; } }

/* library footer: the front page's columns */
.footer { border-top: 1px solid var(--border-secondary); padding: 40px 48px 32px; color: var(--text-tertiary); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 1080px; }
.footer__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary); font: 500 18px/1 var(--font-display); text-decoration: none; letter-spacing: -0.02em; }
.footer__about p { max-width: 34ch; margin: 12px 0 0; line-height: 1.55; }
.footer__col { display: grid; align-content: start; gap: 8px; }
.footer__col h2 { margin: 0 0 4px; font: 500 13px/1.3 var(--font-body); color: var(--text-primary); letter-spacing: 0; }
.footer__col a { color: var(--text-tertiary); text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s, color .2s; }
.footer__col a:hover { color: var(--text-primary); background-size: 100% 1px; }
.footer .footer__muted { margin: 32px 0 0; font-size: 13px; }
@media (max-width: 900px) { .footer { padding: 32px 24px; } .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__about { grid-column: 1 / -1; } }

/* library intro: the front page's headline type */
.intro__title { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(32px, 4vw, 48px); text-wrap: balance; }
.intro__lead { color: var(--text-tertiary); }
@media (max-width: 640px) { .intro__title { font-size: 30px; } }

/* the logo's colours: blue #0647F7 and cyan #00BFE8 (overrides on this site only; the SilverTiger files are untouched) */
:root, :root[data-theme] {
  --product-accent: #0647f7; --product-focus: #0647f7;
  --fg-brand-primary: #0647f7; --bg-brand-solid: #0647f7; --bg-brand-solid-hover: #0536c4;
  --border-brand-primary: #0647f7; --border-brand: #0647f7; --focus-ring: #0647f7;
  --btn-bg-primary: #0647f7; --btn-text-secondary: #0647f7; --btn-text-brand: #0647f7; --btn-border-brand: #0647f7;
  --btn-gradient-primary: linear-gradient(180deg, #0a8ff0, #0647f7);
  --btn-gradient-primary-hover: linear-gradient(180deg, #077ad0, #0536c4);
  --logo-cyan: #00bfe8;
}
:root:not([data-theme="dark"]) { --text-brand-primary: #0647f7; --bg-brand-primary: #eef3ff; }
:root[data-theme="dark"] { --fg-brand-primary: #4f7dff; --border-brand-primary: #4f7dff; --btn-text-secondary: #8fb0ff; --btn-text-brand: #8fb0ff; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline-color: #0647f7; }
.project-tabs button[aria-pressed="true"] { box-shadow: inset 0 -2px #0647f7; }
.project-tabs button:focus-visible { outline-color: #0647f7; }

/* ══ library revamp: the front page's frame on the app ══════════════════════════════════════ */
:root { --lib-tint: #eef4ff; --lib-tint-2: #e3f6fc; --lib-line: var(--border-secondary); }
:root[data-theme="dark"] { --lib-tint: #101a33; --lib-tint-2: #0c2230; }

/* header: a frosted bar with a hairline, the search as a pill */
.topbar { background: color-mix(in oklab, var(--bg-primary) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--lib-line); }
.brand__name { font-weight: 500; letter-spacing: -0.02em; }
.hdr-btn { border-radius: var(--radius-md, 8px); }
.hdr-btn[aria-current="page"], .hdr-btn[aria-pressed="true"] { background: var(--lib-tint); color: var(--fg-brand-primary); }
#btn-agents { border-radius: var(--radius-md, 8px); }

/* intro: a lit band in the logo's blue and cyan, like the front page's closing band */
.intro {
  max-width: none; position: relative; overflow: hidden;
  margin: 0 0 24px; padding: 40px 44px 36px; border-radius: 24px; border: 1px solid var(--lib-line);
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in oklab, #00bfe8 22%, transparent) 0%, transparent 55%),
    radial-gradient(90% 120% at 0% 100%, color-mix(in oklab, #0647f7 14%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--lib-tint), var(--bg-primary));
}
.intro__lead { max-width: 60ch; margin-top: 12px; font-size: 16px; line-height: 1.6; }
.intro__facts { display: none; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
body.is-home .intro__facts { display: flex; }
.intro__facts li { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; background: color-mix(in oklab, var(--bg-primary) 80%, transparent); border: 1px solid var(--lib-line); font-size: 13px; color: var(--text-tertiary); }
.intro__facts b { font: 500 13px/1 var(--font-mono); color: var(--text-primary); }
body.is-examples .intro { padding: 32px 36px 28px; }
@media (max-width: 640px) {
  .intro { margin: 0 0 16px; padding: 24px 20px 22px; border-radius: 18px; }
  .intro__facts { gap: 6px; margin-top: 16px; }
  .intro__facts li { padding: 4px 10px; font-size: 12px; }
}

/* quick browse: pill tabs */
.discovery a { border-radius: 999px; }
.discovery a[aria-current="page"] { background: var(--lib-tint); border-color: color-mix(in oklab, #0647f7 40%, transparent); color: var(--fg-brand-primary); }

/* sidebar: quiet labels in mono, the current set on a blue tint */
.sidebar { background: var(--bg-primary); border-right-color: var(--lib-line); }
/* Native scrollbars in the set navigation and the icon inspector. */
.sidebar, .cats__body, .icon-modal__body {
  --scroll-thumb: var(--text-quaternary);
  scrollbar-color: var(--scroll-thumb) transparent;
}
[data-theme="dark"] :is(.sidebar, .cats__body, .icon-modal__body) { color-scheme: dark; }
:is(.sidebar, .cats__body, .icon-modal__body):focus-within { --scroll-thumb: var(--text-tertiary); }
@media (hover: hover) {
  :is(.sidebar, .cats__body, .icon-modal__body):hover { --scroll-thumb: var(--text-tertiary); }
}
@media (pointer: fine) {
  .sidebar, .cats__body, .icon-modal__body { scrollbar-width: thin; scrollbar-gutter: stable; }
  /* Older Safari uses the native track and thumb pseudo-elements. */
  @supports not (scrollbar-color: auto) {
    :is(.sidebar, .cats__body, .icon-modal__body)::-webkit-scrollbar { width: 10px; }
    :is(.sidebar, .cats__body, .icon-modal__body)::-webkit-scrollbar-track { background: transparent; }
    :is(.sidebar, .cats__body, .icon-modal__body)::-webkit-scrollbar-thumb {
      background: var(--scroll-thumb); border: 2px solid transparent;
      background-clip: padding-box; border-radius: 999px;
    }
  }
}
@media (forced-colors: active) {
  .sidebar, .cats__body, .icon-modal__body { scrollbar-color: auto; scrollbar-width: auto; }
}
@media (min-width: 1024px) {
  .sidebar { scroll-padding-block: 44px var(--spacing-lg); }
  .sidebar .nav-group__label {
    position: sticky; top: calc(0px - var(--spacing-xl)); z-index: 1;
    background: var(--bg-primary);
  }
}
.nav-group__label { font: 500 10px/1.2 var(--font-mono); letter-spacing: .08em; color: var(--text-quaternary); }
.sidebar .ocean-nav-item { border-radius: 10px; color: var(--text-secondary); }
.sidebar .ocean-nav-item:hover { background: var(--bg-secondary); color: var(--text-primary); }
.sidebar .ocean-nav-item[aria-current="page"], .sidebar .ocean-nav-item.is-active { background: var(--lib-tint); color: var(--fg-brand-primary); font-weight: 500; }
.sidebar .ocean-nav-item[aria-current="page"] .nav-count, .sidebar .ocean-nav-item.is-active .nav-count { color: var(--fg-brand-primary); }
.nav-count { font-family: var(--font-mono); font-weight: 400; }

/* set and category headings: display type, numbers in mono */
.set__head { border-bottom-color: var(--lib-line); }
.set__num { color: #00a9d4; }
.set__title { font-weight: 500; letter-spacing: -0.025em; font-size: 28px; }
.set__count, .cat__title span { font-family: var(--font-mono); font-size: 12px; }
.cat__title { font-weight: 500; color: var(--text-secondary); }
.cat__title--set { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.01em; }

/* tiles: soft cards that light up in the brand tint */
.tile { border-radius: 14px; border-color: transparent; background: var(--bg-secondary); }
.tile:hover { background: var(--lib-tint); border-color: color-mix(in oklab, #0647f7 35%, transparent); color: var(--fg-brand-primary); box-shadow: 0 8px 20px -12px rgb(6 71 247 / 45%); }
.tile.is-selected { background: var(--lib-tint); border-color: #0647f7; box-shadow: inset 0 0 0 1px #0647f7; }
.tile-copy { border-radius: 10px; }

/* the customize panel and the set picker: the same rounded surfaces as the dialogs */
.tune, .cats__sheet { border-radius: 20px; border: 1px solid var(--lib-line); box-shadow: 0 24px 48px -24px rgb(8 23 61 / 30%); }
.selbar { border-radius: 999px; }

/* dialog head: no space under it; the Projects tabs without their own rule */
.project-dialog > .mx__head { padding-bottom: 0; }
.project-tabs { border-bottom: 0; }

/* ══ inputs: SilverTiger Input, size XSmall (36px, 12px padding, 13px type) ═══════════════════════
   One look for every text field, select and textarea in the app: white ground, the DS border, a soft
   shadow, the brand border on hover and focus with the DS focus ring. Phones keep 16px type so iOS
   does not zoom into the field. */
:root { --in-h: var(--input-height-xs, 36px); --in-pad: var(--input-padding-inline-xs, 12px); --in-fs: var(--input-font-size-xs, 13px); --in-ring: 0 0 0 3px rgb(6 71 247 / 16%); }
:root[data-theme="dark"] { --in-ring: 0 0 0 3px rgb(79 125 255 / 28%); }
.field__input, .export__fmt, .duo-palette select, .project-dialog select, .field__area, .ocean-textarea {
  box-sizing: border-box; width: 100%; min-width: 0;
  height: var(--in-h); min-height: var(--in-h); padding: 0 var(--in-pad);
  border: 1px solid var(--border-primary); border-radius: var(--radius-md, 8px);
  background-color: var(--bg-primary); color: var(--text-primary);
  font: 400 var(--in-fs)/1.4 var(--font-body); letter-spacing: 0;
  box-shadow: var(--shadow-xs, 0 1px 2px rgb(10 13 18 / 5%));
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field__area, .ocean-textarea { height: auto; min-height: 96px; padding: 8px var(--in-pad); line-height: 1.5; resize: vertical; }
:is(.field__input, .export__fmt, .duo-palette select, .project-dialog select, .field__area, .ocean-textarea)::placeholder { color: var(--text-placeholder); opacity: 1; }
:is(.field__input, .export__fmt, .duo-palette select, .project-dialog select, .field__area, .ocean-textarea):hover:not(:disabled):not([readonly]) { border-color: var(--border-brand-primary); }
:is(.field__input, .export__fmt, .duo-palette select, .project-dialog select, .field__area, .ocean-textarea):focus,
:is(.field__input, .export__fmt, .duo-palette select, .project-dialog select, .field__area, .ocean-textarea):focus-visible { outline: 0; border-color: var(--border-brand-primary); box-shadow: var(--shadow-xs, 0 1px 2px rgb(10 13 18 / 5%)), var(--in-ring); }
.field__input[readonly] { background: var(--bg-secondary); color: var(--text-secondary); box-shadow: none; }
:is(.field__input, .export__fmt, .field__area):disabled { background: var(--bg-disabled, var(--bg-secondary)); color: var(--text-disabled); cursor: not-allowed; box-shadow: none; }
.field__input[aria-invalid="true"], .field__area[aria-invalid="true"] { border-color: var(--border-error); }

/* selects: the DS chevron instead of the browser's */
.export__fmt, .duo-palette select, .project-dialog select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23717680' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}

/* labels and the hex field beside the colour picker */
.field { gap: 6px; margin-top: 0; }
.field__label { font: 500 13px/1.4 var(--font-body); color: var(--text-secondary); }
.picker__hex { height: var(--in-h); padding: 0 var(--in-pad) 0 6px; border-color: var(--border-primary); box-shadow: var(--shadow-xs, 0 1px 2px rgb(10 13 18 / 5%)); font-size: var(--in-fs); }
.picker__hex:hover { border-color: var(--border-brand-primary); }
.picker__hex:focus-within { border-color: var(--border-brand-primary); box-shadow: var(--shadow-xs, 0 1px 2px rgb(10 13 18 / 5%)), var(--in-ring); }
.picker__chip { width: 22px; height: 22px; }
.duo-palette input[type="color"] { width: 48px; height: var(--in-h); padding: 3px; border-color: var(--border-primary); border-radius: var(--radius-md, 8px); }
.duo-palette select { min-height: var(--in-h); }
.sync #sync-join .field__input { font-family: var(--font-mono); font-size: var(--in-fs); }

/* the buttons that sit in a row with a field take the same 36px, so the row reads as one line */
.export__row .st-button, .project-form .st-button, .project-form .project-import, .sync #sync-join .st-button { height: var(--in-h); min-height: var(--in-h); }
.export__row .export__dl { width: var(--in-h); min-width: var(--in-h); padding: 0; }
.project-dialog .project-form input { font-size: var(--in-fs); }

@media (max-width: 640px) {
  .field__input, .export__fmt, .duo-palette select, .project-dialog select, .field__area, .ocean-textarea, .project-dialog .project-form input, .sync #sync-join .field__input, .picker__hex input { font-size: 16px; }
}
/* the header search and the set picker beside it: 36px, like the fields */
.search { height: var(--in-h); padding: 0 6px 0 var(--in-pad); border: 1px solid var(--border-primary); border-radius: var(--radius-md, 8px); background: var(--bg-primary); box-shadow: var(--shadow-xs, 0 1px 2px rgb(10 13 18 / 5%)); }
.search:hover { border-color: var(--border-brand-primary); }
.search:focus-within { border-color: var(--border-brand-primary); box-shadow: var(--shadow-xs, 0 1px 2px rgb(10 13 18 / 5%)), var(--in-ring); }
.search .search__input, .search .search__input:focus { height: 100%; border-radius: 0; background: transparent; border: 0; box-shadow: none; font-size: 14px; }
.search__icon svg { width: 16px; height: 16px; }
.catbtn { height: var(--in-h); border-radius: var(--radius-md, 8px); border-color: var(--border-primary); box-shadow: var(--shadow-xs, 0 1px 2px rgb(10 13 18 / 5%)); }
.icon-modal .export__row .st-button, .icon-modal .export__row .export__fmt { height: var(--in-h); min-height: var(--in-h); }
.icon-modal .export__row .export__dl { width: var(--in-h); min-width: var(--in-h); }
.icon-modal .export__row .export__fmt { padding-left: var(--in-pad); padding-right: 36px; background-position: right 12px center; }
@media (max-width: 640px) { .search .search__input { font-size: 16px; } }
/* the older "compact modal controls" rule set dialog fields to 32px; the DS size is 36px */
:is(.icon-modal, .ocean-modal, .project-dialog) :is(input.field__input, select),
.sync #sync-join input.field__input { height: var(--in-h); min-height: var(--in-h); }
:is(.icon-modal, .ocean-modal, .project-dialog) input[type="color"] { height: var(--in-h); min-height: var(--in-h); }
.project-dialog label[for="collection-select"] { display: block; margin: 16px 0 6px; font: 500 13px/1.4 var(--font-body); color: var(--text-secondary); }
.project-dialog select#collection-select { margin-block: 0; }

/* "Use it in your agent": a wider dialog, and the app tabs on one line (they scroll sideways when they do not fit) */
.mx:has(.modal__tabs) { width: min(100%, 640px); }
.mx .modal__tabs {
  flex-wrap: nowrap; gap: 4px; margin: 0; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; box-shadow: inset 0 -1px var(--border-secondary);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
}
.mx .modal__tabs::-webkit-scrollbar { display: none; }
.mx .modal__tabs .st-tab { flex: 0 0 auto; white-space: nowrap; padding-inline: 14px; }
@media (min-width: 641px) { .mx .modal__tabs { -webkit-mask-image: none; mask-image: none; } }

/* set page: the bar that downloads the whole set */
.packbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 24px; padding: 14px 16px 14px 20px; border: 1px solid var(--lib-line); border-radius: 16px; background: var(--bg-primary); }
.packbar__text { display: grid; gap: 2px; margin: 0; font-size: 14px; color: var(--text-primary); }
.packbar__text strong { font-weight: 500; }
.packbar__text span { font: 12px var(--font-mono); color: var(--text-tertiary); }
.packbar__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.packbar__btns { align-items: center; }
.packbar__paid { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; height: 28px; border-radius: 999px; background: color-mix(in srgb, #0647F7 8%, transparent); color: #0647F7; font-size: 12px; font-weight: 500; }
.packbar__paid svg { width: 14px; height: 14px; }
.pro__perks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pro__perks li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.pro__perks svg { margin-top: 3px; color: #0647F7; }
.pro__perks b { display: block; font-weight: 500; color: var(--text-primary); }
.pro__note { margin: 16px 0 0; font-size: 13px; color: var(--text-tertiary); }
.pro__note a { color: inherit; }
.mx__foot a.st-button { text-decoration: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .packbar__paid { color: #00BFE8; background: color-mix(in srgb, #00BFE8 12%, transparent); } }
:root[data-theme="dark"] .packbar__paid { color: #00BFE8; background: color-mix(in srgb, #00BFE8 12%, transparent); }
.packbar .st-button { height: var(--in-h); min-height: var(--in-h); gap: 6px; }
.packbar .st-button[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 640px) { .packbar { padding: 12px; } .packbar__btns { width: 100%; } .packbar__btns .st-button { flex: 1 1 0; padding-inline: 8px; } }

/* Projects → Sync & backup: the account block above code sync */
.acct { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in oklab, #0647f7 28%, transparent); background: var(--lib-tint); }
.acct p { display: grid; gap: 2px; margin: 0; min-width: 0; flex: 1 1 260px; }
.acct strong { font-weight: 500; font-size: 14px; color: var(--text-primary); }
.acct span { font-size: 13px; color: var(--text-tertiary); }
.acct--out { border-color: var(--lib-line); background: var(--bg-secondary); }
.acct .st-button { height: var(--in-h); }

/* Agents dialog: the other channels (npm, VS Code, Figma) once they are published */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.channel { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--lib-line); border-radius: 12px; color: var(--text-primary); text-decoration: none; transition: border-color .15s, background-color .15s; }
.channel:hover { border-color: color-mix(in oklab, #0647f7 40%, transparent); background: var(--lib-tint); }
.channel__ic { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--bg-secondary); color: var(--fg-brand-primary); }
.channel b { display: block; font-weight: 500; font-size: 14px; }
.channel small { display: block; margin-top: 2px; font-size: 12px; color: var(--text-tertiary); }

/* popular: ranked tiles and the "#3 this week" badge in the icon dialog */
.grid--ranked { counter-reset: rank; }
.grid--ranked .tile { counter-increment: rank; }
.grid--ranked .tile::after { content: counter(rank); position: absolute; top: 6px; left: 8px; font: 500 10px/1 var(--font-mono); color: var(--text-quaternary); pointer-events: none; }
.grid--ranked .tile:nth-child(-n+3)::after { color: #00a9d4; }
.icon-modal__pop:empty { display: none; }
.poppill { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 3px 8px; border-radius: 999px; background: var(--lib-tint); color: var(--fg-brand-primary); font: 500 12px/1.3 var(--font-body); text-decoration: none; }
.poppill svg { width: 14px; height: 14px; }
.sidebar .ocean-nav-item .nav-count svg { width: 14px; height: 14px; vertical-align: -2px; }

/* request board */
.board__ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 28px; padding: 14px 16px 14px 20px; border: 1px solid var(--lib-line); border-radius: 16px; }
.board__ask p { display: grid; gap: 2px; margin: 0; flex: 1 1 280px; }
.board__ask strong { font-weight: 500; font-size: 14px; }
.board__ask span { font-size: 13px; color: var(--text-tertiary); }
.board__ask .st-button { height: var(--in-h); gap: 6px; }
.board { list-style: none; margin: 0; padding: 0; border: 1px solid var(--lib-line); border-radius: 16px; overflow: hidden; }
.board__row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-top: 1px solid var(--lib-line); }
.board__row:first-child { border-top: 0; }
.board__rank { font: 500 12px/1 var(--font-mono); color: var(--text-quaternary); }
.board__row:nth-child(-n+3) .board__rank { color: #00a9d4; }
.board__title { font-size: 15px; color: var(--text-primary); overflow-wrap: anywhere; }
.board__vote { display: inline-flex; align-items: center; gap: 6px; height: var(--in-h); min-width: 64px; padding: 0 12px; border: 1px solid var(--border-primary); border-radius: 999px; background: var(--bg-primary); color: var(--text-secondary); font: 500 13px/1 var(--font-mono); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s, transform .12s; }
.board__vote svg { width: 14px; height: 14px; transform: rotate(-45deg); }
.board__vote:hover { border-color: #0647f7; color: var(--fg-brand-primary); }
.board__vote:active { transform: scale(.96); }
.board__vote[aria-pressed="true"] { background: var(--lib-tint); border-color: color-mix(in oklab, #0647f7 45%, transparent); color: var(--fg-brand-primary); }

/* icon dialog: the motion row */
.motion-row { display: grid; gap: 8px; }
.motion-row__label { font: 500 13px/1.4 var(--font-body); color: var(--text-secondary); }
.motion-row__kinds { display: flex; flex-wrap: wrap; width: 100%; }
.motion-row__kinds .ocean-segmented__item { flex: 1 0 auto; min-width: 0; padding-inline: 8px; }
.motion-row__kinds .ocean-segmented__item:disabled { opacity: .45; cursor: not-allowed; }
.motion-row__when { width: fit-content; }
.motion-row__note { margin: 0; font-size: 12px; color: var(--text-tertiary); }

/* toasts with a follow-up link */
.toast__link { display: inline-block; margin-top: 4px; font: 500 13px/1.4 var(--font-body); color: var(--fg-brand-primary); text-underline-offset: 3px; }
/* phone: the motion choices on one line that scrolls sideways */
@media (max-width: 640px) {
  .motion-row__kinds { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); }
  .motion-row__kinds::-webkit-scrollbar { display: none; }
  .motion-row__kinds .ocean-segmented__item { flex: 0 0 auto; }
}

/* Projects footer: one rule (the footer's own), previews sized to the 24px icon, buttons in one row */
.project-dialog > .project-foot .collection-export { position: static; border-top: 0; padding: 0; background: none; }
.project-dialog > .project-foot .collection-export .project-form { flex-wrap: wrap; gap: 8px; }
.project-dialog > .project-foot .collection-export .st-button { flex: 0 0 auto; padding-inline: 14px; }
.project-dialog > .project-foot .collection-export .st-button--text { padding-inline: 10px; }
.project-list .project-preview { flex-basis: 40px; color: var(--text-primary); }
.project-list .project-preview svg { width: 24px; height: 24px; }

/* Projects → Sync & backup: the import review card */
.import-card { display: grid; gap: 12px; margin-bottom: 12px; padding: 16px; border-radius: 14px; border: 1px solid color-mix(in oklab, #00bfe8 45%, transparent); background: color-mix(in oklab, #00bfe8 8%, var(--bg-primary)); }
.import-card p { display: grid; gap: 4px; margin: 0; }
.import-card strong { font-weight: 500; font-size: 14px; color: var(--text-primary); }
.import-card p span { font-size: 13px; color: var(--text-tertiary); }
.import-card__list { display: grid; gap: 6px; max-height: 180px; overflow: auto; margin: 0; padding: 0; list-style: none; }
.import-card__list li { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-secondary); }
.import-card__list svg { flex: none; width: 16px; height: 16px; color: var(--fg-brand-primary); }
.import-card__list b { font-weight: 500; color: var(--text-primary); }

/* Projects → Collections: the links this browser shared */
.shared-links-wrap:empty { display: none; }
.shared-links-wrap h3 { margin: 24px 0 4px; }
.shared-links > div { display: flex; align-items: center; gap: 8px; }
.shared-links__main { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
.shared-links__main a { color: var(--text-primary); font-weight: 500; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shared-links__main a:hover { color: var(--fg-brand-primary); }
.shared-links__main small { font-size: 12px; color: var(--text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shared-links .shared-links__revoke { color: var(--text-error-primary, #d92d20); }

/* no results: related searches */
.related { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; max-width: 560px; }
.related > span { font-size: 13px; color: var(--text-tertiary); margin-right: 2px; }
.related__chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--border-primary); border-radius: 999px; background: var(--bg-primary); color: var(--text-primary); font: 400 13px/1 var(--font-body); cursor: pointer; transition: border-color .15s, background-color .15s; }
.related__chip:hover { border-color: #0647f7; background: var(--lib-tint); }
.related__chip small { font: 400 11px/1 var(--font-mono); color: var(--text-tertiary); }

/* compare 2–4 icons */
.mx--wide { width: min(100%, 980px); }
.cmp__ctl { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp { display: grid; grid-template-columns: repeat(var(--cmp-cols), minmax(190px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.cmp__col { display: grid; gap: 8px; align-content: start; min-width: 0; }
.cmp__name { display: grid; gap: 2px; min-width: 0; }
.cmp__name b { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp__name code { font-size: 11px; color: var(--text-tertiary); }
.cmp__scene { --c-bg: #ffffff; --c-ink: #0a0d12; --c-muted: #6b7280; --c-line: #e8eaee; --c-surface: #f4f6f9; display: grid; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-ink); }
.cmp__scene.is-dark { --c-bg: #0c0e12; --c-ink: #f5f6f7; --c-muted: #8b919c; --c-line: #23272f; --c-surface: #171a20; }
.cmp__scene svg { display: block; flex: none; }
.cmp__tabbar { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 4px 6px; border-radius: 10px; background: var(--c-surface); }
.cmp__tabbar span { display: grid; justify-items: center; gap: 3px; }
.cmp__tabbar small { font-size: 10px; color: var(--c-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp__tabbar .is-on small { color: #0647f7; }
.cmp__row { display: flex; gap: 8px; align-items: center; }
.cmp__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; background: #0647f7; color: #fff; font-size: 13px; font-weight: 500; }
.cmp__ghost { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--c-line); }
.cmp__toolbar { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-bottom: 1px solid var(--c-line); }
.cmp__title { flex: 1; font-size: 13px; font-weight: 500; }
.cmp__list { display: flex; align-items: center; gap: 10px; }
.cmp__badge { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--c-surface); }
.cmp__list b { display: block; font-size: 13px; font-weight: 500; }
.cmp__list small { display: block; font-size: 11px; color: var(--c-muted); }
.cmp__acts { display: flex; gap: 6px; }
@media (max-width: 640px) { .cmp { grid-template-columns: repeat(var(--cmp-cols), minmax(200px, 78%)); } }

/* Projects → Collections: the collection's own look */
.col-look { display: grid; gap: 8px; margin: 10px 0 4px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--border-primary); }
.col-look.is-locked { border-style: solid; border-color: color-mix(in oklab, #0647f7 35%, transparent); background: var(--lib-tint); }
.col-look p { display: grid; gap: 2px; margin: 0; }
.col-look strong { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 13px; color: var(--text-primary); }
.col-look strong svg { width: 16px; height: 16px; color: var(--fg-brand-primary); }
.col-look span { font-size: 12px; color: var(--text-tertiary); }
/* Projects → a collection saved from Examples: leads back to that example, set up as it was */
.col-example { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; margin: 10px 0 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-secondary, var(--border-primary)); background: var(--bg-secondary, transparent); }
.col-example__sw { width: 32px; height: 32px; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
.col-example p { display: grid; gap: 2px; margin: 0; }
.col-example strong { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 13px; color: var(--text-primary); }
.col-example strong svg { width: 16px; height: 16px; color: var(--fg-brand-primary); }
.col-example span { font-size: 12px; color: var(--text-tertiary); }
.col-example .project-form { grid-column: 1 / -1; }

/* ══ primary button: one spec on every page (SilverTiger Button in the logo colours) ═══════════════
   Gradient #0A8FF0 → #0647F7, white Funnel Sans 500, 8px corners, 36 / 40 / 44 px tall; hover darker with a
   soft blue shadow, press nudges down, focus ring 2px blue. The same values live in landing.css (the front
   page kit's .btn--primary), site-chrome.css (.sc-btn) and account.css, so every primary looks the same. */
.st-button--primary { background: linear-gradient(180deg, #0a8ff0, #0647f7); border-color: transparent; color: #fff; border-radius: var(--radius-md, 8px); font-weight: 500; }
.st-button--primary:hover:not(:disabled) { background: linear-gradient(180deg, #077ad0, #0536c4); color: #fff; box-shadow: 0 6px 16px -8px rgb(6 71 247 / 55%); }
.st-button--primary:disabled { background: linear-gradient(180deg, #0a8ff0, #0647f7); opacity: .45; }

/* ══ select: the DS menu over a native <select> (assets/select.js) ═════════════════════════════════════
   The button looks like the 36px SilverTiger input with its chevron; the list is the Ocean Menu: one surface,
   8px corners, a soft shadow, 36px rows, the picked row ticked in brand blue, the active row tinted. */
.uisel__native { display: none !important; }
.uisel {
  display: inline-flex; align-items: center; box-sizing: border-box; width: 100%; min-width: 0;
  height: var(--in-h, 36px); min-height: var(--in-h, 36px); padding: 0 36px 0 var(--in-pad, 12px);
  border: 1px solid var(--border-primary); border-radius: var(--radius-md, 8px);
  background: var(--bg-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23717680' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  color: var(--text-primary); font: 400 var(--in-fs, 13px)/1.4 var(--font-body); text-align: left; cursor: pointer;
  box-shadow: var(--shadow-xs, 0 1px 2px rgb(10 13 18 / 5%)); transition: border-color .15s, box-shadow .15s;
}
.uisel__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uisel:hover:not(:disabled) { border-color: var(--border-brand-primary, #0647f7); }
.uisel:focus-visible, .uisel[aria-expanded="true"] { outline: 0; border-color: var(--border-brand-primary, #0647f7); box-shadow: var(--shadow-xs, 0 1px 2px rgb(10 13 18 / 5%)), var(--in-ring, 0 0 0 3px rgb(6 71 247 / 16%)); }
.uisel[aria-expanded="true"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230647f7' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 10 4-4 4 4'/%3E%3C/svg%3E"); }
.uisel:disabled { opacity: .5; cursor: not-allowed; }
.icon-modal .export__row .uisel { grid-column: auto; padding-left: var(--in-pad, 12px); }
.project-dialog .uisel { margin: 0; }
.duo-palette .uisel { min-width: 180px; }

.uisel__list {
  position: fixed; z-index: 1000; box-sizing: border-box; margin: 0; padding: 4px; list-style: none; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-primary); border: 1px solid var(--border-secondary); border-radius: var(--radius-md, 8px);
  box-shadow: 0 12px 32px -8px rgb(10 13 18 / 22%), 0 4px 8px -4px rgb(10 13 18 / 10%);
  font: 400 14px/1.3 var(--font-body); color: var(--text-secondary);
  animation: uisel-in .12s ease-out both;
}
.uisel__list.is-up { animation-name: uisel-up; }
@keyframes uisel-in { from { transform: translateY(-4px); } }
@keyframes uisel-up { from { transform: translateY(4px); } }
.uisel__list [role="option"] { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 8px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.uisel__list [role="option"].is-active { background: var(--bg-primary-hover, var(--bg-secondary)); color: var(--text-primary); }
.uisel__list [role="option"][aria-selected="true"] { color: var(--fg-brand-primary, #0647f7); font-weight: 500; }
.uisel__list [aria-disabled="true"] { color: var(--text-disabled); cursor: not-allowed; }
.uisel__check { flex: none; width: 16px; height: 16px; }
.uisel__list [aria-selected="true"] .uisel__check { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230647f7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / 16px no-repeat; }
:root[data-theme="dark"] .uisel__list [aria-selected="true"] .uisel__check { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234f7dff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E"); }
@media (max-width: 640px) { .uisel { font-size: 16px; } .uisel__list [role="option"] { min-height: 44px; font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .uisel__list { animation: none; } }

/* toasts: action buttons (Undo, Change collection) */
.toast__acts { display: flex; gap: 4px; margin-top: 6px; }
.toast__act { height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--lib-tint); color: var(--fg-brand-primary); font: 500 13px/1 var(--font-body); cursor: pointer; }
.toast__act:hover { background: color-mix(in oklab, #0647f7 16%, var(--bg-primary)); }
/* grid: the save button beside copy */
.tile-save.tile-copy { z-index: 6; }
[data-save-icon].is-saved { color: var(--fg-brand-primary); }
/* download preview */
.pack__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pack__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--lib-line); border-radius: 8px; font-size: 13px; color: var(--text-primary); }
.pack__chip small { font: 400 11px/1 var(--font-mono); color: var(--text-tertiary); text-transform: uppercase; letter-spacing: .04em; }
.pack__swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 12%); }
.pack__files { border: 1px solid var(--lib-line); border-radius: 12px; overflow: hidden; }
.pack__files-head { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--lib-line); background: var(--bg-secondary); font-size: 13px; }
.pack__files-head b { font-weight: 500; }
.pack__files-head code { font-size: 12px; color: var(--text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pack__files ul { margin: 0; padding: 8px 12px; list-style: none; max-height: 180px; overflow: auto; columns: 2 180px; column-gap: 16px; font: 400 12px/1.9 var(--font-mono); color: var(--text-secondary); }
.pack__more { color: var(--text-tertiary); }
.footer__support { color: var(--fg-brand-primary); }
