.library-panel{margin:30px 0 22px}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.library-tabs{display:flex;gap:8px}.library-scenarios button,.library-tabs button{display:inline-flex;align-items:center;gap:7px;border:1px solid transparent;background:transparent;border-radius:10px;padding:10px 17px;color:#696975;font:inherit;cursor:pointer}.library-tabs button{font-size:16px;font-weight:600}.library-tabs button.selected{background:#fff;border-color:#d7d7df;color:#292930;box-shadow:0 2px 7px #20203008}.library-scenarios{display:flex;gap:6px;overflow:auto;margin:17px 0 20px}.library-scenarios button{white-space:nowrap;padding:7px 15px;border-radius:8px;font-size:13px}.library-scenarios button.selected{background:#ececf1;color:#272731;font-weight:600}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.library-card{min-width:0;border:1px solid #e6e6ec;border-radius:15px;overflow:hidden;background:#fff;transition:box-shadow .18s,transform .18s}.library-card:hover{box-shadow:0 8px 25px #2f31420c;transform:translateY(-2px)}.library-cover{aspect-ratio:4/3;position:relative;background:linear-gradient(135deg,#f0f0f4,#e4e5ec);display:grid;place-items:center;color:#adaeba;overflow:hidden}.library-cover>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.library-category{position:absolute;top:13px;left:13px;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 10px;background:#ffffffcb;backdrop-filter:blur(10px);border:1px solid #ffffff8c;color:#31313b;font-size:12px;border-radius:6px}.library-use{position:absolute;right:13px;top:13px;display:flex;align-items:center;justify-content:center;min-width:48px;border:1px solid #ffffffa8;background:#ffffffed;border-radius:7px;padding:6px 11px;font:inherit;font-size:12px;font-weight:600;color:#24242f;box-shadow:0 2px 8px #00000008;cursor:pointer}.library-use:hover{background:#fff}.library-use:disabled{cursor:default;opacity:.65}.library-card-name{padding:16px 18px;min-height:65px}.library-card-name h3{margin:0;font-size:15px;font-weight:600}.library-card-name h3,.library-card-name p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.library-card-name p{margin:7px 0 0;font-size:12px;color:#8b8b96}.library-empty,.library-loading{min-height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;color:#888894;border:1px dashed #dedee6;border-radius:14px;padding:25px}.library-empty h3,.library-empty p{margin:0}.library-empty h3{font-size:16px;color:#535360}.library-empty p{font-size:13px;line-height:1.7;max-width:440px}.library-pagination{display:flex;justify-content:center;align-items:center;gap:18px;padding:20px;font-size:13px;color:#757582}.composer-skills{display:flex;flex-wrap:wrap;gap:7px;padding:14px 18px 0}.skill-chip{display:inline-flex;align-items:center;gap:5px;border-radius:18px;padding:6px 11px 6px 8px;background:#ebebed;color:#27272d;font-size:14px;font-weight:500}.skill-chip button{display:grid;place-items:center;border:0;background:transparent;border-radius:50%;width:19px;height:19px;cursor:pointer;color:inherit}.skill-chip button:hover{background:#d9d9de}.run-skills{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.run-skills span{font-size:12px;color:#72727e;background:#f1f1f5;padding:4px 9px;border-radius:9px}.profile-section+.profile-section{border-top:1px solid #e7e7ee;margin-top:14px;padding-top:20px}.profile-section h3{font-size:15px;margin:0 0 8px}.checkbox-label{display:inline-flex;align-items:center;gap:8px;font-size:13px}.checkbox-label input{width:auto!important}.asset-edit-button{border:1px solid #dddde5;background:#fff;padding:5px 9px;border-radius:7px;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}.asset-edit-button:disabled{opacity:.45;cursor:default}.error-note{color:#b6283b;background:#fff1f2;border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.6}.catalog-filters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.catalog-filters input,.catalog-filters select{padding:9px 11px;border:1px solid #e0e0e8;background:#fff;border-radius:7px;min-width:120px;max-width:210px;font:inherit;font-size:13px}.catalog-title{display:flex;align-items:center;gap:12px}.catalog-title img{width:64px;height:48px;object-fit:cover;border-radius:6px}.catalog-title small{display:block}.catalog-options{border:1px solid #e1e1e9;border-radius:9px;padding:12px;margin:15px 0;display:flex;flex-wrap:wrap;gap:10px 18px;max-height:160px;overflow:auto}.catalog-options legend{font-size:13px;color:#5f5f6e;padding:0 5px}.catalog-options label{display:flex;align-items:center;gap:6px;font-size:13px}.catalog-options input{width:auto}.catalog-upload{display:flex;flex-direction:column;gap:14px;border-radius:10px;background:#f8f8fb;border:1px dashed #d7d7e2;padding:16px;font-size:13px}.catalog-upload label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.catalog-cover-preview{width:180px;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.catalog-versions{border-top:1px solid #e1e1e9;margin-top:20px;padding-top:15px}.catalog-versions h3{font-size:15px}.catalog-version{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #eeeef3;font-size:13px}.catalog-version p{width:100%}.catalog-source{background:#f6f6f9;border:1px solid #e8e8ef;padding:15px;border-radius:8px;max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.catalog-scenarios-admin{margin-top:24px;border-top:1px solid #e5e5eb;padding-top:18px}.catalog-scenarios-admin summary{cursor:pointer;font-weight:600;font-size:14px}.catalog-scenario-row{display:flex;gap:8px;align-items:center;margin:10px 0}.catalog-scenario-row input,.catalog-scenarios-admin form input{padding:8px;border:1px solid #dddde6;border-radius:6px;min-width:0;font:inherit;font-size:13px}.catalog-scenario-row input[type=number]{width:65px}.catalog-scenario-row input:not([type=number]){flex:1}.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.editor-toolbar button{border:1px solid #dddde6;background:#fff;border-radius:7px;font:inherit;padding:7px 10px;font-size:12px;cursor:pointer}.editor-toolbar button.selected{background:#303039;color:#fff;border-color:#303039}.editor-toolbar button:disabled{opacity:.4;cursor:default}.editor-options{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin:10px 0;font-size:12px}.editor-options label{display:flex;align-items:center;gap:8px}.editor-options input:not([type=range]),.editor-options select{border:1px solid #dddde6;border-radius:6px;background:#fff;padding:6px;max-width:220px}.editor-viewport{overflow:auto;max-height:440px;background:#eeeef2;border:1px solid #e0e0e8;border-radius:10px;min-height:160px}.editor-viewport canvas{display:block;max-width:none;touch-action:none;cursor:crosshair;height:auto}.editor-instruction{display:flex;flex-direction:column;gap:8px;margin:16px 0 10px;font-size:13px}.editor-instruction textarea{min-height:80px;width:100%;border:1px solid #dadae4;border-radius:8px;resize:vertical;padding:10px;font:inherit;line-height:1.6}.editor-instruction span{font-size:11px;color:#9999a4;text-align:right}.editor-model{display:flex;align-items:center;gap:12px;font-size:13px}.editor-model select{flex:1;min-width:0;padding:8px;border:1px solid #dadae4;border-radius:7px;background:#fff}.edit-history-item{display:flex;flex-direction:column;text-align:left;gap:6px;width:100%;border:0;border-bottom:1px solid #e8e8ef;background:transparent;padding:10px;font:inherit;font-size:12px;cursor:pointer}.edit-history-item time{color:#8b8b97}.image-editor details{font-size:13px;margin-top:12px}.image-editor summary{cursor:pointer}.asset-edit-button:focus-visible,.editor-toolbar button:focus-visible,.library-panel button:focus-visible,.skill-chip button:focus-visible{outline:2px solid #5550b9;outline-offset:3px}@media(min-width:1700px){.library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1000px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.catalog-filters input,.catalog-filters select{flex:1;max-width:none}}@media(max-width:600px){.library-grid{grid-template-columns:1fr}.library-heading{align-items:stretch}.library-tabs{width:100%}.library-tabs button{flex:1;justify-content:center}.library-card-name{padding:14px}.catalog-scenario-row{flex-wrap:wrap}.catalog-scenario-row input:not([type=number]){flex-basis:60%}.editor-options{gap:10px}.editor-viewport{max-height:320px}.editor-model{align-items:flex-start;flex-direction:column}.editor-model select{width:100%}.composer-skills{padding:12px 12px 0}.skill-chip{font-size:12px}}.dev-doc-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 10px}.dev-doc-toolbar .muted-note{margin-left:auto}.dev-doc-modes{display:inline-flex;border:1px solid #d2d2d7;border-radius:8px;overflow:hidden}.dev-doc-modes button{padding:6px 14px;font-size:12px;color:#6e6e73}.dev-doc-modes button+button{border-left:1px solid #d2d2d7}.dev-doc-modes button.active{background:#f5f5f7;color:#1d1d1f;font-weight:600}.dev-doc-editor{display:grid;gap:12px;height:min(60vh,560px)}.dev-doc-editor.dev-doc-split{grid-template-columns:1fr 1fr}.dev-doc-editor textarea{width:100%;height:100%;resize:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.7;padding:14px;border:1px solid #d2d2d7;border-radius:10px;tab-size:2}.dev-doc-preview{height:100%;overflow:auto;padding:14px 18px;border:1px solid #e8e8ed;border-radius:10px;background:#fff;line-height:1.75;font-size:14px}.dev-doc-preview h1{font-size:24px;font-weight:600;margin:6px 0 14px}.dev-doc-preview table{border-collapse:collapse}.dev-doc-preview td,.dev-doc-preview th{border:1px solid #e8e8ed;padding:6px 10px}.dev-doc-preview a{text-decoration:underline}.dev-doc-preview ol{list-style:decimal}.dev-doc-view{max-height:70vh;overflow:auto}.dev-doc-view .dev-doc-preview{height:auto;border:0;padding:0}.table-actions a{display:inline-flex;align-items:center;gap:4px}.table-actions a svg,.table-actions button svg{flex-shrink:0}@media(max-width:700px){.dev-doc-editor.dev-doc-split{grid-template-columns:1fr;grid-template-rows:1fr 1fr;height:70vh}}.dialog-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.dialog-header-actions .ui-button.dev-docs-link{width:auto;margin:0;text-decoration:none;color:#1d1d1f;background:#fff}.docs-shell{display:flex;min-height:100dvh;background:#f5f5f7}.docs-sidebar{width:260px;flex-shrink:0;background:#fff;border-right:1px solid #e8e8ed;padding:29px 20px;position:sticky;top:0;height:100dvh;overflow:auto;display:flex;flex-direction:column}.docs-back{display:inline-flex;align-items:center;gap:6px;margin-top:20px;font-size:12px;color:#6e6e73;text-decoration:none}.docs-back:hover{color:#1d1d1f}.docs-label{display:flex;align-items:center;gap:7px;color:#6e6e73;font-size:11px;letter-spacing:1px;margin:24px 0 12px}.docs-sidebar nav{display:grid;gap:4px}.docs-sidebar nav button{text-align:left;padding:10px 12px;border-radius:9px;font-size:13px;color:#6e6e73;line-height:1.5}.docs-sidebar nav button:hover{background:#f5f5f7}.docs-sidebar nav button.active{background:#f5f5f7;color:#1d1d1f;font-weight:600}.docs-main{flex:1;min-width:0;padding:24px}.docs-main>.task-error{margin-bottom:20px}.docs-article{width:100%;margin:0;height:auto;overflow:visible;padding:32px 40px;border-radius:15px;border-color:#d2d2d7}.docs-article.loading{opacity:.6}.docs-article table{display:block;max-width:100%;overflow-x:auto}.docs-meta{font-size:11px;color:#86868b}.docs-search{display:flex;align-items:center;gap:7px;margin-top:20px;padding:8px 10px;border:1px solid #e0e0e8;border-radius:8px;color:#86868b;background:#fff}.docs-search:focus-within{border-color:#1d1d1f}.docs-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:13px;color:#1d1d1f}.docs-nav-group{display:grid;gap:2px}.docs-subnav{list-style:none;margin:2px 0 6px 12px;padding:0 0 0 10px;border-left:1px solid #e8e8ed;display:grid;gap:1px}.docs-subnav a,.docs-toc a{display:block;padding:5px 8px;border-radius:6px;font-size:12px;line-height:1.5;color:#6e6e73;text-decoration:none;overflow-wrap:anywhere}.docs-subnav a:hover,.docs-toc a:hover{color:#1d1d1f;background:#f5f5f7}.docs-subnav a.active{color:#1d1d1f;font-weight:600}.docs-article :is(h2,h3){scroll-margin-top:24px}.docs-toc{width:200px;flex-shrink:0;position:sticky;top:0;height:100dvh;overflow:auto;padding:56px 16px 24px 0}.docs-toc ul{list-style:none;margin:0;padding:0;border-left:1px solid #e8e8ed;display:grid;gap:1px}.docs-toc li{margin-left:-1px}.docs-toc a{border-radius:0 6px 6px 0;border-left:2px solid transparent}.docs-toc a.active{color:#1d1d1f;font-weight:600;border-left-color:#1d1d1f}@media(max-width:1100px){.docs-toc{display:none}}@media(max-width:700px){.docs-shell{flex-direction:column}.docs-sidebar{width:100%;height:auto;position:static;border-right:0;border-bottom:1px solid #e8e8ed;padding:18px}.docs-main{padding:18px 12px}.docs-article{padding:20px 16px}}.library-feed-status{display:flex;align-items:center;justify-content:center;gap:12px;min-height:64px;color:#86868b;font-size:13px;text-align:center}.library-feed-status>span{display:inline-flex;align-items:center;gap:8px}.library-feed-status>button:not(.ui-button){padding:8px 16px;border:1px solid #e6e6ec;border-radius:999px;background:#fff;color:#6e6e73;font:inherit;cursor:pointer}.library-browse-more{display:flex;justify-content:center;padding:28px 0 10px}.library-browse-more>button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:8px 20px;border:1px solid #dedee4;border-radius:999px;background:#fff;color:#292930;font:inherit;font-size:14px;line-height:22px;cursor:pointer;transition:background .15s,border-color .15s}.library-browse-more>button:hover{border-color:#c9c9d1;background:#f7f7f9}@media(prefers-reduced-motion:reduce){.library-browse-more>button{transition:none}}.library-filters{gap:14px;margin:18px 0 20px}.library-categories,.library-filters{display:flex;align-items:center;min-width:0}.library-categories{gap:4px;flex:1;overflow-x:auto;scrollbar-width:none}.library-categories::-webkit-scrollbar{display:none}.library-categories button{flex:0 0 auto;border:0;border-radius:999px;background:transparent;color:#6c6c78;font:inherit;font-size:13px;white-space:nowrap;padding:8px 14px;cursor:pointer}.library-categories button:hover{background:#f3f3f6;color:#2b2b33}.library-categories button.selected{background:#ececf1;color:#1d1d1f;font-weight:600}.library-categories button:focus-visible{outline:2px solid #5550b9;outline-offset:2px}@keyframes category-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.library-more{flex-shrink:0;display:inline-flex;align-items:center;gap:2px;border:0;background:transparent;color:#6c6c78;font:inherit;font-size:13px;padding:6px 4px;cursor:pointer;border-radius:6px}.library-more:hover{color:#24242f}.library-more:focus-visible{outline:2px solid #5550b9;outline-offset:2px}.sidebar-nav button.sidebar-nav-disabled{cursor:not-allowed;opacity:.55}.sidebar-nav button.sidebar-nav-disabled:hover{background:transparent;color:#6e6e73}.sidebar-nav-disabled small{margin-left:auto;font-size:10px;color:#9a9aa4;background:#ececf0;border-radius:6px;padding:2px 6px}.home-content.market-content{margin-top:0;padding-top:24px}.market-page{padding-bottom:20px}.market-header{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.market-header h1{margin:0;font-size:26px;font-weight:600;color:#1d1d1f}.market-tabs{display:inline-flex;gap:4px;padding:4px;background:#f0f0f3;border-radius:999px}.market-tabs button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;border-radius:999px;padding:7px 15px;font:inherit;font-size:14px;color:#6c6c78;cursor:pointer}.market-tabs button.selected{background:#fff;color:#1d1d1f;font-weight:600;box-shadow:0 1px 4px #20203012}.market-total{flex-shrink:0;font-size:12px;color:#8b8b96}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.market-grid.is-refreshing{opacity:.6}.market-card{display:flex;flex-direction:column;text-align:left;min-width:0;padding:14px;border:1px solid #e8e8ee;border-radius:18px;background:#fff;font:inherit;color:inherit;cursor:pointer;transition:box-shadow .18s,transform .18s}.market-card:hover{box-shadow:0 10px 28px #2f31420f;transform:translateY(-2px)}.market-card:focus-visible{outline:2px solid #5550b9;outline-offset:3px}.market-cover{position:relative;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#f0f0f4,#e4e5ec);display:grid;place-items:center;color:#adaeba}.market-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.market-badge{position:absolute;right:10px;bottom:10px;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 10px;border-radius:999px;background:#2b2b33b3;color:#fff;font-size:12px;backdrop-filter:blur(6px)}.market-card-body{padding:14px 4px 2px;min-width:0}.market-card-body h3{margin:0;font-size:16px;font-weight:600;color:#1d1d1f;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.market-card-body p{margin:8px 0 0;font-size:13px;line-height:1.6;color:#8b8b96;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:41px}.market-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.market-tags span{font-size:11px;color:#6c6c78;background:#f2f2f5;border-radius:6px;padding:3px 8px}@media(min-width:1700px){.market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1000px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}@media(max-width:600px){.market-grid{grid-template-columns:1fr}.library-filters{gap:8px}.library-categories button{padding:8px 10px}.library-more{margin-left:auto}}.market-page{padding-top:8px}.market-header{gap:14px}.market-header h1{font-size:22px}.market-switch{gap:2px;padding:3px;border-radius:999px;background:#f3f3f5}.market-switch,.market-switch button{display:inline-flex;align-items:center}.market-switch button{gap:5px;padding:6px 12px;border:0;border-radius:999px;background:transparent;color:#777780;font:inherit;font-size:12px;cursor:pointer}.market-switch button.selected{background:#fff;color:#1d1d1f;box-shadow:0 1px 3px #20203014}.market-search{display:flex;align-items:center;gap:7px;width:min(260px,38vw);margin-left:auto;padding:7px 10px;border:1px solid transparent;border-radius:999px;background:#f7f7f8;color:#888891}.market-search:focus-within{border-color:#c9c9d0;background:#fff}.market-search input{width:100%;min-width:0;min-height:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;color:#1d1d1f;font:inherit;font-size:12px}.market-search input::placeholder{color:#909099}.market-filter-bar{margin:26px 0 22px}.market-filter-bar>.library-filters{margin:0;gap:20px}.market-filter-bar .library-categories{padding:3px 2px;scroll-padding-inline:2px}.market-subcategories{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:12px 0 0 14px;padding-left:14px;border-left:2px solid #e9e9ee}.market-subcategories button{padding:6px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#85858f;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}.market-subcategories button:hover{background:#f6f6f8;color:#393940}.market-subcategories button.selected{border-color:#e8e8ed;background:#f6f6f8;color:#2d2d35;font-weight:500}.market-sort{display:inline-flex;gap:2px;flex-shrink:0;margin-left:auto;align-self:center;padding:3px;border-radius:6px;background:#f3f3f5}.market-sort button{padding:5px 10px;border:0;border-radius:4px;background:transparent;color:#8a8a94;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}.market-sort button:hover{color:#303037}.market-sort button.selected{background:#fff;color:#303037;box-shadow:0 1px 3px #2424300b}.market-sort button:focus-visible,.market-subcategories button:focus-visible{outline:2px solid #85858f;outline-offset:3px}.market-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.market-card{position:relative;padding:8px;border-radius:13px}.market-card-open{display:block;width:100%;padding:0;border:0;border-radius:9px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.market-card-open:focus-visible{outline:2px solid #5b86dc;outline-offset:3px}.market-card-open:disabled{cursor:wait}.market-cover{aspect-ratio:16/9;border-radius:9px}.market-card-body{padding:9px 4px 3px}.market-card-body h3{font-size:14px}.market-card-body p{margin-top:5px;font-size:12px;min-height:38px}.market-tags{margin-top:7px}.market-favorite{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:28px;height:28px;border:1px solid #ffffffb8;border-radius:50%;background:#ffffffed;color:#777780;cursor:pointer;box-shadow:0 1px 4px #00000014}.market-favorite.is-favorite,.market-favorite:hover{color:#e74e6b}.market-favorite:disabled{cursor:wait}.market-inline-error{margin:0 0 12px;color:#bd3434;font-size:13px}.library-card{position:relative}.library-favorite{position:absolute;top:10px;right:10px;z-index:1;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #ffffffb8;border-radius:50%;background:#ffffffed;color:#777780;cursor:pointer;box-shadow:0 1px 4px #00000014;transition:color .15s,transform .15s}.library-favorite:hover{transform:scale(1.04)}.library-favorite.is-favorite{color:#e74e6b}.library-favorite:focus-visible{outline:2px solid #5b86dc;outline-offset:2px}.library-favorite:disabled{opacity:.55;cursor:wait}.library-card-open{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.library-card-open:focus-visible{outline:2px solid #5b86dc;outline-offset:3px;border-radius:10px}.library-card-open:disabled{cursor:wait}.library-card-open .library-cover,.library-card-open .library-use{pointer-events:none}.skill-install-dialog{width:min(92vw,1540px)!important;max-height:90dvh!important;padding:28px!important;border-radius:28px!important}.skill-install-dialog>header{padding:0!important;margin:0 0 22px!important;align-items:flex-start}.skill-install-dialog>header>div:first-child{min-width:0}.skill-install-dialog>header h2{font-size:26px!important;line-height:1.35}.skill-install-dialog .dialog-description{margin-top:7px;font-size:17px;line-height:1.6;color:#73737b}.skill-install-dialog .dialog-header-actions{align-self:flex-start;flex-direction:row-reverse;gap:18px}.skill-install-dialog .dialog-header-actions>.ui-button{flex-shrink:0;min-height:52px;padding:0 24px;border-radius:999px;background:#1d1d1f;color:#fff;font-size:16px;font-weight:600}.skill-install-content{min-height:160px;overflow:auto}.skill-install-cover{display:block;width:100%;max-height:64dvh;aspect-ratio:16/9;object-fit:cover;border:1px solid #eeeef1;border-radius:12px;background:#f5f4f0}.skill-install-cover.empty{display:grid;place-items:center;color:#b4b1bd;background:#f5f4f0}@media(max-width:700px){.skill-install-dialog{width:calc(100vw - 24px)!important;padding:18px!important;border-radius:20px!important}.skill-install-dialog>header{gap:10px}.skill-install-dialog>header h2{font-size:20px!important}.skill-install-dialog .dialog-description{font-size:14px}.skill-install-dialog .dialog-header-actions{gap:6px}.skill-install-dialog .dialog-header-actions>.ui-button{min-height:40px;padding:0 12px;font-size:12px}.skill-install-cover{aspect-ratio:4/3;max-height:58dvh}}@media(max-width:1200px){.market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media(max-width:600px){.market-header{gap:8px}.market-header h1{font-size:21px}.market-search{order:3;width:100%;margin-left:0}.market-switch{margin-left:auto}.market-filter-bar{margin:20px 0 18px}.market-filter-bar>.library-filters{gap:10px}.market-subcategories{gap:4px;margin-left:8px;padding-left:8px}.market-subcategories button{padding:6px 9px}}.market-boards{display:grid;gap:26px;margin:24px 0 8px}.market-board-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.market-board-head h2{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:16px;font-weight:600;color:#1d1d1f}.market-board-head h2 svg{color:#e0912a}.market-board-head small,.market-ranking-range{font-size:12px;color:#9a9aa4}.market-board-more{display:inline-flex;align-items:center;gap:2px;margin-left:auto;padding:5px 4px;border:0;border-radius:6px;background:transparent;color:#6c6c78;font:inherit;font-size:13px;cursor:pointer}.market-board-more:hover{color:#24242f}.market-board-more:focus-visible,.market-ranking-back:focus-visible{outline:2px solid #5b86dc;outline-offset:2px}.market-board-empty{display:flex;align-items:center;justify-content:center;gap:8px;min-height:88px;border:1px dashed #e4e4ea;border-radius:13px;color:#8b8b96;font-size:13px}.market-section-title{margin:30px 0 0;font-size:16px;font-weight:600;color:#1d1d1f}.market-section-title+.market-filter-bar{margin-top:14px}.market-rank{position:absolute;top:8px;left:8px;display:grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:#2b2b33b3;color:#fff;font-size:13px;font-weight:700;backdrop-filter:blur(6px)}.market-rank.rank-1{background:#f2b33d}.market-rank.rank-2{background:#a3aab8}.market-rank.rank-3{background:#cf8a55}.market-rank-uses{display:inline-flex;align-items:center;gap:4px;margin-top:7px;padding:3px 8px;border-radius:6px;background:#fff4e6;color:#b8641b;font-size:11px}.market-ranking-back{display:inline-flex;align-items:center;gap:2px;margin:0 0 10px -4px;padding:5px 4px;border:0;border-radius:6px;background:transparent;color:#6c6c78;font:inherit;font-size:13px;cursor:pointer}.market-ranking-back:hover{color:#24242f}.market-ranking-view .market-header{margin-bottom:22px}@media(max-width:600px){.market-board-head{flex-wrap:wrap}.market-board-head small{order:3;width:100%}}.recent-item{position:relative;display:flex;align-items:center;border-radius:7px}.recent-item>button:first-child{padding-right:36px}.recent-item.menu-open>button:first-child,.recent-item:hover>button:first-child{background:#e8e8ed;color:#1d1d1f}.recent-list .recent-item .conversation-more{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:7px;background:transparent;color:#6e6e73;cursor:pointer;opacity:0;transition:opacity .12s,background .12s}.recent-list .recent-item .conversation-more.open,.recent-list .recent-item .conversation-more:focus-visible,.recent-list .recent-item.selected .conversation-more,.recent-list .recent-item:hover .conversation-more{opacity:1}.recent-list .recent-item .conversation-more.open,.recent-list .recent-item .conversation-more:hover{background:#dcdce3;color:#1d1d1f}.conversation-more:focus-visible{outline:2px solid #5550b9;outline-offset:1px}@media(hover:none){.recent-list .recent-item .conversation-more{opacity:1}}.conversation-menu{position:fixed;z-index:80;min-width:150px;padding:6px;background:#fff;border:1px solid #ececf1;border-radius:14px;box-shadow:0 14px 36px #1e1e2a1f,0 2px 6px #1e1e2a0f;animation:category-menu-in .14s ease-out}.conversation-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border:0;border-radius:9px;background:transparent;font:inherit;font-size:13px;color:#2a2a33;text-align:left;cursor:pointer}.conversation-menu button:focus-visible,.conversation-menu button:hover{background:#f2f2f6;outline:none}.conversation-menu button.danger{color:#d93a3a}.conversation-menu button.danger:focus-visible,.conversation-menu button.danger:hover{background:#fdf0f0}@media(prefers-reduced-motion:reduce){.conversation-menu{animation:none}}.history-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.history-actions .danger-text{color:#d93a3a}.history-actions .danger-text:hover{background:#fdf0f0;color:#c42f2f}.sidebar-nav button.workspace-nav{align-items:center}.workspace-nav-text{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0}.workspace-nav-text small{max-width:110px;font-size:11px;color:#6e6e73;background:#ececf0;border-radius:6px;padding:2px 7px}.breadcrumb-link,.workspace-nav-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb-link{border:0;background:transparent;font:inherit;padding:2px 4px;margin:-2px -4px;border-radius:6px;cursor:pointer;max-width:200px}.breadcrumb-link:hover{background:#f0f0f3;color:#1d1d1f}.workspace-toolbar{justify-content:space-between}.workspace-toolbar .ui-button{width:auto;margin:0}.workspace-tabs{display:inline-flex;gap:4px;padding:4px;background:#f0f0f3;border-radius:999px}.workspace-tabs button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;border-radius:999px;padding:6px 14px;font:inherit;font-size:13px;color:#6c6c78;cursor:pointer}.workspace-tabs button.selected{background:#fff;color:#1d1d1f;font-weight:600;box-shadow:0 1px 4px #20203012}.workspace-list{display:grid;gap:4px;max-height:min(55vh,480px);overflow:auto}.workspace-row{display:flex;align-items:center;gap:8px;border-radius:12px;padding:4px 6px 4px 4px;transition:background .12s}.workspace-row.active,.workspace-row:hover{background:#f4f4f7}.workspace-pick{flex:1;min-width:0;display:flex;align-items:center;gap:12px;border:0;background:transparent;padding:8px;font:inherit;text-align:left;cursor:pointer;border-radius:10px;color:inherit}.workspace-pick:disabled{cursor:default}.workspace-pick:focus-visible{outline:2px solid #5550b9;outline-offset:1px}.workspace-icon{flex-shrink:0;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#ececf1;color:#4a4a55}.workspace-row.active .workspace-icon{background:#24242c;color:#fff}.workspace-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.workspace-text strong{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#1d1d1f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-text strong em{font-style:normal;font-size:10px;font-weight:500;color:#6e6e73;background:#e6e6ec;border-radius:5px;padding:1px 6px}.workspace-text small{font-size:12px;color:#8b8b96;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-check{flex-shrink:0;color:#24242c}.workspace-row-actions{display:flex;gap:2px;flex-shrink:0;opacity:0;transition:opacity .12s}.workspace-row.active .workspace-row-actions,.workspace-row:focus-within .workspace-row-actions,.workspace-row:hover .workspace-row-actions{opacity:1}.workspace-row-actions .ui-button{width:auto;margin:0;color:#5c5c66}@media(hover:none){.workspace-row-actions{opacity:1}}.workspace-hint{margin:10px 8px 4px;font-size:12px;color:#8b8b96;line-height:1.7}.topbar-files{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 11px;border:1px solid #e3e3ea;border-radius:999px;background:#fff;font:inherit;font-size:12px;color:#4a4a55;cursor:pointer;margin-right:4px}.topbar-files:hover{background:#f6f6f9;color:#1d1d1f}.topbar-files.active{background:#24242c;border-color:#24242c;color:#fff}.topbar-files:focus-visible{outline:2px solid #5550b9;outline-offset:2px}.run-context{align-items:center;color:#8b8b96}.files-panel,.run-context>svg{flex-shrink:0}.files-panel{position:relative;width:380px;display:flex;flex-direction:column;border-left:1px solid #e8e8ed;background:#fbfbfd;padding:0 18px 18px;overflow:hidden}.files-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:64px}.files-header>strong{flex:1;min-width:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-title{display:flex;align-items:baseline;gap:8px;min-width:0}.files-title strong{font-size:16px}.files-title small{font-size:12px;color:#8b8b96;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.files-intro{margin:0 0 14px;font-size:12px;line-height:1.7;color:#7a7a85}.files-actions{display:flex;gap:8px;margin-bottom:12px}.files-actions .ui-button{width:auto;margin:0;flex:1}.files-search{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #e5e5ec;border-radius:9px;background:#fff;color:#8a8a95;margin-bottom:10px}.files-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font:inherit;font-size:13px}.files-search:focus-within{border-color:#c9c9d4}.files-list{flex:1;min-height:0;overflow:auto;display:grid;align-content:start;gap:2px;margin:0 -6px;padding:0 6px;scrollbar-width:thin}.file-row{display:flex;align-items:center;gap:4px;border-radius:10px}.file-row:hover{background:#f0f0f4}.file-row.muted .file-text strong{color:#8b8b96}.file-open{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:9px 8px;border:0;background:transparent;font:inherit;text-align:left;cursor:pointer;border-radius:10px;color:inherit}.file-open:focus-visible{outline:2px solid #5550b9;outline-offset:-2px}.file-icon{flex-shrink:0;display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#ececf1;color:#55555f}.file-icon.doc{background:#ebeafb;color:#4b46b0}.file-text{display:flex;flex-direction:column;gap:2px;min-width:0}.file-text strong{font-size:13px;font-weight:500;color:#1d1d1f}.file-text small,.file-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-text small{font-size:11px;color:#8b8b96}.file-toggle{flex-shrink:0;color:#8b8b96}.file-toggle[aria-pressed=true]{color:#3d3d47}.files-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 16px;text-align:center;color:#9a9aa5}.files-empty p{margin:0;font-size:13px;color:#6e6e73}.files-empty small{font-size:12px;line-height:1.6}.files-panel.dragging{background:#f4f4fb}.files-drop{position:absolute;inset:10px;flex-direction:column;justify-content:center;gap:10px;border:2px dashed #9e9bd9;border-radius:14px;background:#ffffffd9;color:#4b46b0;font-size:13px;pointer-events:none}.file-detail-meta,.files-drop{display:flex;align-items:center}.file-detail-meta{flex-wrap:wrap;gap:8px;font-size:12px;color:#8b8b96;margin-bottom:12px}.file-type{font-size:11px;color:#4a4a55;background:#ececf1;border-radius:6px;padding:2px 8px}.file-detail-actions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.file-detail-actions .ui-button{width:auto;margin:0}.file-detail-body{flex:1;min-height:0;overflow:auto;background:#fff;border:1px solid #e8e8ef;border-radius:10px;padding:14px 16px;font-size:13px;line-height:1.75;overflow-wrap:anywhere}.file-detail-body pre{margin:0;white-space:pre-wrap;font:inherit}.file-note{font-size:13px;line-height:1.7;color:#6e6e73;background:#f3f3f6;border-radius:10px;padding:12px 14px}.doc-editor{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}.doc-title{border:0;border-bottom:1px solid #e5e5ec;background:transparent;padding:6px 2px 10px;font:inherit;font-size:18px;font-weight:600;color:#1d1d1f;outline:none}.doc-title:focus{border-color:#9e9bd9}.doc-editor textarea{flex:1;min-height:200px;resize:none;border:1px solid #e5e5ec;border-radius:10px;background:#fff;padding:12px 14px;font:inherit;font-size:13px;line-height:1.75;outline:none}.doc-editor textarea:focus{border-color:#c9c9d4}.doc-editor footer{display:flex;align-items:center;justify-content:space-between}.doc-editor footer small{font-size:11px;color:#9a9aa5}.doc-editor footer>div{display:flex;gap:6px}.doc-editor footer .ui-button{width:auto;margin:0}@media(max-width:1100px){.files-panel{position:fixed;right:0;top:0;bottom:0;z-index:45;box-shadow:-15px 0 50px #00000018;width:min(380px,100vw)}}@media(max-width:700px){.topbar-files span{display:none}.topbar-files{width:32px;padding:0;justify-content:center}}.market-mobile-menu{margin:14px 20px 0;flex-shrink:0}.catalog-list-top{scroll-margin-top:24px}.catalog-pagination{display:flex;align-items:center;gap:10px;margin-top:28px;padding-bottom:8px}.catalog-page-gap,.catalog-pagination button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:40px;height:40px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#252529;font:inherit;font-size:14px}.catalog-pagination button{cursor:pointer}.catalog-pagination .catalog-page-arrow{background:#f7f7f8}.catalog-pagination button:hover:not(:disabled){background:#eeeef1}.catalog-pagination button[aria-current=page]{background:#222225;color:#fff;font-weight:600}.catalog-pagination button[aria-current=page]:hover{background:#222225}.catalog-pagination button:disabled{cursor:default;opacity:.4}.catalog-pagination button:focus-visible{outline:2px solid #85858f;outline-offset:3px}.catalog-page-gap{min-width:24px;padding:0}@media(max-width:600px){.catalog-pagination{gap:4px}.catalog-pagination button{min-width:30px;height:36px;padding:0 7px;font-size:12px}.catalog-page-gap{min-width:16px}}