*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg,#f5f5f7);color:var(--text,#1d2028);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}img{max-width:100%;height:auto}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent,#2368c4);outline-offset:5px}button:disabled{cursor:default}h1,h2,h3,p,figure{margin-top:0}p{max-width:72ch}h1,h2,h3{line-height:1.1;letter-spacing:-.045em}a,button{touch-action:manipulation}.skip-link,.skip{position:fixed;left:1rem;top:-8rem;z-index:999;background:var(--surface,#fff);color:var(--text,#111);padding:12px 20px}.skip-link:focus,.skip:focus{top:1rem}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}kbd{font-family:inherit;font-size:.85em;border:1px solid var(--line,#ddd);border-bottom-width:3px;border-radius:5px;padding:.12em .35em;white-space:nowrap}details>summary{cursor:pointer;min-height:44px;display:list-item;padding:12px 0}summary::marker{color:var(--accent)}:root[data-theme=dark]{color-scheme:dark}:root[data-theme=light]{color-scheme:light}[data-theme-toggle]{min-height:44px;min-width:44px}clip-demo{display:block;min-width:0}.clip-demo{background:var(--surface,#fff);color:var(--text,#18202d);border:1px solid var(--line,#dce1e9);border-radius:var(--demo-radius,16px);padding:22px;text-align:left;box-shadow:0 24px 70px -35px #10182b50;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;overflow:hidden}.demo-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.demo-brand{display:flex;align-items:center;gap:9px;font-weight:650;font-size:16px}.demo-brand img{height:26px;width:26px}.demo-status{display:flex;align-items:center;gap:6px;color:var(--muted,#626d7d);font-size:12px}.demo-status::before{content:"";width:6px;height:6px;border-radius:100%;background:#51957b}.demo-search{display:flex;align-items:center;gap:10px;background:var(--bg,#f5f5f7);border:1px solid var(--line,#dce1e9);border-radius:10px;padding:3px 13px}.demo-search svg{flex:none;width:20px;height:20px;color:var(--muted,#626d7d)}.demo-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:inherit;height:50px;font-size:16px}.demo-search:focus-within{outline:2px solid var(--accent);outline-offset:3px}.demo-search input:focus-visible{outline:0}.demo-search kbd{font-size:12px;border-bottom-width:1px;color:var(--muted)}.demo-chips{display:flex;gap:6px;flex-wrap:wrap;margin:13px 0 20px}.demo-chips button{background:transparent;border:1px solid var(--line,#dce1e9);color:var(--muted,#626d7d);border-radius:20px;padding:7px 12px;min-height:44px;font-size:12px}.demo-chips button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,transparent)}.demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.demo-card{display:flex;flex-direction:column;min-height:166px;border:1px solid var(--line,#dce1e9);border-radius:10px;background:var(--surface-2,var(--bg));padding:16px;min-width:0}.demo-card .demo-kind{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;margin-bottom:24px}.demo-card strong{font-size:15px;line-height:1.4;font-weight:550;overflow-wrap:anywhere;letter-spacing:0}.demo-card code{font-family:"SFMono-Regular",Consolas,monospace;font-size:13px;line-height:1.6}.demo-card footer{border:0!important;padding:0!important;margin-top:auto!important;font-size:11px!important;color:var(--muted)!important;background:transparent!important;padding-top:20px!important}.demo-card.is-match{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.demo-colour{height:48px;background:#61afef;border-radius:6px;margin-bottom:8px}.demo-answer{color:var(--muted);font-size:12px;margin:15px 0 0;min-height:36px}.demo-label{font-size:12px!important;color:var(--muted);margin:9px 0 0!important;line-height:1.5}.demo-label a{text-underline-offset:3px}.demo-empty{grid-column:1/-1;padding:25px 10px;color:var(--muted);text-align:center}.design-return{font-size:13px;color:var(--muted);text-decoration:none;display:inline-flex;align-items:center;min-height:44px;gap:7px}.design-return::before{content:"‹";font-size:24px}.design-footer{padding:30px 0;color:var(--muted);font-size:13px}.design-footer a{text-underline-offset:4px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000;background:var(--text);color:var(--bg);padding:13px 22px;border-radius:30px;font-size:14px;box-shadow:0 8px 25px #0002;max-width:calc(100% - 32px)}
@media(max-width:600px){.clip-demo{padding:15px}.demo-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:9px}.demo-card{flex:0 0 100%;scroll-snap-align:start;min-height:120px}.demo-card .demo-kind{margin-bottom:15px}.demo-status{font-size:11px}.demo-search kbd{display:none}.demo-chips{gap:5px}.demo-chips button{min-height:44px;font-size:11px;padding:5px 9px}.demo-answer{min-height:48px}.demo-card footer{padding-top:12px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.demo-mobile-hint{display:none}.demo-grid:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:600px){.demo-mobile-hint{display:block;font-size:12px;color:var(--muted);margin:4px 0 0}.demo-empty{min-width:100%}}

.demo-card code{overflow-wrap:anywhere;word-break:break-word}.demo-answer{font-size:14px}.demo-card strong{font-size:16px}
