.studio-header .accent-strip{z-index:65;background:var(--card);box-shadow:none;opacity:0;visibility:hidden;border-bottom:1px solid #0000;grid-template-rows:0fr;transition:grid-template-rows .32s cubic-bezier(.2,0,0,1),opacity .2s,transform .32s cubic-bezier(.2,0,0,1),visibility .32s;display:grid;position:absolute;top:100%;left:0;right:0;transform:translateY(-8px)}.studio-header .accent-strip.is-open{opacity:1;visibility:visible;border-color:var(--border);grid-template-rows:1fr;transform:translateY(0);box-shadow:0 8px 18px #0000000b}.accent-strip-inner{width:100%;max-width:780px;min-height:0;margin:auto;overflow:hidden}.accent-swatches{scrollbar-width:thin;align-items:center;gap:14px;padding:17px 20px 8px;display:flex;overflow-x:auto}.accent-swatch,.accent-custom{border:3px solid var(--card);outline-offset:2px;background:var(--swatch,var(--soft));color:#fff;opacity:0;border-radius:50%;outline:2px solid #0000;flex:0 0 44px;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;transition:transform .3s cubic-bezier(.2,0,0,1),opacity .2s;display:grid;position:relative;transform:translateY(-5px)}.is-open .accent-swatch,.is-open .accent-custom{opacity:1;transition-delay:calc(var(--swatch-index)*18ms);transform:translateY(0)}.accent-swatch[aria-pressed=true]{outline-color:var(--primary)}.accent-custom{color:var(--foreground);cursor:pointer;border:1px dashed var(--muted)}.accent-custom input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.accent-strip p{align-items:center;gap:12px;margin:0;padding:3px 20px 13px;font-size:13px;font-weight:650;display:flex}.accent-strip p small{color:var(--muted);font-size:11px;font-weight:400}html[data-accent] :is(button.primary,a.primary,.np-run,.hx-drop-btn,.merge-result-download,.mobile-add-control){background:var(--primary)!important;color:var(--primary-foreground)!important}html[data-accent] .bg-primary{color:var(--primary-foreground)}html[data-accent] :is(input[type=checkbox],input[type=radio]){accent-color:var(--primary)}html[data-accent] :focus-visible{outline-color:var(--primary)}@media (prefers-reduced-motion:reduce){.studio-header .accent-strip,.accent-swatch,.accent-custom{transition:none!important}}html[data-accent] .studio-shell,html[data-accent] .app-sidebar{--primary:var(--theme-accent);--primary-ink:var(--primary-foreground);--primary-hover:var(--theme-accent)}.studio-header.studio-shared{z-index:40;background:var(--card);border-bottom:1px solid var(--border);-webkit-backdrop-filter:none;backdrop-filter:none;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;min-height:72px;padding:8px 16px;display:grid;position:relative;top:auto;transform:none}.studio-header.studio-shared .studio-brand-row{display:contents}.studio-header.studio-shared .studio-brand-row>.studio-wordmark{grid-area:1/1;min-width:0}.studio-header.studio-shared .studio-brand-row>.header-end{flex-wrap:nowrap;grid-area:1/3;align-items:center;gap:10px;margin-left:auto;display:flex}.studio-header.studio-shared>nav{grid-area:1/2;align-items:center;gap:4px;min-width:0;margin:0;display:flex}.studio-header.studio-shared .brand-row-pinned{z-index:40;background:var(--card);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:24px;min-height:72px;padding:8px 16px;display:flex;position:fixed;inset:0 0 auto;box-shadow:0 2px 8px #00000008}.studio-header.studio-shared .brand-row-pinned .header-end{margin-left:auto}.studio-header nav .lab-link{color:var(--primary);gap:6px}.lab-beta{color:#b91c1c;text-transform:uppercase;background:#fee2e2;border-radius:6px;padding:3px 6px;font-size:.65rem;font-weight:750;line-height:1.2;display:inline-flex}[data-theme=dark] .lab-beta{color:#ffb4bd;background:#4c1821}@media (max-width:767px){.studio-header.studio-shared{grid-template-rows:44px auto;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;min-height:64px;padding:10px 16px}.studio-header.studio-shared .wordmark-lockup{width:130px;height:33px}.studio-header.studio-shared .studio-brand-row>.header-end{grid-column:2;gap:6px}.studio-header.studio-shared .header-end .source-top{white-space:nowrap;padding:0 10px;font-size:12px}.studio-header.studio-shared>nav{border-top:1px solid var(--border);flex-wrap:wrap;grid-area:2/1/auto/-1;gap:4px;width:100%;padding:6px 0 0}.studio-header.studio-shared>nav>a,.studio-header.studio-shared>nav>button{min-height:44px;padding:0 10px;font-size:14px}.studio-header.studio-shared .brand-row-pinned{gap:12px;min-height:64px;padding:10px 16px}}.studio-header.studio-shared{text-align:left;width:100%;max-width:none;color:var(--foreground);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.4}.studio-header.studio-shared .studio-wordmark{background:0 0;border:0;flex-shrink:0;margin:0;padding:0;text-decoration:none}.studio-header.studio-shared .wordmark-lockup{object-fit:contain;width:160px;max-width:none;height:40px}.studio-header.studio-shared>nav>a,.studio-header.studio-shared>nav>button{border-radius:9px;min-height:44px;padding:10px 14px;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none}.studio-header.studio-shared .header-end .theme-toggle{border:1px solid var(--border);background:var(--card);width:44px;height:44px;color:var(--foreground);border-radius:12px;flex-shrink:0;place-items:center;padding:0;display:grid}.studio-header.studio-shared .header-end .source-top{white-space:nowrap;border:1px solid var(--border);background:var(--card);min-height:44px;color:var(--foreground);border-radius:12px;padding:0 14px;font-size:14px;font-weight:600}@media (max-width:767px){.studio-header.studio-shared .wordmark-lockup{width:130px;height:33px}.studio-header.studio-shared>nav>a,.studio-header.studio-shared>nav>button{padding:10px;font-size:14px}.studio-header.studio-shared .header-end .source-top{padding-inline:10px;font-size:12px}}@media (min-width:768px){.studio-header.studio-shared{z-index:60;position:sticky;top:0}.studio-header.studio-shared .brand-row-pinned{min-height:0;box-shadow:none;border:0;padding:0;display:contents;position:static}}@media (max-width:767px){.studio-header.studio-shared .brand-row-pinned .source-top{display:none}}.owner-header-link{color:var(--foreground);white-space:nowrap;background:#8b5cf620;border-radius:12px;align-items:center;padding:10px 14px;font-weight:650;display:inline-flex}.owner-header-link:focus-visible{outline-offset:3px;outline:3px solid #9b78ef}@media (max-width:420px){.owner-header-link{padding:8px;font-size:12px}}.studio-header.studio-shared{z-index:60}.studio-header.studio-shared .tools-trigger{min-height:48px;padding:12px 18px;font-size:16px;font-weight:700}.studio-header.studio-shared .tools-panel{overflow:auto;width:auto!important;max-width:none!important;max-height:calc(100dvh - 96px)!important;position:fixed!important;top:80px!important;left:16px!important;right:16px!important}.studio-header.studio-shared .tools-columns{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;width:100%;display:grid}@media (max-width:767px){.studio-header.studio-shared .tools-panel{max-height:calc(100dvh - 146px)!important;top:130px!important;left:8px!important;right:8px!important}.studio-header.studio-shared .tools-columns{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}.navigation-drawer-trigger{border:1px solid var(--border);background:var(--card);width:44px;height:44px;color:var(--foreground);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.navigation-drawer[data-slot=dialog-content]{background:var(--card);color:var(--foreground);flex-direction:column;gap:16px;overflow:hidden;z-index:110!important;border-radius:0 24px 24px 0!important;width:min(440px,94vw)!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:24px!important;display:flex!important;position:fixed!important;inset:0 auto 0 0!important;transform:translate(0,0)!important}.drawer-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.drawer-title-row h2{letter-spacing:-.5px;order:1;margin:0;font-size:24px}.drawer-title-row button{background:var(--soft);border:0;flex:none;order:2}.navigation-drawer>p{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.navigation-drawer-search{border:1px solid var(--border);background:var(--soft);border-radius:14px;align-items:center;gap:10px;min-height:48px;padding:8px 12px;display:flex}.navigation-drawer-search:focus-within{outline:2px solid var(--primary);outline-offset:2px}.navigation-drawer-search input{width:100%;min-width:0;color:inherit;background:0 0;border:0;outline:none;font-size:16px}.navigation-drawer-body{overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;flex:1;gap:14px;min-height:0;padding:2px 4px 12px 0;display:flex;overflow:auto}.drawer-quick-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.drawer-quick-links>a{border:1px solid var(--border);color:var(--foreground);background:var(--soft);border-radius:14px;flex-direction:column;gap:7px;padding:14px 10px;font-size:13px;font-weight:700;text-decoration:none;display:flex}.drawer-quick-links span{color:var(--muted);font-size:10px;font-weight:400;line-height:1.5}.drawer-history,.drawer-category{border:1px solid var(--border);background:var(--card);border-radius:14px;flex-shrink:0;overflow:hidden}.drawer-history>summary,.drawer-category>summary{cursor:pointer;align-items:center;gap:10px;min-height:48px;padding:12px 14px;font-size:14px;font-weight:650;list-style:none;display:flex}.drawer-history summary svg,.drawer-category summary svg{flex:none;margin-left:auto;transition:rotate .2s}.drawer-history[open]>summary svg,.drawer-category[open]>summary svg{rotate:180deg}.drawer-count{color:var(--muted);background:var(--soft);border-radius:6px;margin-left:auto;padding:3px 7px;font-size:11px}.drawer-count+svg{margin-left:0!important}.drawer-history>a,.drawer-history>button,.drawer-category>a{text-align:left;width:calc(100% - 12px);min-height:44px;color:var(--foreground);background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;margin:3px 6px;padding:10px;font-size:13px;line-height:1.5;text-decoration:none;display:flex}.drawer-history span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.drawer-history svg,.drawer-category>a svg{color:var(--primary);flex:none}.drawer-history p{color:var(--muted);margin:10px 14px;font-size:13px}.drawer-history>a:hover,.drawer-history>button:hover,.drawer-category>a:hover,.drawer-quick-links>a:hover{background:var(--soft)}.drawer-popular{background:var(--soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:12px;display:grid}.drawer-popular h2{color:var(--muted);grid-column:1/-1;align-items:center;gap:8px;margin:0 0 5px;font-size:13px;display:flex}.drawer-popular>a{background:var(--card);border:1px solid var(--border);width:100%;margin:0;font-size:12px}.drawer-category.category-0{border-left:3px solid #a784ee}.drawer-category.category-1{border-left:3px solid #ef9d54}.drawer-category.category-2{border-left:3px solid #56b8af}.drawer-category.category-3{border-left:3px solid #729bdd}.drawer-category.category-4{border-left:3px solid #c589d0}.drawer-site-links{border-top:1px solid var(--border);grid-template-columns:repeat(2,1fr);gap:8px;padding-top:16px;display:grid}.drawer-site-links>a{min-height:44px;color:var(--muted);border-radius:10px;align-items:center;padding:9px 12px;font-size:13px;text-decoration:none;display:flex}.drawer-site-links>a:hover{background:var(--soft);color:var(--foreground)}.drawer-support{border-top:1px solid var(--border);padding-top:16px;padding-bottom:env(safe-area-inset-bottom);flex-shrink:0;gap:10px;display:grid}.drawer-donate{color:#44330d;background:#ffdf85;border:1px solid #f2c95d;border-radius:14px;justify-content:center;align-items:center;gap:10px;min-height:48px;font-weight:750;text-decoration:none;display:flex}.drawer-donate:hover{background:#f7d164}.drawer-donate:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}.drawer-history>summary:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}.drawer-category>summary:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}.mobile-drawer-install .source-top{justify-content:center;width:100%;min-height:44px}.mobile-drawer-install .install-help{max-height:120px;overflow:auto}.studio-header.studio-shared .studio-wordmark{align-items:center;gap:8px;display:flex}.studio-header.studio-shared{grid-template-columns:208px minmax(0,1fr) auto}@media (max-width:767px){.navigation-drawer[data-slot=dialog-content]{gap:14px;width:min(390px,94vw)!important;padding:18px!important}.studio-header.studio-shared{grid-template-columns:178px minmax(0,1fr)}.drawer-title-row h2{font-size:22px}.drawer-support{padding-top:12px}.mobile-drawer-install .install-app{width:100%}.mobile-drawer-install .source-top{background:var(--primary);color:#fff;border-radius:12px;gap:8px;display:flex}.drawer-quick-links>a{padding:12px 8px}}@media (prefers-reduced-motion:reduce){.drawer-history summary svg,.drawer-category summary svg{transition:none}}
