:root{
  color-scheme:light;--ink:#173b35;--muted:#6d7e77;--line:#dfe7e2;--paper:#fbfcf9;--surface:#fff;--soft:#eef5f1;--accent:#0c7566;--accent-dark:#07594f;--warm:#b8793f;--danger:#a13f35;
  --radius-sm:10px;--radius:16px;--radius-lg:24px;--shadow:0 18px 50px rgba(27,61,53,.09);--focus:0 0 0 3px rgba(12,117,102,.22);
  font:15px/1.55 Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;
}
[hidden]{display:none!important}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:linear-gradient(180deg,#f6faf7 0,#fbfcf9 350px)}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}.skip-link{position:fixed;z-index:20;top:8px;left:8px;transform:translateY(-150%);padding:9px 14px;border-radius:8px;color:white;background:var(--accent)}.skip-link:focus{transform:none}.site-header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid var(--line);background:rgba(255,255,255,.88);backdrop-filter:blur(12px);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:19px;font-weight:800}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:white;background:var(--accent);box-shadow:inset 0 -4px 0 rgba(0,0,0,.14)}.header-note{font-size:12px;color:var(--muted);letter-spacing:.1em}.page-shell{max-width:1240px;margin:0 auto;padding:44px 24px 70px}.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,540px);align-items:end;gap:40px;padding:0 0 34px}.eyebrow,.scope-label{margin:0;color:var(--warm);font-size:12px;font-weight:800;letter-spacing:.14em}.hero h1{max-width:620px;margin:8px 0 8px;font-size:clamp(30px,4vw,52px);line-height:1.14;letter-spacing:-.045em}.intro{margin:0;color:var(--muted);font-size:16px}.search{display:flex;gap:10px}.search-field{height:52px;display:flex;align-items:center;flex:1;min-width:0;border:1px solid #cfdbd5;border-radius:14px;background:white;box-shadow:0 9px 25px rgba(30,72,62,.06)}.search-field:focus-within{border-color:var(--accent);box-shadow:var(--focus)}.search-icon{padding-left:15px;color:var(--accent);font-size:24px}.search input{width:100%;min-width:0;border:0;outline:0;padding:0 10px;color:var(--ink);background:transparent}.clear-query{width:42px;height:42px;border:0;color:var(--muted);background:transparent;font-size:22px}.search-button{min-width:92px;border:0;border-radius:14px;color:white;background:var(--accent);font-weight:750}.search-button:hover{background:var(--accent-dark)}.search-hint{grid-column:2;margin:8px 0 0;color:var(--muted);font-size:12px}.notice{margin:0 0 18px;padding:11px 14px;border:1px solid #d7e6df;border-radius:12px;color:#41685f;background:#f1f8f5}.catalog-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:34px}.primary-categories{align-self:start;position:sticky;top:98px;display:flex;flex-direction:column;gap:7px}.primary-categories>div{display:contents}.category-button{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 13px;border:1px solid transparent;border-radius:12px;color:var(--muted);background:transparent;text-align:left}.category-button small{min-width:24px;padding:2px 7px;border-radius:999px;color:#789087;background:#eaf1ed;text-align:center}.category-button:hover{background:#f0f5f2}.category-button.active{border-color:#cfe2da;color:var(--accent-dark);background:#e8f4ef;font-weight:750}.category-button.active small{color:white;background:var(--accent)}.catalog-content{min-width:0}.secondary-wrap{display:flex;align-items:flex-start;gap:16px;margin-bottom:22px;padding:14px;border:1px solid var(--line);border-radius:14px;background:white}.secondary-wrap>p{margin:7px 0;color:var(--muted);font-size:12px;white-space:nowrap}.secondary-categories{display:flex;flex-wrap:wrap;gap:7px}.secondary-categories button{min-height:34px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:white}.secondary-categories button.active{border-color:var(--accent);color:white;background:var(--accent)}.result-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.result-head h2{margin:4px 0 0;font-size:25px}.result-head #status{margin:0;color:var(--muted);font-size:13px;text-align:right}.catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 8px 22px rgba(28,59,52,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.card:hover{transform:translateY(-3px);border-color:#bfd7ce;box-shadow:var(--shadow)}.card-link{display:block;height:100%;text-decoration:none}.card-media{position:relative;aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#f4f0e7,#edf3ef)}.card-media img{width:100%;height:100%;object-fit:contain}.image-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#809189;font-size:13px}.image-placeholder::before{content:"B";width:48px;height:48px;display:grid;place-items:center;margin:auto;border-radius:14px;color:white;background:#9bb7ac;font-size:22px;font-weight:800}.card-body{padding:16px}.card-category{margin:0 0 5px;color:var(--accent);font-size:12px;font-weight:700}.card-title{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:2.9em;margin:0;font-size:19px;line-height:1.42}.card-meta{margin:9px 0 0;color:var(--muted);font-size:13px}.capabilities{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.capability{padding:4px 8px;border-radius:6px;color:#44675e;background:var(--soft);font-size:11px;font-weight:700}.capability.primary{color:#8a5127;background:#f8eadc}.catalog-state{min-height:230px;display:grid;place-items:center;padding:34px;border:1px dashed #ccd9d2;border-radius:var(--radius);color:var(--muted);background:#f8faf8;text-align:center}.catalog-state[hidden]{display:none}.state-inner{max-width:420px}.state-inner strong{display:block;margin-bottom:6px;color:var(--ink);font-size:18px}.state-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:16px}.state-actions button{min-height:42px;padding:8px 14px;border:1px solid #ccd9d3;border-radius:10px;color:var(--ink);background:white}.state-actions button.primary{border-color:var(--accent);color:white;background:var(--accent)}.skeleton{min-height:330px;background:linear-gradient(100deg,#edf2ef 30%,#f8faf8 50%,#edf2ef 70%);background-size:300% 100%;animation:pulse 1.2s infinite}@keyframes pulse{to{background-position:-150% 0}}.load-more{display:block;min-width:170px;min-height:46px;margin:26px auto 0;border:1px solid var(--accent);border-radius:12px;color:var(--accent);background:white;font-weight:750}.load-more:hover{color:white;background:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible{outline:none;box-shadow:var(--focus)}
.search input:focus-visible{box-shadow:none}
@media(max-width:900px){.hero{grid-template-columns:1fr;gap:22px}.search-hint{grid-column:1}.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-layout{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:680px){.site-header{height:62px;padding:0 14px}.header-note{display:none}.page-shell{padding:28px 14px 56px}.hero{padding-bottom:22px}.hero h1{font-size:30px}.intro{font-size:14px}.search{gap:7px}.search-field{height:48px}.search-button{min-width:72px;padding:0 12px}.search-hint{margin-top:0}.catalog-layout{display:block}.primary-categories{position:static;overflow-x:auto;flex-direction:row;margin:0 -14px 18px;padding:0 14px 6px;scrollbar-width:none}.primary-categories::-webkit-scrollbar{display:none}.primary-categories>div{display:flex;gap:6px}.category-button{width:auto;min-height:42px;flex:0 0 auto;padding:8px 12px;white-space:nowrap;border-color:var(--line);background:white}.category-button small{display:none}.secondary-wrap{display:block;margin-bottom:18px;padding:10px}.secondary-wrap>p{margin:0 0 8px}.secondary-categories{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.secondary-categories button{flex:0 0 auto}.result-head{align-items:start}.result-head #status{max-width:150px}.catalog{grid-template-columns:1fr;gap:14px}.card{border-radius:14px}.card-link{display:grid;grid-template-columns:132px minmax(0,1fr)}.card-media{aspect-ratio:1}.card-body{padding:14px}.card-title{font-size:17px}.capabilities{margin-top:10px}.catalog-state{min-height:210px}.notice{font-size:13px}}
@media(max-width:370px){.card-link{grid-template-columns:112px minmax(0,1fr)}.card-body{padding:12px}.card-meta{font-size:12px}.capability{padding:3px 6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.drawer-open{overflow:hidden}
.secondary-wrap{align-items:center;overflow:hidden}
.secondary-wrap>p{margin:0}
.secondary-categories{display:flex;flex:1;min-width:0;flex-wrap:nowrap;overflow:hidden}
.secondary-categories button{flex:0 0 auto;white-space:nowrap}
.secondary-more{flex:0 0 auto;width:38px;height:34px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:999px;color:var(--accent-dark);background:var(--soft);line-height:1}
.more-dots{width:18px;height:18px;display:flex;align-items:center;justify-content:center;gap:3px}
.more-dots i{display:block;width:3px;height:3px;border-radius:50%;background:currentColor}
.secondary-more:hover{border-color:var(--accent);background:#e4f1eb}
.category-drawer{position:fixed;inset:0 0 0 auto;width:min(420px,92vw);max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:22px 0 0 22px;color:var(--ink);background:var(--surface);box-shadow:-24px 0 70px rgba(18,52,45,.2);overflow:hidden}
.category-drawer[open]{display:block;animation:drawer-in-right .22s ease-out}
.category-drawer::backdrop{background:rgba(14,36,31,.42);backdrop-filter:blur(2px)}
.drawer-panel{height:100%;display:flex;flex-direction:column;padding:30px}
.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.drawer-header h2{margin:5px 0 0;font-size:23px;line-height:1.25}
.drawer-close{flex:0 0 auto;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;color:var(--ink);background:white;font-size:26px;line-height:1}
.drawer-close:hover{border-color:var(--accent);color:var(--accent)}
.drawer-categories{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:24px 2px;overflow-y:auto}
.drawer-category{min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;color:var(--muted);background:white;text-align:left}
.drawer-category:hover{border-color:#bad4ca;background:#f4f8f6}
.drawer-category.active{border-color:var(--accent);color:white;background:var(--accent);font-weight:750}
@keyframes drawer-in-right{from{transform:translateX(100%)}to{transform:translateX(0)}}

@media(max-width:680px){
  .secondary-wrap{display:flex;padding:9px 10px}
  .secondary-wrap>p{display:none}
  .secondary-categories{overflow:hidden;padding-bottom:0}
  .secondary-more{width:36px;height:34px}
  .category-drawer{inset:auto 0 0;width:100%;height:min(70dvh,580px);margin:0;border-radius:22px 22px 0 0;box-shadow:0 -24px 70px rgba(18,52,45,.2)}
  .category-drawer[open]{animation:drawer-in-bottom .22s ease-out}
  .drawer-panel{padding:20px 18px max(20px,env(safe-area-inset-bottom))}
  .drawer-header{padding-bottom:16px}
  .drawer-header h2{font-size:20px}
  .drawer-categories{grid-template-columns:1fr;padding-top:16px}
  .drawer-category{min-height:50px}
}
@keyframes drawer-in-bottom{from{transform:translateY(100%)}to{transform:translateY(0)}}
.hero-search-only{display:block;padding:8px 0 34px}

.model-preview{width:min(960px,calc(100vw - 40px));height:min(820px,calc(100dvh - 40px));max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:22px;color:var(--ink);background:white;box-shadow:0 28px 90px rgba(16,46,39,.3);overflow:hidden}
.model-preview[open]{display:block;animation:preview-in .2s ease-out}
.model-preview::backdrop{background:rgba(14,36,31,.5);backdrop-filter:blur(3px)}
.preview-card{height:100%;display:grid;grid-template-rows:auto minmax(300px,1fr) auto}
.preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 16px;border-bottom:1px solid var(--line)}
.preview-header h2{margin:4px 0 0;font-size:23px;line-height:1.25}
.preview-stage{position:relative;min-height:0;overflow:hidden;background:#f3f0e9}
.preview-viewer,.preview-viewer canvas{width:100%;height:100%;display:block}
.preview-viewer{position:absolute;inset:0}
.preview-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:32px;background:#f3f0e9}
.preview-loading{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:28px;color:var(--muted);background:rgba(243,240,233,.94);text-align:center}
.preview-loading.done{display:none}
.preview-loading.error{color:var(--danger)}
.preview-loading strong{color:var(--ink);font-size:18px}
.preview-loading.error strong{color:var(--danger)}
.preview-loading button{min-height:42px;margin-top:8px;padding:8px 16px;border:0;border-radius:10px;color:white;background:var(--accent);font-weight:750}
.preview-spinner{width:30px;height:30px;margin-bottom:5px;border:3px solid #cad8d1;border-top-color:var(--accent);border-radius:50%;animation:preview-spin .8s linear infinite}
.preview-loading.error .preview-spinner{display:none}
.preview-tools{position:absolute;right:16px;bottom:16px;z-index:2;display:flex;gap:7px}
.preview-tools button{min-height:40px;padding:8px 12px;border:1px solid rgba(255,255,255,.78);border-radius:10px;color:var(--ink);background:rgba(255,255,255,.9);box-shadow:0 5px 18px rgba(20,48,41,.12);backdrop-filter:blur(8px)}
.preview-tools button[aria-pressed="true"]{border-color:var(--accent);color:white;background:var(--accent)}
.preview-footer{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:22px;padding:16px 22px 18px;border-top:1px solid var(--line)}
.preview-summary{display:flex;gap:8px}
.preview-summary>div{min-width:104px;padding:9px 13px;border-radius:12px;background:var(--soft)}
.preview-summary span{display:block;color:var(--muted);font-size:11px}
.preview-summary strong{font-size:21px;line-height:1.2}
.preview-footer>p{margin:0;color:var(--muted);font-size:12px}
.preview-preload{min-width:0;display:grid;gap:5px}
.preview-preload>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}
.preview-preload>div strong{color:var(--accent);font-size:12px}
.preview-preload progress{width:100%;height:7px;border:0;border-radius:999px;overflow:hidden;background:#e5ece8;accent-color:var(--accent)}
.preview-preload progress::-webkit-progress-bar{background:#e5ece8}
.preview-preload progress::-webkit-progress-value{border-radius:999px;background:var(--accent)}
.preview-preload progress::-moz-progress-bar{border-radius:999px;background:var(--accent)}
.preview-preload p{margin:0;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.preview-availability{color:var(--danger)!important}
.preview-actions{display:flex;align-items:center;gap:8px}
.preview-start{min-width:132px;min-height:46px;display:grid;place-items:center;padding:10px 18px;border-radius:12px;color:white;background:var(--accent);font-weight:800;text-decoration:none}
.preview-start:hover{background:var(--accent-dark)}
.preview-start[aria-disabled="true"]{cursor:not-allowed;color:#82918c;background:#e5ece8;pointer-events:none}
.preview-continue{color:var(--accent);border:1px solid var(--accent);background:white}
.preview-continue:hover{color:white}
.preloaded-workbench{position:fixed;z-index:50;top:0;left:-110vw;width:100vw;height:100dvh;border:0;background:#f3f1ea;opacity:0;pointer-events:none}
.preloaded-workbench.active{left:0;opacity:1;pointer-events:auto}
body.workbench-open{overflow:hidden}
@keyframes preview-in{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@keyframes preview-spin{to{transform:rotate(360deg)}}

@media(max-width:680px){
  .model-preview{width:100%;height:100dvh;margin:0;border-radius:0}
  .preview-card{grid-template-rows:auto minmax(260px,1fr) auto}
  .preview-header{padding:15px 14px 12px}
  .preview-header h2{max-width:270px;font-size:20px}
  .preview-footer{grid-template-columns:1fr auto;gap:12px;padding:12px 14px max(14px,env(safe-area-inset-bottom))}
  .preview-summary>div{min-width:86px;padding:8px 10px}
  .preview-summary strong{font-size:18px}
  .preview-preload{grid-column:1/-1;grid-row:2}
  .preview-footer>p{grid-column:1/-1;grid-row:2}
  .preview-actions{grid-column:2;grid-row:1;flex-direction:column;align-items:stretch}
  .preview-start{min-width:112px;min-height:40px;padding:7px 12px;font-size:13px}
  .preview-tools{right:12px;bottom:12px}
}

.result-head{align-items:center;justify-content:flex-end}
