@media (prefers-color-scheme:dark){:root{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}}@keyframes thek-spin{to{transform:rotate(360deg)}}@media (prefers-color-scheme:dark){:root{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}}html[data-thek-theme=dark]{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}@media (prefers-color-scheme:dark){:root{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}}html[data-thek-theme=forest]{--thek-primary:#14532d;--thek-primary-light:#dcfce7;--thek-bg-surface:#f7fee7;--thek-bg-panel:#ecfccb;--thek-bg-subtle:#d9f99d;--thek-border:#a3e635;--thek-border-strong:#65a30d;--thek-text-main:#1f2937;--thek-text-muted:#4b5563;--thek-text-inverse:#fff;--thek-danger:#dc2626;--thek-shadow:0 8px 18px -6px #14532d33}@media (prefers-color-scheme:dark){:root{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}}html[data-thek-theme=red]{--thek-primary:#b91c1c;--thek-primary-light:#fee2e2;--thek-bg-surface:#fff5f5;--thek-bg-panel:#fee2e2;--thek-bg-subtle:#fecaca;--thek-border:#fca5a5;--thek-border-strong:#ef4444;--thek-text-main:#7f1d1d;--thek-text-muted:#991b1b;--thek-text-inverse:#fff;--thek-danger:#dc2626;--thek-shadow:0 8px 18px -8px #b91c1c59}@media (prefers-color-scheme:dark){:root{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}}html[data-thek-theme=blue]{--thek-primary:#1d4ed8;--thek-primary-light:#dbeafe;--thek-bg-surface:#f8fbff;--thek-bg-panel:#eff6ff;--thek-bg-subtle:#dbeafe;--thek-border:#bfdbfe;--thek-border-strong:#60a5fa;--thek-text-main:#1e3a8a;--thek-text-muted:#1d4ed8;--thek-text-inverse:#fff;--thek-danger:#dc2626;--thek-shadow:0 8px 18px -8px #1d4ed84d}@media (prefers-color-scheme:dark){:root{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}}html[data-thek-theme=gray]{--thek-primary:#374151;--thek-primary-light:#e5e7eb;--thek-bg-surface:#f9fafb;--thek-bg-panel:#f3f4f6;--thek-bg-subtle:#e5e7eb;--thek-border:#d1d5db;--thek-border-strong:#9ca3af;--thek-text-main:#111827;--thek-text-muted:#4b5563;--thek-text-inverse:#fff;--thek-danger:#ef4444;--thek-shadow:0 8px 18px -8px #37415138}@media (prefers-color-scheme:dark){:root{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}}html[data-thek-theme=bootstrap]{--thek-primary:#0d6efd;--thek-primary-light:#cfe2ff;--thek-bg-surface:#fff;--thek-bg-panel:#f8f9fa;--thek-bg-subtle:#e9ecef;--thek-border:#dee2e6;--thek-border-strong:#adb5bd;--thek-text-main:#212529;--thek-text-muted:#6c757d;--thek-text-inverse:#fff;--thek-danger:#dc3545;--thek-shadow:0 10px 20px -10px #21252940;--thek-border-radius:6px}@media (prefers-color-scheme:dark){:root{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}}html[data-thek-theme=tailwind]{--thek-primary:#0ea5e9;--thek-primary-light:#e0f2fe;--thek-bg-surface:#fff;--thek-bg-panel:#f8fafc;--thek-bg-subtle:#f1f5f9;--thek-border:#cbd5e1;--thek-border-strong:#94a3b8;--thek-text-main:#0f172a;--thek-text-muted:#64748b;--thek-text-inverse:#fff;--thek-danger:#f43f5e;--thek-shadow:0 10px 18px -10px #0f172a40;--thek-border-radius:8px}:root{--thek-primary:#0f172a;--thek-primary-light:#f1f5f9;--thek-bg-surface:#fff;--thek-bg-panel:#f8fafc;--thek-bg-subtle:#f1f5f9;--thek-border:#e2e8f0;--thek-border-strong:#cbd5e1;--thek-text-main:#0f172a;--thek-text-muted:#64748b;--thek-text-inverse:#fff;--thek-danger:#ef4444;--thek-shadow:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--thek-input-height:40px;--thek-height-sm:32px;--thek-height-md:40px;--thek-height-lg:48px;--thek-item-padding:8px 10px;--thek-font-family:inherit;--thek-border-radius:8px}@media (prefers-color-scheme:dark){:root{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}}html[data-thek-theme=dark],[data-theme=dark]{--thek-primary:#38bdf8;--thek-primary-light:#38bdf826;--thek-bg-surface:#0f172a;--thek-bg-panel:#334155;--thek-bg-subtle:#475569;--thek-border:#334155;--thek-border-strong:#475569;--thek-text-main:#f8fafc;--thek-text-muted:#94a3b8;--thek-text-inverse:#0f172a;--thek-danger:#f43f5e;--thek-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006}.thek-select{width:100%;font-family:var(--thek-font-family);box-sizing:border-box;position:relative}.thek-select *,.thek-dropdown *{box-sizing:border-box}.thek-control{cursor:pointer;min-height:var(--thek-input-height);background-color:var(--thek-bg-surface);color:var(--thek-text-main);border:1px solid var(--thek-border);border-radius:var(--thek-border-radius);justify-content:space-between;align-items:center;padding:4px 12px;transition:all .2s;display:flex}.thek-control:hover{border-color:var(--thek-primary)}.thek-control:focus-within,.thek-open .thek-control{border-color:var(--thek-primary);box-shadow:0 0 0 3px var(--thek-primary-light)}.thek-disabled .thek-control{opacity:.6;cursor:not-allowed;background-color:var(--thek-bg-subtle)}.thek-selection{flex-wrap:wrap;flex:1;align-items:center;gap:4px;min-width:0;display:flex}.thek-placeholder{color:var(--thek-text-muted)}.thek-single-value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.thek-tag{background-color:var(--thek-primary-light);max-width:100%;color:var(--thek-text-main);border-radius:calc(var(--thek-border-radius) - 2px);-webkit-user-select:none;user-select:none;align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.thek-tag[draggable=true]{cursor:grab}.thek-tag.thek-dragging{opacity:.5}.thek-tag.thek-drag-over{outline:2px dashed var(--thek-primary);outline-offset:2px}.thek-tag-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.thek-tag-remove{width:18px;height:18px;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.thek-tag-remove:hover{background-color:#0f172a14}.thek-tag-remove:focus-visible{outline:2px solid var(--thek-primary);outline-offset:2px}.thek-summary{color:var(--thek-text-muted)}.thek-input{min-width:60px;color:inherit;font:inherit;background:0 0;border:none;outline:none;flex:1;padding:0}.thek-input::placeholder{color:var(--thek-text-muted)}.thek-indicators{color:var(--thek-text-muted);align-items:center;margin-inline-start:8px;display:inline-flex}.thek-chevron,.thek-spinner{flex:none;width:18px;height:18px}.thek-spinner{animation:.9s linear infinite thek-spin}.thek-dropdown{background-color:var(--thek-bg-surface);border:1px solid var(--thek-border);border-radius:var(--thek-border-radius);min-width:0;max-height:min(320px,100vh - 16px);box-shadow:var(--thek-shadow);position:absolute;overflow:hidden}.thek-drop-up{transform-origin:bottom}.thek-search{border-bottom:1px solid var(--thek-border);background-color:var(--thek-bg-panel);padding:8px}.thek-search .thek-input{width:100%;min-height:calc(var(--thek-input-height) - 12px)}.thek-options{overscroll-behavior:contain;background-color:var(--thek-bg-surface);max-height:min(320px,100vh - 16px);padding:4px;overflow:auto}.thek-option,.thek-create,.thek-no-results,.thek-loading{min-height:var(--thek-input-height);padding:var(--thek-item-padding);border-radius:calc(var(--thek-border-radius) - 2px);align-items:center;display:flex}.thek-option,.thek-create{cursor:pointer;color:var(--thek-text-main)}.thek-option:hover,.thek-option.thek-focused,.thek-create:hover,.thek-create.thek-focused{background-color:var(--thek-primary-light)}.thek-option[aria-selected=true]{background-color:var(--thek-primary-light);color:var(--thek-text-main)}.thek-option.thek-disabled{color:var(--thek-text-muted);cursor:not-allowed}.thek-option-label,.thek-create,.thek-no-results,.thek-loading{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}.thek-no-results,.thek-loading{color:var(--thek-text-muted)}.thek-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}html[data-thek-theme=material]{--thek-primary:#6750a4;--thek-primary-light:#eaddff;--thek-bg-surface:#fffbfe;--thek-bg-panel:#f7f2fa;--thek-bg-subtle:#ede7f6;--thek-border:#d0c4dc;--thek-border-strong:#b39ddb;--thek-text-main:#1d1b20;--thek-text-muted:#625b71;--thek-text-inverse:#fff;--thek-danger:#b3261e;--thek-shadow:0 10px 20px -10px #6750a459;--thek-border-radius:10px}:root{--page-bg:#fdfdfd;--container-bg:#fff;--sidebar-bg:#f8fafc;--brand-color:#0f172a;--accent:#0f172a;--text-main:#1e293b;--text-muted:#64748b;--border-color:#e2e8f0}[data-showcase-theme=dark]{--page-bg:#020617;--container-bg:#0f172a;--sidebar-bg:#0f172a;--brand-color:#38bdf8;--accent:#38bdf8;--text-main:#f8fafc;--text-muted:#94a3b8;--border-color:#334155}[data-showcase-theme=gray]{--page-bg:#c6c7c8;--container-bg:#bbb;--sidebar-bg:#374151;--brand-color:#111827;--accent:#e5e7eb;--sidebar-text:#d1d5db;--text-main:#111827;--text-muted:#4b5563;--border-color:#d1d5db;--thek-primary:#111827;--thek-primary-light:#e5e7eb;--thek-bg-surface:#bbb;--thek-bg-panel:#a1a1a1;--thek-border:#999;--thek-text-main:#111827}[data-showcase-theme=red]{--page-bg:#fef2f2;--container-bg:#fff;--sidebar-bg:#7f1d1d;--brand-color:#991b1b;--accent:#fee2e2;--sidebar-text:#fca5a5;--text-main:#450a0a;--text-muted:#991b1b;--border-color:#fecdd3;--thek-primary:#991b1b;--thek-primary-light:#fee2e2;--thek-bg-surface:#fff;--thek-border:#fca5a5;--thek-text-main:#450a0a}[data-showcase-theme=blue]{--page-bg:#eff6ff;--container-bg:#fff;--sidebar-bg:#1e3a8a;--brand-color:#1e40af;--accent:#dbeafe;--sidebar-text:#93c5fd;--text-main:#1e3a8a;--text-muted:#1d4ed8;--border-color:#bfdbfe;--thek-primary:#1e40af;--thek-primary-light:#dbeafe;--thek-bg-surface:#fff;--thek-border:#bfdbfe;--thek-text-main:#1e3a8a}[data-showcase-theme=green]{--page-bg:#f0fdf4;--container-bg:#fff;--sidebar-bg:#064e3b;--brand-color:#15803d;--accent:#dcfce7;--sidebar-text:#86efac;--text-main:#064e3b;--text-muted:#166534;--border-color:#bbf7d0;--thek-primary:#15803d;--thek-primary-light:#dcfce7;--thek-bg-surface:#fff;--thek-border:#86efac;--thek-text-main:#064e3b}body{color:var(--text-main);background-color:var(--page-bg);margin:0;padding:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6}.showcase-toolbar{background:var(--container-bg);border-bottom:1px solid var(--border-color);z-index:1001;box-sizing:border-box;justify-content:flex-end;align-items:center;gap:16px;height:56px;padding:8px 20px;display:flex;position:fixed;top:0;left:0;right:0}.toolbar-group{align-items:center;gap:8px;display:flex}.toolbar-group label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:700}.toolbar-group select{border:1px solid var(--border-color);background:var(--container-bg);color:var(--text-main);border-radius:6px;padding:6px 8px;font-size:.85rem}.app-container{grid-template-columns:220px 1fr;min-height:100vh;margin-top:56px;display:grid}aside{background-color:var(--sidebar-bg);color:var(--sidebar-text,var(--text-muted));border-right:1px solid var(--border-color);box-sizing:border-box;height:calc(100vh - 56px);padding:24px 20px;position:sticky;top:56px}main{max-width:1000px;padding:32px 48px}.logo{color:var(--accent);align-items:center;gap:10px;margin-bottom:24px;font-size:1.25rem;font-weight:800;display:flex}nav ul{margin:0;padding:0;list-style:none}nav li{margin-bottom:4px}nav a{color:var(--sidebar-text,var(--text-muted));border-radius:6px;padding:6px 10px;font-size:.9rem;font-weight:500;text-decoration:none;transition:all .2s;display:block}nav a:hover,nav a.active{color:var(--accent);background-color:#ffffff1a}.theme-toggle{gap:8px;display:grid}.theme-toggle-option{color:var(--sidebar-text,var(--text-muted));cursor:pointer;align-items:center;gap:8px;font-size:.8rem;display:flex}.theme-toggle-option input{accent-color:var(--accent);margin:0}h1{color:var(--brand-color);margin-bottom:4px;font-size:1.75rem;font-weight:800}.description{color:var(--text-muted);margin-bottom:32px;font-size:.95rem}section{margin-bottom:48px;scroll-margin-top:40px}h2{color:var(--brand-color);align-items:center;gap:10px;margin-bottom:12px;font-size:1.25rem;font-weight:700;display:flex}h2 i{color:var(--text-muted);font-size:1rem}.demo-card{background:var(--container-bg);border:1px solid var(--border-color);border-radius:10px;margin-bottom:16px;overflow:hidden;box-shadow:0 1px 2px #0000000d}.demo-content{padding:20px}.demo-footer{background:var(--sidebar-bg);border-top:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:12px 20px;display:flex}.code-snippet{color:#e2e8f0;background:#0f172a;border-radius:8px;margin-top:12px;padding:16px;font-family:Fira Code,Courier New,monospace;font-size:.8rem;line-height:1.4;display:none;position:relative}.code-snippet.visible{display:block}.toggle-code{border:1px solid var(--border-color);color:var(--text-muted);cursor:pointer;text-transform:uppercase;letter-spacing:.05em;background:0 0;border-radius:4px;margin-top:12px;padding:3px 10px;font-size:.7rem;font-weight:700;transition:all .2s}.toggle-code:hover{border-color:var(--brand-color);color:var(--brand-color)}[data-showcase-theme=dark] .code-snippet{background:#000}.code-snippet:before{content:"JAVASCRIPT";color:#475569;letter-spacing:.05em;font-size:.6rem;font-weight:700;position:absolute;top:8px;right:12px}.event-log-container{margin-top:16px}.event-log-header{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;justify-content:space-between;margin-bottom:6px;font-size:.7rem;font-weight:700;display:flex}.event-log{background:var(--container-bg);border:1px solid var(--border-color);border-radius:8px;height:80px;padding:10px;font-family:monospace;font-size:.75rem;overflow-y:auto}[data-showcase-theme=dark] .event-log{background:var(--sidebar-bg)}.log-entry{border-bottom:1px solid var(--border-color);gap:10px;padding:2px 0;display:flex}.log-time{color:var(--text-muted);flex-shrink:0}.log-msg{color:var(--text-main)}.badge{background:var(--border-color);color:var(--text-muted);border-radius:9999px;align-items:center;padding:2px 8px;font-size:.65rem;font-weight:600;display:inline-flex}.api-btn{border:1px solid var(--border-color);background:var(--container-bg);color:var(--text-main);cursor:pointer;border-radius:6px;padding:6px 12px;font-size:.8rem;font-weight:600;transition:all .2s}.api-btn:hover{background:var(--sidebar-bg);border-color:var(--brand-color)}.btn-danger{color:#ef4444}.btn-danger:hover{background:#fef2f2;border-color:#ef4444}.configurator-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:24px;display:grid}.configurator-settings{grid-column:span 2}.configurator-settings-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.configurator-preview{grid-column:span 2}#configurator select,#configurator input[type=number],#configurator input[type=text]{background:var(--container-bg)!important;color:var(--text-main)!important;border-color:var(--border-color)!important}#config-json-output .css-selector{color:#60a5fa;font-weight:700}#config-json-output .css-var{color:#f59e0b}#config-json-output .css-value{color:#34d399}#config-json-output .css-punct{color:#94a3b8}@media (width<=1100px){.configurator-grid{grid-template-columns:1fr 1fr}.configurator-settings,.configurator-preview{grid-column:span 2}}@media (width<=700px){.configurator-settings-grid{grid-template-columns:1fr}}@media (width<=900px){.showcase-toolbar{flex-wrap:wrap;gap:10px;height:auto;padding:8px 12px}.app-container{grid-template-columns:1fr;margin-top:72px}aside{display:none}main{padding:24px 20px}}
