.template-library,.template-library [class*=text-zinc-800],.template-library [class*=text-zinc-950]{color:var(--studio-text)}.template-library [class*=text-zinc-400],.template-library [class*=text-zinc-500],.template-library [class*=text-zinc-600]{color:var(--studio-muted)}.template-library [class*=bg-white],.template-library [class*=bg-zinc-100],.template-library [class*=bg-zinc-50]{background-color:var(--studio-panel)}.template-library [class*=border-zinc-]{border-color:var(--studio-line)}.template-library [class*=bg-zinc-950]{background:var(--studio-text);color:var(--studio-bg)}.template-library a:focus-visible,.template-library button:focus-visible,.template-library summary:focus-visible{outline:2px solid var(--studio-accent);outline-offset:3px}.template-library button:disabled{cursor:not-allowed;opacity:.5}.template-card-actions{background:transparent}.template-card-preview{background:var(--studio-panel);color:var(--studio-text)}.template-dialog{margin:auto;max-height:calc(100dvh - 2rem);overflow-y:auto;background:var(--studio-bg);color:var(--studio-text);border-color:var(--studio-line)}.template-dialog::backdrop{background:rgba(0,0,0,.6);backdrop-filter:blur(5px)}.template-dialog [class*="text-white/"]{color:var(--studio-muted)}.template-dialog [class*="border-white/"]{border-color:var(--studio-line)}.template-dialog [class*="bg-[#080808]"],.template-dialog [class*="bg-black/"]{background:var(--studio-panel)}.template-dialog [class*=text-white]:not([class*="text-white/"]){color:var(--studio-text)}.template-dialog input,.template-dialog select,.template-dialog textarea{color:var(--studio-text);background:var(--studio-panel);border-color:var(--studio-line)}.template-dialog option{background:var(--studio-bg);color:var(--studio-text)}.template-dialog form{max-width:none;border:0;border-radius:0}.template-modal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem;border-bottom:1px solid var(--studio-line)}.template-modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:1rem 1.2rem;border-top:1px solid var(--studio-line)}.template-icon-button{display:grid;place-items:center;width:2.25rem;height:2.25rem;border:1px solid var(--studio-line);border-radius:.75rem}.template-readonly-node{width:260px;height:180px;overflow:hidden;background:var(--studio-panel);color:var(--studio-text);border:1px solid var(--studio-line);border-radius:12px}.template-structure{background:var(--studio-bg);border-color:var(--studio-line)}.template-library .template-selected{background:color-mix(in srgb,var(--studio-accent) 12%,var(--studio-panel));color:var(--studio-primary);box-shadow:none}.template-dialog .studio-primary{background:var(--studio-primary);color:#fff}.template-dialog.studio-dark .studio-primary{color:#211d30}.template-dialog .bg-white{background:var(--studio-text);color:var(--studio-bg)}.template-dialog .template-modal-footer .studio-primary{background:var(--studio-primary)}.template-library input,.template-library select{color:var(--studio-text)}.template-main-cover img{object-fit:contain}.template-dialog .template-main-cover{background:#17171a}.template-dialog.template-preview-dialog{width:min(980px,calc(100vw - 48px));height:min(860px,calc(100dvh - 64px));max-height:none;overflow:hidden;border-radius:20px;background:var(--studio-panel)}.template-preview-content{display:flex;flex-direction:column;height:100%;min-height:0}.template-preview-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px;padding:22px 28px;border-bottom:1px solid var(--studio-line)}.template-preview-heading{display:flex;align-items:center;gap:14px;min-width:0}.template-preview-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:13px;color:var(--studio-primary);background:color-mix(in srgb,var(--studio-accent) 11%,var(--studio-panel))}.template-preview-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;padding:24px 28px;background:var(--studio-bg)}.template-preview-summary{margin-bottom:20px}.template-preview-badge{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--studio-line);border-radius:7px;padding:3px 8px;font-size:11px;color:var(--studio-muted);background:var(--studio-panel)}.template-worksheet-intro{margin-bottom:20px;padding:14px 18px;border-radius:12px;background:color-mix(in srgb,var(--studio-accent) 7%,var(--studio-panel));color:var(--studio-text)}.template-worksheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.template-worksheet-section{min-width:0;padding:20px;border:1px solid var(--studio-line);border-radius:14px;background:var(--studio-panel);overflow-wrap:anywhere}.template-worksheet-section:last-child:nth-child(odd){grid-column:1/-1}.template-section-number{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:8px;background:var(--studio-subtle);color:var(--studio-accent);font-size:11px;font-weight:600}.template-preview-structure{margin-top:20px;color:var(--studio-muted);font-size:12px}.template-preview-structure summary{cursor:pointer;width:fit-content;padding-block:6px}.template-preview-media{height:220px;overflow:hidden;border-radius:14px;border:1px solid var(--studio-line)}.template-preview-footer{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;border-top:1px solid var(--studio-line);background:var(--studio-panel)}.template-preview-actions{display:flex;flex-shrink:0;gap:10px}@media (max-width:639px){.template-dialog.template-preview-dialog{width:calc(100vw - 24px);height:min(860px,calc(100dvh - 24px));border-radius:16px}.template-preview-header{padding:16px;gap:8px}.template-preview-heading{gap:10px}.template-preview-scroll{padding:16px}.template-worksheet-grid{grid-template-columns:minmax(0,1fr);gap:12px}.template-worksheet-section{padding:16px}.template-preview-footer{flex-direction:column;align-items:stretch;gap:12px;padding:14px 16px}.template-preview-actions{display:grid;grid-template-columns:auto 1fr}}.CreationLibraryPage_workspace__dlaIL{--canvas-panel-content-inset:16px;min-width:0}.CreationLibraryPage_workspace__dlaIL>div[role=tablist]{max-width:580px;margin-bottom:24px;grid-template-columns:repeat(4,minmax(0,1fr))}.CreationLibraryPage_content__vzHCw{min-width:0;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-surface)}.CreationLibraryPage_content__vzHCw .canvas-panel-body{overflow:visible}.CreationLibraryPage_content__vzHCw .template-library{padding:20px}.CreationLibraryPage_content__vzHCw .canvas-panel-button{width:auto}.CreationLibraryPage_content__vzHCw .canvas-panel-toolbar{max-height:none}.CreationLibraryPage_catalogue__Ab7D8{padding:24px;display:grid;gap:28px}.CreationLibraryPage_filters__UcE64{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,220px);gap:16px}.CreationLibraryPage_filters__UcE64 label,.CreationLibraryPage_search__ZtGsr{display:grid;gap:8px;font-size:13px}.CreationLibraryPage_workspace__dlaIL input,.CreationLibraryPage_workspace__dlaIL select{min-width:0}.CreationLibraryPage_filters__UcE64 input,.CreationLibraryPage_filters__UcE64 select,.CreationLibraryPage_search__ZtGsr input{border:1px solid var(--ui-line);border-radius:10px;padding:10px 12px;background:var(--ui-surface);color:var(--ui-text)}.CreationLibraryPage_catalogue__Ab7D8 h2{font-size:16px;font-weight:600;margin-bottom:16px}.CreationLibraryPage_grid__tBR9g{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:24px}.CreationLibraryPage_card__X9cwd{min-width:0;display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--ui-line);padding:18px 0}.CreationLibraryPage_card__X9cwd h3{font-size:15px;font-weight:600}.CreationLibraryPage_card__X9cwd details,.CreationLibraryPage_card__X9cwd p,.CreationLibraryPage_card__X9cwd>span{color:var(--ui-muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.CreationLibraryPage_card__X9cwd>.CreationLibraryPage_actions__eAfon,.CreationLibraryPage_card__X9cwd>button{margin-top:auto}.CreationLibraryPage_preview__yrI2_{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.CreationLibraryPage_card__X9cwd summary{cursor:pointer;padding:6px 0}.CreationLibraryPage_cover__ncH24{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:var(--ui-subtle)}.CreationLibraryPage_actions__eAfon{display:flex;flex-wrap:wrap;gap:8px}.CreationLibraryPage_empty__Fxe9A{padding:32px 0;color:var(--ui-muted)}.CreationLibraryPage_backdrop__X9gse{position:fixed;inset:0;z-index:130;background:var(--ui-overlay);display:grid;place-items:center;padding:16px}.CreationLibraryPage_dialog__QC5de{margin:auto;width:min(480px,100%);max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-surface-raised);color:var(--ui-text);box-shadow:var(--ui-shadow-popover);display:grid;gap:16px}.CreationLibraryPage_dialog__QC5de header{display:flex;gap:16px;align-items:start;justify-content:space-between}.CreationLibraryPage_dialog__QC5de header h2{font-size:17px;font-weight:600;overflow-wrap:anywhere}.CreationLibraryPage_dialog__QC5de header button{padding:6px;flex-shrink:0}.CreationLibraryPage_dialog__QC5de p{font-size:13px;color:var(--ui-muted);line-height:1.7}.CreationLibraryPage_dialog__QC5de>button{display:flex;justify-content:center;align-items:center;gap:8px;min-height:42px;border-radius:10px}.CreationLibraryPage_projectList__GnHwR{display:grid}.CreationLibraryPage_projectList__GnHwR button{min-height:44px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;border-top:1px solid var(--ui-line);padding:10px 0}.CreationLibraryPage_projectList__GnHwR span{overflow-wrap:anywhere}.CreationLibraryPage_projectList__GnHwR svg{flex-shrink:0}@media(max-width:640px){.CreationLibraryPage_catalogue__Ab7D8{padding:16px}.CreationLibraryPage_filters__UcE64{grid-template-columns:minmax(0,1fr)}.CreationLibraryPage_dialog__QC5de{padding:16px}}.CreationLibraryPage_dialog__QC5de:not([open]){display:none}.CreationLibraryPage_dialog__QC5de::backdrop{background:var(--ui-overlay,#0008)}.CreationLibraryPage_content__vzHCw [role=tablist][aria-label="技能来源"]{grid-template-columns:repeat(3,minmax(0,1fr))}