@font-face {
  font-family: Geist;
  src: url('./brand/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f6f7ff;
  --tile: #f1f2fa;
  --ink: #171a1d;
  --zone: #eff0f8;
  --zone-hover: #e9ebf5;
  --highlight: #f0fedb;
  --line: #d9dce6;
  --muted: #666b76;
  --green: #30694b;
  --surface: #fff;
  --emphasis: #171a1d;
  --on-emphasis: #f6f7ff;
  --dot: 23, 26, 29;
  --radius: 6px;
  font-family: Geist, Arial, sans-serif;
  font-synthesis: none;
  background: var(--page);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; min-height: 100vh; isolation: isolate; font: 400 1rem/1.5 Geist, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.ambient-dots, .ambient-dots::before, .ambient-dots::after {
  position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--dot),.058) .68px, transparent 1px) 6px 7px / 21px 21px;
}
.ambient-dots { z-index: -1; }
.ambient-dots::before, .ambient-dots::after { content: ''; animation: dot-soft-shift 19s ease-in-out infinite alternate; }
.ambient-dots::before { background: radial-gradient(circle, rgba(var(--dot),.09) .81px, transparent 1.09px) 6px 7px / 63px 63px; }
.ambient-dots::after { background: radial-gradient(circle, rgba(var(--dot),.075) .62px, transparent .94px) 27px 28px / 105px 105px; animation-duration: 31s; animation-delay: -13s; }
@keyframes dot-soft-shift { from { opacity: .15; } to { opacity: .62; } }
::selection { background: var(--highlight); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, input[type=color] { cursor: pointer; }
button { background: transparent; border: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.2; letter-spacing: .03em; }
h2 { font-size: 1.4375rem; }
h3 { font-size: 1.1875rem; }
svg { display: block; }
i[data-i] { display: inline-flex; flex: none; }
i[data-i] svg, .button svg { width: 1.05rem; height: 1.05rem; }
.frame { width: min(100% - clamp(32px, 6.5vw, 112px), 1680px); margin-inline: auto; }
.site-header { background: var(--page); border-bottom: 1px solid var(--line); }
.site-nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav img { display: block; width: 148px; height: auto; }
.site-exit { display: inline-flex; align-items: center; gap: 17px; min-height: 44px; text-decoration: none; font-size: .9375rem; white-space: nowrap; }
.site-exit i svg { width: 18px; height: 18px; }
.site-exit:hover { opacity: .7; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.section-title, .view-tools, .views, .sort, .inshead, .inshead span, .selected-title, .setting, .seg, .sizebox, .colorbox, .dialoghead, .keyrow, footer, .footer-links { display: flex; align-items: center; }
.iconbtn, .button, .subbutton, #filterToggle, .chip { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.iconbtn { width: 36px; min-height: 36px; border-radius: var(--radius); }
button:hover, .sort:hover { background: var(--zone-hover); }

.workspace { display: grid; grid-template-columns: clamp(198px, 16.5vw, 248px) minmax(0, 1fr) clamp(245px, 19vw, 305px); gap: clamp(18px, 1.9vw, 32px); align-items: start; padding-top: clamp(16px, 2.3vw, 32px); }
.filters, .inspector { position: sticky; top: 16px; min-width: 0; }
.filters { padding-right: clamp(8px, 1vw, 16px); border-right: 1px solid var(--line); }
#categoryHeading { color: var(--muted); font: 500 .8125rem/1.5 Geist, sans-serif; letter-spacing: 0; margin: 16px 8px 8px; }
.category-scroll { max-height: calc(100dvh - 118px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 3px 5px 3px 3px; margin-left: -3px; }
#categories { display: grid; gap: 2px; }
.category { width: 100%; min-height: 34px; display: grid; grid-template-columns: 15px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 5px; font-size: .875rem; line-height: 1.3; text-align: left; }
.category > span:not(.category-count) { overflow-wrap: anywhere; }
.category i svg { width: 15px; height: 15px; }
.category i, .category-count { color: var(--muted); }
.category-count { font-size: .75rem; font-variant-numeric: tabular-nums; justify-self: end; }
.category:hover { background: var(--zone); }
.category[aria-pressed=true] { background: var(--highlight); color: var(--green); }
.category[aria-pressed=true] i, .category[aria-pressed=true] .category-count { color: inherit; }
.category:focus-visible { outline-offset: 1px; }
#filterToggle { display: none; }
.catalog-panel { min-width: 0; }
.searchbox { display: flex; align-items: center; gap: 12px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 0 13px; }
.searchbox:focus-within { border-color: var(--ink); }
.searchbox input { min-width: 0; flex: 1; height: 100%; padding: 0; border: 0; background: transparent; outline: none; font-size: .9375rem; }
.searchbox input::placeholder { color: var(--muted); }
kbd { padding: 2px 5px; border: 1px solid var(--line); border-radius: 3px; background: var(--page); font: 400 .75rem/1.35 Geist, sans-serif; color: var(--muted); white-space: nowrap; }
#activeFilters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { max-width: 100%; padding: 4px 8px 4px 10px; min-height: 28px; border: 1px solid var(--line); border-radius: 99px; background: var(--zone); font-size: .8125rem; }
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip svg { width: .85rem; height: .85rem; flex-shrink: 0; }
.section-title { justify-content: space-between; gap: 10px; margin: 14px 0 12px; flex-wrap: wrap; }
.view-tools { gap: 9px; }
.count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sort { position: relative; gap: 5px; border-radius: 4px; font-size: .8125rem; color: var(--muted); }
.sort > i:first-child { position: absolute; left: 5px; pointer-events: none; }
.sort i svg { width: 14px; height: 14px; }
.sort select { appearance: none; background: transparent; border: 0; padding: 6px 18px 6px 24px; }
.sort > i:last-child { position: absolute; right: 2px; pointer-events: none; }
select option { color: var(--ink); background: var(--surface); }
.views, .seg { background: var(--zone); padding: 2px; gap: 2px; border-radius: var(--radius); }
.views { border: 1px solid var(--line); }
.views button { width: 30px; height: 27px; display: grid; place-items: center; color: var(--muted); border-radius: 4px; }
.views svg { width: 15px; height: 15px; }
.views button[aria-pressed=true], .seg button.on { color: var(--ink); background: var(--surface); box-shadow: 0 1px 3px #0002; }
.grid { display: grid; gap: clamp(22px, 2.8vw, 42px); }
.category-section { min-width: 0; }
.category-section h2 { margin: 0 0 12px; font-size: 1.1875rem; font-weight: 500; letter-spacing: -.02em; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 52px), 1fr)); gap: 6px; }
.card { height: 54px; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #30365e0b; border-radius: var(--radius); background: var(--tile); }
.card .glyph svg { width: 24px; height: 24px; }
.card:hover { background: var(--zone-hover); border-color: #30365e1a; }
.card[aria-pressed=true] { border-color: #dceac9; background: var(--highlight); }
.cardname { display: none; }
.with-names .tile-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 100px), 1fr)); gap: 7px; }
.with-names .card { height: 80px; padding: 9px 6px; gap: 7px; }
.with-names .cardname { display: block; overflow: hidden; max-width: 100%; color: var(--muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
#morebox { display: grid; place-items: center; padding-top: 12px; min-height: 20px; }
#morebox.auto #more:not(:focus-visible) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); min-height: 0; padding: 0; border: 0; }
#empty { padding: 34px 16px; border: 1px dashed var(--line); text-align: center; }
#empty p { margin: 8px 0 15px; color: var(--muted); }

.inspector { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.inshead { min-height: 44px; padding: 0 15px; border-bottom: 1px solid var(--line); justify-content: space-between; }
.inshead span { gap: 8px; font-size: .875rem; font-weight: 500; }
.insbody { padding: 14px; }
.stage { height: 108px; position: relative; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: radial-gradient(circle, rgba(var(--dot),.14) .7px, transparent 1px) center / 10px 10px var(--zone); }
.cross { position: absolute; color: var(--muted); font: 12px/1 monospace; }
.nw, .sw { left: 6px; } .ne, .se { right: 6px; } .nw, .ne { top: 6px; } .sw, .se { bottom: 6px; }
.selected-title { justify-content: space-between; gap: 8px; margin: 12px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.selected-title h3 { overflow-wrap: anywhere; }
.selected-title span, .sizebox span { color: var(--muted); font-size: .78rem; }
.sizebox, .colorbox { border: 1px solid var(--line); border-radius: 4px; }
.setting { justify-content: space-between; gap: 5px; min-height: 30px; margin: 8px 0; font-size: .85rem; }
.seg button { padding: 4px 5px; min-width: 21px; border-radius: 3px; font-size: .75rem; }
.sizebox, .colorbox { height: 29px; padding: 0 6px; gap: 4px; }
.sizebox input, .colorbox input[type=text] { background: transparent; border: 0; width: 2.7rem; font-size: .8rem; }
.colorbox input[type=text] { width: 4.2rem; }
.colorbox input[type=color] { width: 20px; height: 22px; border: 0; padding: 1px; background: transparent; }
input[role=switch] { appearance: none; position: relative; width: 32px; height: 19px; margin: 0; cursor: pointer; border: 1px solid var(--muted); border-radius: 20px; background: var(--zone); }
input[role=switch]::before { content: ''; position: absolute; left: 3px; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
input[role=switch]:checked { background: var(--highlight); border-color: var(--ink); }
input[role=switch]:checked::before { transform: translateX(13px); }
.exports { display: grid; gap: 7px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.button, .subbutton { min-height: 37px; padding: 7px 12px; font-size: .875rem; border-radius: 4px; }
.button { border: 1px solid var(--line); background: var(--surface); }
.button.primary { border-color: var(--emphasis); background: var(--emphasis); color: var(--on-emphasis); }
.button.primary:hover { opacity: .86; }
.webflow > svg { height: 13px; }
.subbutton { color: var(--muted); }
.mobileclose { display: none; }
footer { justify-content: space-between; border-top: 1px solid var(--line); margin: 32px 0 20px; padding-top: 15px; font-size: .8125rem; color: var(--muted); }
.footer-links { gap: 8px; }
footer a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer svg { width: 12px !important; }
dialog { width: min(28rem, calc(100% - 24px)); max-height: 85dvh; padding: 22px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
dialog::backdrop, #shade { background: #10131a70; }
.dialoghead, .keyrow { justify-content: space-between; gap: 10px; }
.dialoghead { margin-bottom: 12px; }
.keyrow { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
#dlgBody p { font-size: .875rem; color: var(--muted); margin: 12px 0; }
#copyFallback { width: 100%; min-height: 8rem; resize: vertical; padding: 8px; background: var(--page); border: 1px solid var(--line); border-radius: 4px; }
#notice { position: fixed; z-index: 100; bottom: 22px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 10px 16px; border-radius: var(--radius); color: var(--on-emphasis); background: var(--emphasis); opacity: 0; pointer-events: none; font-size: .875rem; }
#notice.show { opacity: 1; }
#shade { position: fixed; inset: 0; z-index: 29; }
body.lock { overflow: hidden; }

@media(max-width: 1000px) {
  .workspace { grid-template-columns: 178px minmax(0, 1fr) 234px; gap: 14px; }
  .insbody { padding: 11px; }
  .tile-grid { grid-template-columns: repeat(auto-fill, minmax(47px, 1fr)); }
}
@media(max-width: 840px) {
  .workspace { grid-template-columns: 178px minmax(0, 1fr); }
  .inspector { display: none; }
  .inspector.open { display: block; position: fixed; z-index: 30; bottom: 0; top: auto; left: 50%; transform: translateX(-50%); width: min(100%, 440px); max-height: 90dvh; overflow-y: auto; border-radius: 12px 12px 0 0; }
  .mobileclose { display: inline-flex; }
  .insbody { padding: 14px 16px max(16px, env(safe-area-inset-bottom)); }
}
@media(max-width: 620px) {
  .frame { width: calc(100% - 28px); }
  .site-nav { min-height: 70px; }
  .site-nav img { width: 116px; }
  .site-exit { gap: 8px; font-size: .8125rem; }
  .site-exit i svg { width: 16px; height: 16px; }
  .workspace { display: flex; flex-direction: column; gap: 9px; }
  .filters, .catalog-panel { width: 100%; }
  .filters { position: static; padding: 0; border: 0; }
  #filterToggle { display: inline-flex; min-height: 32px; padding: 3px 8px; gap: 6px; border: 1px solid var(--line); border-radius: 4px; font-size: .875rem; background: var(--surface); }
  #filterToggle[aria-expanded=true] i:last-child { transform: rotate(180deg); }
  #filterToggle[aria-expanded=false] + #filterBody { display: none; }
  #filterBody { margin: 7px 0 0; padding: 8px 10px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
  #categoryHeading { margin-top: 8px; }
  .category-scroll { max-height: 34dvh; }
  #categories { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
  .section-title { margin: 10px 0; gap: 5px; }
  .view-tools { gap: 4px; }
  .card { height: 50px; }
  .searchbox { height: 42px; }
}
@media(prefers-reduced-motion: reduce) {
  .ambient-dots::before, .ambient-dots::after { animation: none; opacity: .34; }
}
[hidden] { display: none !important; }
