/* 右侧展示区：参考美图的大图卡片、深色黑体和中性背景。左导航及参数表单保持原设置。 */
/* 分类导航样板：只展开一个分类，避免所有工具占满左栏。 */
.subnav{padding:5px 0 4px;margin:0;border-left:0}
.nav-category{margin:2px 0}
.nav-category-label{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 13px;min-height:43px;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:400;line-height:1.5;color:#536071;text-align:left;transition:background .16s,border-color .16s,box-shadow .16s}
.nav-category-label>svg{height:12px;width:12px;color:#8d929b;flex:none;transition:transform .15s}
.nav-category-label[aria-expanded=true]>svg{transform:rotate(180deg)}
.nav-category-label:hover{background:#f5f8fe;border-color:#e3eaf5;box-shadow:0 3px 10px #2948780c;color:#2e5a95}
.nav-category-label.active{color:#245ca2;background:#f0f5fc}
.nav-category-label.active:hover{background:#e8f0fc;border-color:#d9e5f6}
.category-navigation{display:block!important;margin:0;padding:0;border:0}
.category-navigation .nav-category{margin:4px 0}
.category-navigation .nav-category-items{margin-left:17px}
.category-navigation .sub-item{font-weight:400;transition:background .16s,box-shadow .16s}
.category-navigation .sub-item:hover{background:#f3f6fc;box-shadow:inset 2px 0 #b2c8e7}
.category-navigation .sub-item.active{font-weight:400}
.nav-category-items{margin:3px 0 7px 24px;padding-left:8px;border-left:1px solid #e2e6ed}
.nav-category-items[hidden]{display:none!important}
.nav-category-items .sub-item{width:100%;padding:9px 10px;min-height:35px;margin:1px 0;border-radius:6px;font-size:13px;line-height:1.4}
.nav-category-label:focus-visible{outline:2px solid #4275b8;outline-offset:1px}
.columns.management-home{grid-template-columns:minmax(0,1fr);gap:0}
.columns.management-home>#settings{display:none}
.columns.management-home>.stage{grid-column:1;min-width:0}
#stage{--ink:#202124;--muted:#666970;--line:#e8e9ec;color:var(--ink);background:#f6f7f9;font-family:'PingFang SC','Microsoft YaHei','Segoe UI',sans-serif;font-size:14px}
#stage button,#stage input,#stage textarea,#stage select{font-family:inherit}
#stage h2.page-title,#stage .toolbox-homepage.grouped-tools .toolbox-home-heading h2{font-size:24px;font-weight:700;line-height:1.5;letter-spacing:0;color:#202124}
#stage h3,#stage .tool-text h3,#stage .work-copy h3,#stage .material-card h3,#stage .task-info h3{color:#202124;font-weight:700;letter-spacing:0}
#stage .page-heading p,#stage .case-heading p,#stage .wear-demo>p,#stage .tool-demo>p,#stage .toolbox-homepage.grouped-tools .toolbox-home-heading p{font-size:14px;color:#6b6d73;line-height:1.75}
#stage .eyebrow{color:#73767d;font-weight:500}
#stage button:focus-visible,#stage input:focus-visible,#stage select:focus-visible,#stage summary:focus-visible{outline:2px solid #333;outline-offset:3px}

/* 工具箱首页只呈现已保留的图片分类。图片作为卡片主体，标题与介绍清晰分层。 */
#stage .toolbox-homepage.grouped-tools{max-width:1560px;padding:28px 32px 40px}
#stage .toolbox-homepage.grouped-tools .toolbox-home-heading{margin-bottom:16px}
#stage .toolbox-inline-search{background:#fff;border-color:#e1e2e6;border-radius:8px;height:40px}
#stage .toolbox-inline-search input{color:#333;font-size:14px}
#stage .toolbox-inline-search input::placeholder{color:#85878d}
#stage .toolbox-homepage.grouped-tools .tool-section-nav{gap:32px;background:#f6f7f9;border-bottom:1px solid #e4e5e8;padding:2px 0 0;margin-bottom:26px}
#stage .tool-section-nav>button{padding:12px 0 14px;font-size:15px;line-height:1.5;color:#55585f;font-weight:500}
#stage .tool-section-nav>button:hover,#stage .tool-section-nav>button.selected{color:#202124;font-weight:700}
#stage .tool-section-nav>button.selected:after{background:#202124;height:2px}
#stage .tool-category-section{margin-bottom:34px;scroll-margin-top:78px}
#stage .tool-category-section>header{margin-bottom:16px;gap:12px}
#stage .tool-category-section>header h3{font-size:20px;font-weight:700;color:#202124}
#stage .tool-category-section>header>span{font-size:12px;color:#767980}
#stage .toolbox-homepage.grouped-tools .tool-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:stretch}
#stage .toolbox-homepage.grouped-tools .tool-card{background:#fff;border:1px solid #efeff1;border-radius:15px;box-shadow:none;transition:transform .18s,box-shadow .18s,border-color .18s}
#stage .toolbox-homepage.grouped-tools .tool-card:hover{border-color:#d5d6da;transform:translateY(-3px);box-shadow:0 10px 26px #2021240f}
#stage .toolbox-homepage.grouped-tools .tool-cover{aspect-ratio:8/5;background:#f0f1f3}
#stage .tool-cover>span{color:#24262a;background:#fffffff2;font-size:12px}
#stage .toolbox-homepage.grouped-tools .tool-text{position:relative;padding:27px 18px 18px;min-height:111px}
#stage .tool-card-icon{position:absolute;left:18px;top:-23px;width:39px;height:39px;display:grid;place-items:center;background:white;color:#292b2f;border:1px solid #f0f0f2;border-radius:11px;box-shadow:0 3px 9px #20212408}
#stage .tool-card-icon svg{width:21px;height:21px}
#stage .toolbox-homepage.grouped-tools .tool-text h3{font-size:16px;font-weight:700;line-height:1.5;color:#202124}
#stage .toolbox-homepage.grouped-tools .tool-text h3 svg{width:15px;height:15px;color:#797b81}
#stage .toolbox-homepage.grouped-tools .tool-text p{font-size:13px;line-height:1.7;color:#696c72;margin-top:7px}
#stage .tool-preview-note{color:#777a80;font-size:12px;border-color:#e4e5e8}

/* 管理页复用右侧顶部分类，五页都不再占用参数栏。 */
#stage .management-page{max-width:1560px;padding:28px 32px 40px}
#stage .management-page .page-heading{margin-bottom:20px}
#stage .management-page .page-heading h2{margin-bottom:7px}
#stage .management-navigation{display:flex;gap:28px;flex-wrap:wrap;position:sticky;top:0;z-index:5;background:#f6f7f9;border-bottom:1px solid #e2e3e7;padding:5px 0 0;margin:0 0 22px}
#stage .management-navigation button{position:relative;padding:11px 0 14px;font-size:14px;color:#61646b;line-height:1.5;white-space:nowrap;border-radius:0}
#stage .management-navigation button:hover,#stage .management-navigation button.selected{color:#202124;font-weight:700}
#stage .management-navigation button.selected:after{content:'';height:2px;background:#202124;position:absolute;bottom:-1px;left:0;right:0}
#stage .sample-notice{background:#eeeff2;border:0;color:#70737a;margin:17px 0;font-size:12px;padding:10px 13px}
#stage .sample-dot{background:#92959c}
#stage .collection-toolbar{margin:24px 0 16px}
#stage .collection-toolbar b{font-size:18px;color:#202124;font-weight:700}
#stage .collection-toolbar>span{color:#73767d;font-size:13px}
#stage .works-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
#stage .work-card,#stage .material-card{border-color:#e9eaed;box-shadow:none;border-radius:13px}
#stage .work-cover{height:auto;aspect-ratio:1;background:#f0f1f3}
#stage .work-cover>img{object-fit:contain}
#stage .work-count{color:#404247;font-size:12px;bottom:12px;left:12px}
#stage .work-copy{padding:17px 16px 0}
#stage .work-copy h3,#stage .material-card h3{font-size:16px;line-height:1.6}
#stage .work-copy>div>span,#stage .material-card p{color:#73767d;font-size:13px}
#stage .work-actions{border-color:#ededf0}
#stage .work-actions button{color:#44474e;font-size:13px}
#stage .favorite{color:#61646a}
#stage .favorite.selected{color:#d34c70}
#stage .favorite.selected svg{fill:#ffe5ed}
#stage .folder-grid{margin:21px 0 26px}
#stage .folder-card{border-color:#e4e5e9;padding:18px 20px;background:#fff}
#stage .folder-card:hover,#stage .folder-card.selected{border-color:#92959d;background:#fff}
#stage .folder-card svg{background:#f0f1f4;color:#494c54}
#stage .folder-card h3{font-size:16px}
#stage .folder-card p{color:#73767d;font-size:13px}
#stage .material-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
#stage .material-preview,#stage .document-preview{height:auto;aspect-ratio:1;background:#f0f1f3;padding:12px}
#stage .material-kind{color:#686b72;background:#f0f1f3;font-size:12px}
#stage .document-preview svg,#stage .document-preview b{color:#4f535b}
#stage .document-preview span{color:#73767d;font-size:12px}
#stage .task-stats span,#stage .task-list-heading,#stage .task-info p{color:#676a72;font-size:13px}
#stage .task-stats b{font-weight:700;letter-spacing:0}
#stage .task-stats small{color:#787b82}
#stage .task-stats button.selected{border-color:#8a8d94;background:#fff}
#stage .task-list-heading{background:#f5f5f7}
#stage .task-info img{width:66px;height:66px}
#stage .task-info h3{font-size:15px}
#stage .task-action{color:#3f4249;font-size:13px}
#stage .task-status{font-size:12px}
#stage .task-status.done{background:#eaf4ee;color:#376f4f}
#stage .task-status.pending{background:#edf2fc;color:#365fa5}
#stage .task-status.attention{background:#fff3e2;color:#956119}
#stage .subtle-note{color:#767980!important}
#stage .preferences-page{max-width:1200px;margin-left:0}
#stage .preferences-page>section{scroll-margin-top:85px;border-color:#e5e6e9}
#stage .preferences-page h3,#stage .help-steps h3,#stage .faq h3{font-size:18px}
#stage .preferences-page input,#stage .preferences-page select{color:#33363d;background:#fff;border-color:#dfe1e6}
#stage .profile-preview small,#stage .notification-option small,#stage .help-steps p,#stage .faq p{color:#696c73}
#stage .help-steps,#stage .help-steps article,#stage .faq{scroll-margin-top:85px}
#stage .help-steps article{border-color:#e5e6ea;background:#fff}
#stage .help-steps article>span{color:#555a64;background:#f0f1f3}
#stage .faq summary{font-size:15px;color:#30333a;font-weight:600}

/* 具体工具/套图仍保留三列；案例和作品使用同一套字色与较大的画面。 */
#stage .stage-toolbar{height:60px;border-color:#e5e6e9;background:#fafafb}
#stage .stage-toolbar>span{color:#767980;font-size:12px}
#stage .stage-tabs{background:#eeeef1}
#stage .stage-tabs button{color:#63666d;font-size:14px}
#stage .stage-tabs .selected{color:#202124;font-weight:700}
#stage .suite-stage,#stage .case-stage{padding:26px 28px 35px}
#stage .case-heading{text-align:left;padding:0}
#stage .case-categories{justify-content:flex-start}
#stage .case-categories button,#stage .suite-view-tabs button{font-size:14px;color:#64676d}
#stage .case-categories button.selected,#stage .suite-view-tabs button.selected{color:#202124;background:#e8e9ed;font-weight:700;border-color:#d7d9de}
#stage .case-panel{border-color:#e6e7eb;box-shadow:none;padding:22px 22px 0}
#stage .case-panel-head h3{font-size:18px}
#stage .case-panel-head>div>span,#stage .image-label{color:#656870;font-size:13px}
#stage .case-comparison{gap:14px;grid-template-columns:.9fr 24px 1.8fr;max-width:800px;margin:0 auto}
#stage .case-comparison figure img{height:min(34vh,310px);max-height:310px;object-fit:contain}
#stage .case-comparison.multi figure img{height:min(21vh,180px);max-height:180px}
#stage .case-comparison figcaption{color:#666970;font-size:13px}
#stage .case-footer>span,#stage .case-guidance{color:#767980;font-size:12px}
#stage .product-chip small{color:#73767d}
#stage .suite-product-summary{background:#fff;border-color:#e5e6ea}
#stage .suite-product-summary h3{font-size:18px}
#stage .suite-product-summary p{color:#555960;font-size:14px}
#stage .suite-product-summary span{color:#777a81;font-size:12px}
#stage .suite-image-section h3,#stage .suite-long-preview h3,#stage .phone-notes h3,#stage .slice-heading h3{font-size:18px}
#stage .suite-image-section>header>span,#stage .suite-long-preview p,#stage .phone-notes p,#stage .slice-heading p{color:#70737b;font-size:13px}
#stage .suite-image-grid.main-images,#stage .suite-image-grid.detail-images{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#stage .suite-image-grid figure{border-color:#e7e8eb;border-radius:12px}
#stage .suite-image-grid img{background:#f1f2f4}
#stage .suite-image-grid.detail-images img{object-fit:contain}
#stage .suite-image-grid figcaption{color:#41454d;font-weight:600;font-size:13px;padding:13px 12px}
#stage .suite-image-grid figcaption span{color:#777b82;font-size:12px;font-weight:400}
#stage .single-top,#stage .single-controls,#stage .phone-note-list span,#stage .slice-grid span{color:#666a72}
#stage .single-canvas{background:#f0f1f3;height:510px}
#stage .suite-export-bar span{color:#73767d;font-size:12px}
#stage .suite-export-bar button,#stage .single-controls button,#stage .slice-grid button{color:#464a52;border-color:#dcdfe5}
#stage .wear-demo,#stage .tool-demo{padding:26px 28px 35px;text-align:left}
#stage .demo-preview,#stage .wear-example{max-width:620px;border:0;border-radius:12px;padding:0;overflow:hidden;background:transparent}
#stage .demo-preview>img,#stage .wear-example>img{display:block;width:100%;height:min(42vh,340px);object-fit:contain;border-radius:0}
#stage .demo-caption{max-width:620px;color:#767980;font-size:12px}
#stage .light-button{color:#41454d;border-color:#dcdfe5;background:#fff}
#stage .use-case,#stage .upload-asset,#stage .save-preferences{background:#25272c;border-color:#25272c;color:#fff;font-weight:600}
#stage .use-case:hover,#stage .upload-asset:hover,#stage .save-preferences:hover{background:#40434a}
#stage .use-case svg,#stage .upload-asset svg{color:inherit}

@media(max-width:1400px){
 #stage .toolbox-homepage.grouped-tools,#stage .management-page{padding:24px 26px 35px}
 #stage .toolbox-homepage.grouped-tools .tool-grid,#stage .works-grid,#stage .material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 #stage .suite-stage,#stage .case-stage{padding:22px 24px 30px}
 #stage .suite-image-grid.main-images,#stage .suite-image-grid.detail-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 #stage .case-comparison{gap:10px;grid-template-columns:.9fr 20px 1.8fr}
 #stage .case-comparison figure img{height:min(34vh,280px);max-height:280px}
 #stage .case-comparison.multi figure img{height:min(21vh,160px);max-height:160px}
}
@media(max-width:1100px){
 #stage .toolbox-homepage.grouped-tools .tool-grid,#stage .works-grid,#stage .material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #stage .management-navigation{gap:19px}
 #stage .folder-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 #stage .case-comparison{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){#stage .tool-card,#stage .tool-cover>img{transition:none}}
