@charset "UTF-8";
:root{--blue:#1675ea;--green:#168675;--ink:#203345;--muted:#7d8d9d;--line:#e1e8ed;--surface:#fff;--bg:#f3f6f8;--side:246px;font:14px/1.6 "Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input,summary{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}img,svg{display:block}button{background:none;border:0}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--blue);border-radius:5px}[hidden]{display:none!important}.icon{width:20px;height:20px;flex-shrink:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border-radius:6px;color:#80909e;transition:background .15s,color .15s}.icon-button .icon{width:18px;height:18px}.icon-button:hover{background:#eaf1f6;color:var(--blue)}
.sidebar{width:var(--side);position:fixed;inset:0 auto 0 0;z-index:40;display:flex;flex-direction:column;background:#fcfdfd;border-right:1px solid var(--line);transition:transform .2s}.brand-row{padding:27px 16px 20px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:10px;min-width:0;white-space:nowrap}.brand img{width:35px;height:35px;flex-shrink:0}.brand strong{display:block;font-size:19px;line-height:1.35;letter-spacing:.2px;color:#163c61}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#8b9baa;margin-top:4px}.brand-row .icon-button{width:27px}.sidebar-search{display:flex;align-items:center;gap:7px;margin:0 16px 20px;padding:8px 10px;background:#f5f8fa;border:1px solid var(--line);border-radius:6px;color:#8895a0}.sidebar-search .icon{width:16px;height:16px}.sidebar-search input{width:0;min-width:0;flex:1;font-size:12px;border:0;outline:none;background:transparent;color:var(--ink)}input::placeholder{color:#93a0ac}kbd{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce4eb;border-radius:3px;background:#fff;min-width:17px;height:19px;color:#9aa6b0;font:11px ui-monospace,monospace}.sidebar-nav{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dfe6eb transparent;flex:1;padding:10px 12px 20px;border-top:1px solid #edf1f4}.side-main{display:flex;align-items:center;gap:12px;padding:10px 13px;margin:2px 0;border-radius:6px;color:#667b8c;font-size:13px}.side-main .icon{width:18px;height:18px}.side-main.selected{background:#e7f1ff;color:#146bcf;font-weight:650}.side-main:hover{background:#f0f4f7;color:var(--blue)}.favorite-total{margin-left:auto;font:11px ui-monospace,monospace;color:#91a1af}.sidebar-section{display:flex;align-items:center;padding:24px 10px 12px;gap:9px;color:#98a5b0;font-size:10px;letter-spacing:1.2px}.sidebar-section>span:nth-child(2){font:10px ui-monospace,monospace;color:#a4b0b9}.sidebar-section .icon-button{margin-left:auto;width:20px;height:20px}.sidebar-section .icon{width:14px;height:14px}.category-group{margin:2px 0}.category-group summary{display:flex;align-items:center;gap:11px;padding:9px 11px;color:#5b7081;cursor:pointer;font-size:12px;list-style:none;user-select:none;border-radius:6px}.category-group summary::-webkit-details-marker{display:none}.category-group summary::marker{content:''}.category-group summary>.icon{width:17px;height:17px;color:#8495a2}.category-group summary>span{flex:1}.category-group summary>small{font:10px ui-monospace,monospace;color:#98a6b0}.category-group summary .group-chevron{width:12px;height:12px;transition:transform .15s}.category-group[open] summary{background:#f0f5f8;color:#234e6d}.category-group.current summary{color:var(--blue)}.category-group[open] summary .group-chevron{transform:rotate(90deg)}.category-group summary:hover{background:#eff4f7}.group-links{border-left:1px solid #e1e9ef;margin:5px 11px 13px 19px;padding-left:10px}.group-links a{display:block;font-size:11px;padding:7px 8px;color:#7a8c9b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:4px}.group-links a:hover,.group-links a.current{color:var(--blue);background:#eaf3ff}.group-links .category-all{display:flex;justify-content:space-between;align-items:center;color:#3f7ca4;font-size:10px}.category-all .icon{width:12px;height:12px}.sidebar-foot{padding:18px 22px;border-top:1px solid var(--line);font-size:10px;display:flex;flex-direction:column;gap:6px;color:#8b9aa6}.sidebar-foot>span{display:flex;align-items:center;gap:6px}.sidebar-foot i,.preview-pill i,.eyebrow i{height:5px;width:5px;background:#23a689;display:inline-block;border-radius:50%}.sidebar-foot small{font-size:9px;color:#a3aeb7}
.main-shell{margin-left:var(--side);min-height:100vh}.topbar{height:66px;border-bottom:1px solid #e7edf2;background:rgba(255,255,255,.58);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar-start{display:flex;align-items:center;gap:12px;min-width:0}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px;color:#96a4af;min-width:0;white-space:nowrap}.breadcrumb span{display:flex;align-items:center;gap:8px}.breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis;display:block;color:#647c8e}.breadcrumb .icon{width:14px;height:14px}.breadcrumb b{color:#c4ced6;font-weight:400}.topbar-actions{display:flex;align-items:center;gap:19px;flex-shrink:0}.preview-pill{display:flex;align-items:center;gap:6px;color:#8f9da9;font-size:10px}.preview-pill i{background:#c0a575}.language-switch{display:flex;gap:2px;background:#eaf0f5;padding:3px;border-radius:6px}.language-switch a{padding:3px 9px;border-radius:4px;font:10px/1.6 "Segoe UI","Microsoft YaHei",sans-serif;color:#8999a8}.language-switch a[aria-current]{background:#fff;color:#316e9e;box-shadow:0 1px 3px #12344a0a}.mobile-menu,.expand-button{display:none}#main-content{max-width:1510px;margin:0 auto;padding:36px 38px 28px}.hero{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:48px;align-items:center;padding:3px 0 41px}.eyebrow{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.5px;color:#528474;font-weight:650}.hero h1{font-size:38px;line-height:1.4;letter-spacing:1px;font-weight:700;margin:16px 0 13px;color:#203847}.hero h1 span{color:#388a78}.hero-copy>p{font-size:12px;line-height:1.9;color:#8898a4;margin:0 0 23px}.hero-search{display:flex;align-items:center;gap:12px;border:1px solid #d9e2e9;border-radius:7px;background:#fff;padding:7px 8px 7px 16px;max-width:620px;box-shadow:0 2px 2px #224f7502}.hero-search>.icon{width:18px;height:18px;color:#8ca0ad}.hero-search input{width:0;min-width:0;flex:1;background:none;outline:0;border:0;font-size:12px;color:var(--ink);padding:7px 0}.hero-search button{width:34px;height:34px;display:grid;place-items:center;border-radius:4px;color:#317a68;background:#e8f2ed;transition:background .15s}.hero-search button:hover{background:#d9ebe2}.quick-search{display:flex;align-items:center;gap:12px;font-size:10px;margin-top:13px;color:#8397a7;flex-wrap:wrap}.quick-search>span{font-size:9px;letter-spacing:.5px;color:#a2aeb9}.quick-search a{color:#6e8795;border-right:1px solid #dae3e9;padding-right:12px}.quick-search a:last-child{border:0;padding:0}.quick-search a:hover{color:var(--blue)}.featured-card{background:#f7f5ec;border:1px solid #dcded3;border-radius:7px;color:#2d594c;padding:18px 21px 0;min-height:271px;display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s}.featured-card:hover{box-shadow:0 6px 20px #3b635115;transform:translateY(-2px)}.feature-top{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.7px;color:#809286}.feature-top .icon{width:15px;height:15px}.rack-art{max-width:218px;margin:7px auto 0;width:100%;color:#578c78}.rack-art svg{width:100%;height:85px}.featured-card h2{font-size:17px;line-height:1.5;margin:0 0 6px;color:#35594d;font-weight:650}.featured-card p{font-size:10px;line-height:1.7;margin:0 0 17px;color:#8a9688}.feature-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dce1d4;margin-top:auto;padding:12px 0;font-size:10px;color:#587566}.feature-bottom .icon{width:17px;height:17px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.section-head>div:first-child{display:flex;align-items:baseline;gap:15px}.section-head h2{font-size:21px;letter-spacing:.3px;margin:0;font-weight:650;line-height:1.5}.section-subtitle{font-size:10px;color:#a2aeb8}.catalog-meta{display:flex;align-items:center;gap:13px;color:#93a1ad;font-size:10px;white-space:nowrap}.free-pill{font-size:8px;letter-spacing:.5px;color:#52907d;background:#eaf3ef;border:1px solid #deebe4;border-radius:3px;padding:2px 6px}.catalog-controls{display:flex;align-items:center;gap:18px;padding-bottom:14px;border-bottom:1px solid #dce5eb;margin-bottom:19px}.filters{display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d8e3eb transparent;min-width:0;flex:1;padding-bottom:4px}.filters a{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;padding:7px 9px;border-radius:4px;font-size:10px;color:#8b9aa6;transition:background .15s}.filters .icon{width:13px;height:13px}.filters a.active{color:#267c68;background:#e5f1eb;font-weight:600}.filters a:hover{color:#316e9e;background:#e8f1f8}.catalog-search{display:flex;align-items:center;gap:7px;max-width:150px;flex:0 0 140px;background:#fff;border:1px solid #e1e7ee;border-radius:5px;padding:7px 9px;color:#a5b1b9}.catalog-search .icon{width:13px;height:13px}.catalog-search input{width:0;min-width:0;flex:1;border:0;outline:none;background:none;font-size:10px;color:var(--ink)}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tool-card{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid #dfe7ed;border-radius:6px;min-width:0;padding:18px 19px 14px;transition:transform .15s,border-color .15s,box-shadow .15s}.tool-card:hover{border-color:#acc8d7;box-shadow:0 5px 15px #31597a0b;transform:translateY(-2px)}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.tool-icon{color:#478776;display:flex;align-items:center;justify-content:center;width:27px;height:27px}.tool-icon svg{width:26px;height:26px}.tool-icon[data-tone="1"]{color:#6093b9}.tool-icon[data-tone="2"]{color:#8b80a5}.tool-icon[data-tone="3"]{color:#b2986b}.favorite-button{height:26px;width:26px;display:grid;place-items:center;border-radius:5px;color:#bdc8d0;position:relative;z-index:2}.favorite-button .icon{width:15px;height:15px}.favorite-button:hover{background:#faf5e8;color:#b5a077}.favorite-button[aria-pressed=true],.secondary-button[aria-pressed=true],[data-workspace-favorite][aria-pressed=true]{color:#b3985d}.favorite-button[aria-pressed=true] svg,[data-workspace-favorite][aria-pressed=true] svg{fill:#eee3c8}.card-link{display:flex;flex-direction:column;flex:1;outline-offset:8px}.card-link:after{content:'';position:absolute;inset:0;z-index:1}.card-link h3{font-size:13px;line-height:1.6;font-weight:650;margin:0 0 8px;color:#304e61}.card-link p{font-size:10px;line-height:1.85;color:#93a1ac;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;color:#8a9d9e;font-size:9px;padding-top:1px}.card-bottom>span{display:flex;align-items:center;gap:5px}.card-bottom>span:before{content:'';display:block;width:3px;height:3px;border-radius:50%;background:#72a491}.card-bottom .icon{height:13px;width:13px;color:#96a6ad}.load-more-row{text-align:center;margin-top:24px}.load-more{display:inline-flex;align-items:center;justify-content:center;gap:13px;padding:10px 22px;background:#fff;border:1px solid #dfe8ed;border-radius:6px;font-size:11px;color:#7290a1;min-width:230px}.load-more>.icon{width:15px;height:15px;transform:rotate(90deg)}.load-more>span{font:9px ui-monospace,monospace;color:#a3afb9;border-left:1px solid #e7edf0;padding-left:13px}.load-more:hover{border-color:#a5c4d7;color:#326e92}.page-footer{max-width:1510px;margin:18px auto 0;padding:22px 38px 30px;border-top:1px solid #e5ebf0;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#9cabb5}.page-footer>div{display:flex;gap:16px}.page-footer a:hover{color:var(--blue)}.category-hero{padding:8px 0 30px}.category-hero h1{font-size:32px;margin:14px 0 9px;display:flex;align-items:center;gap:15px}.category-hero h1 span{font:12px ui-monospace,monospace;background:#e7eef4;color:#7191a6;padding:3px 7px;border-radius:5px}.category-hero p{font-size:12px;color:#8b9ba8}.search-state{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;color:#7190a2;font-size:11px}.search-state button{display:flex;align-items:center;gap:5px;font-size:10px;color:#8a9ca9}.search-state .icon{width:13px;height:13px}.empty-state{text-align:center;padding:60px 20px;border:1px dashed #d1dfe9;border-radius:8px;color:#8da1af;background:#f8fbfd}.empty-state>.icon{margin:auto;width:35px;height:35px;color:#b1c6d1}.empty-state h3{font-size:17px;font-weight:500}.empty-state p{font-size:12px}.empty-state button{background:#e7f1f9;color:#3a7198;padding:8px 15px;border-radius:5px;font-size:12px}.toast{position:fixed;z-index:100;bottom:25px;left:50%;transform:translateX(-50%);background:#253f50;color:#fff;padding:10px 20px;box-shadow:0 5px 15px #1e3e5620;border-radius:7px;font-size:12px}.sidebar-backdrop{display:none}.sidebar-collapsed .sidebar{transform:translateX(-100%)}.sidebar-collapsed .main-shell{margin-left:0}.sidebar-collapsed .expand-button{display:inline-flex}
.tool-detail{background:#fff;border:1px solid var(--line);border-radius:9px;padding:35px 38px}.detail-heading{display:flex;align-items:center;gap:12px}.detail-icon{background:#eaf3ef;color:#5b8f7b;padding:10px;border-radius:8px}.category-label{font-size:11px;color:#7e9b9a}.tool-detail h1{font-size:28px;margin:23px 0 14px;line-height:1.5}.detail-description{max-width:850px;color:#8a9aa6;font-size:13px;line-height:1.9}.detail-actions{display:flex;gap:12px;margin:24px 0 35px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:9px 15px;font-size:12px;border-radius:5px;white-space:nowrap}.primary-button{background:#217ce3;color:#fff}.primary-button .icon,.secondary-button .icon{width:16px;height:16px}.secondary-button{border:1px solid #dce6ed;color:#7691a1;background:#fff}.detail-guide{border-top:1px solid #e5edf2;padding-top:20px;color:#7b919f;font-size:13px;line-height:2.2}.detail-guide h2{font-size:17px;color:#45687e}.detail-guide ul{padding-left:20px}.related{margin-top:34px}.related .section-head>a{display:flex;align-items:center;gap:8px;color:#7f9dac;font-size:11px}.related .section-head .icon{width:15px;height:15px}body[data-mode=workspace] #main-content{padding:20px 24px 0;max-width:none}.workspace-view{height:calc(100dvh - 86px);display:flex;flex-direction:column}.workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:0 3px}.workspace-bar h1{font-size:18px;line-height:1.5;margin:4px 0;color:#3d5f76}.workspace-category{font-size:10px;color:#8fa7b1}.workspace-actions{display:flex;align-items:center;gap:8px}.workspace-actions .secondary-button{font-size:11px;padding:7px 10px}.workspace-actions .icon{width:16px;height:16px}.workspace-actions .icon-button{border:1px solid #dce6ed;background:#fff}#tool-frame{border:1px solid #dce6ee;box-shadow:0 2px 5px #183e5905;border-radius:8px 8px 0 0;background:#fff;width:100%;flex:1;min-height:430px}.workspace-error{background:#fff0ed;color:#ae6d5d;padding:18px;border-radius:8px}
@media(min-width:1600px){.tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{grid-template-columns:minmax(0,1fr) 330px;gap:70px}.hero h1{font-size:44px}.hero{padding-bottom:45px}.featured-card{min-height:285px}.rack-art svg{height:100px}}
@media(max-width:1200px){:root{--side:220px}.brand-row{padding-left:17px;padding-right:12px}.brand strong{font-size:17px}.brand img{width:31px;height:31px}.brand{gap:8px}.brand small{font-size:7px}.topbar{padding:0 26px}#main-content{padding:28px 26px 24px}.hero{grid-template-columns:minmax(0,1fr) 244px;gap:26px}.hero h1{font-size:32px}.hero-copy>p{font-size:11px}.featured-card{padding:16px 17px 0;min-height:261px}.featured-card h2{font-size:15px}.featured-card p{font-size:9px}.hero-search input{font-size:11px}.quick-search{gap:9px;font-size:9px}.quick-search a{padding-right:9px}.tool-card{padding:16px 15px 13px}.section-subtitle{display:none}.catalog-search{display:none}.tool-grid{gap:11px}.page-footer{padding:22px 26px}.category-group summary{font-size:11px;gap:9px}}
@media(max-width:1000px){.hero{grid-template-columns:1fr}.featured-card{display:none}.hero h1{font-size:37px}.hero{padding-bottom:32px}.hero-copy>p{font-size:12px}.hero-search{max-width:none}.quick-search{font-size:10px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-actions{gap:10px}}
@media(max-width:760px){:root{--side:246px}.sidebar{transform:translateX(-100%)}.main-shell,.sidebar-collapsed .main-shell{margin-left:0}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-backdrop{position:fixed;inset:0;background:#183b5550;backdrop-filter:blur(2px);z-index:35;display:block}.sidebar-open{overflow:hidden}.collapse-button{display:none}.mobile-menu{display:inline-flex}.expand-button,.sidebar-collapsed .expand-button{display:none}.topbar{height:62px;padding:0 20px}.topbar-start{gap:9px}.breadcrumb>span:first-child,.breadcrumb>b{display:none}.breadcrumb{font-size:11px;max-width:200px}.preview-pill{font-size:9px}.topbar-actions{gap:12px}.language-switch a{padding:3px 7px;font-size:10px}#main-content{padding:25px 22px 22px}.hero{padding:5px 0 32px}.hero h1{font-size:35px}.hero-copy>p{font-size:12px}.hero-search{padding-left:13px}.hero-search input{font-size:11px}.hero-search button{width:32px;height:32px}.section-head h2{font-size:20px}.free-pill{display:none}.catalog-controls{margin-bottom:16px;padding-bottom:9px}.filters a{font-size:11px;padding:7px 10px}.tool-card{min-height:180px}.card-link h3{font-size:13px}.card-link p{font-size:11px;line-height:1.8}.card-bottom{font-size:10px}.page-footer{padding:20px 22px;flex-direction:column;gap:9px}.category-hero{padding-bottom:25px}.tool-detail{padding:25px}.tool-detail h1{font-size:24px}.workspace-bar h1{font-size:15px}.workspace-bar{gap:10px}.workspace-actions{gap:5px}.workspace-actions .secondary-button{font-size:10px;padding:6px}.workspace-actions .icon-button{width:28px;height:28px}body[data-mode=workspace] #main-content{padding:16px 12px 0}.workspace-view{height:calc(100dvh - 78px)}.workspace-category{font-size:9px}.tool-detail .detail-description{font-size:12px}}
@media(max-width:420px){.topbar{padding:0 14px;gap:10px}.breadcrumb{max-width:135px;font-size:10px}.preview-pill{display:none}.topbar-actions{gap:6px}#main-content{padding:22px 16px}.hero h1{font-size:32px;margin-top:15px}.hero-copy>p{font-size:11px}.hero-copy>p br{display:none}.hero-search input{font-size:10px}.hero-search{gap:9px}.quick-search{gap:8px}.quick-search>span{font-size:8px}.quick-search a{font-size:9px;padding-right:8px}.tool-grid{grid-template-columns:1fr;gap:10px}.tool-card{min-height:164px;padding:16px 18px}.card-top{margin-bottom:7px}.card-link p{margin-bottom:16px}.card-link h3{font-size:14px}.section-head h2{font-size:19px}.catalog-meta{font-size:9px}.page-footer{padding:20px 16px}.detail-actions{flex-wrap:wrap}.tool-detail{padding:21px}.tool-detail h1{font-size:22px}.workspace-bar h1{font-size:13px}.workspace-actions .secondary-button{font-size:0;gap:0}.workspace-actions .secondary-button .icon{width:16px;height:16px}.workspace-actions .icon-button{width:26px;height:26px}.workspace-bar>div:first-child{min-width:0}.workspace-bar h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-actions{flex-shrink:0}}
/* 小字号用于辅助状态，工具名称与描述保持可读。 */
.hero h1{font-size:34px;letter-spacing:.2px}.hero-copy>p{font-size:13px}.category-group summary{font-size:13px}.group-links a{font-size:12px}.hero-search input{font-size:13px}.section-subtitle,.catalog-meta{font-size:11px}.filters a{font-size:11px}.card-link h3{font-size:14px}.card-link p{font-size:12px;line-height:1.8}.card-bottom{font-size:10px}.featured-card h2{font-size:18px}.featured-card p{font-size:11px}.quick-search{font-size:11px}.tool-card{min-height:206px}.hero{padding-bottom:32px}.featured-card{min-height:252px}
@media(max-width:1200px){.hero h1{font-size:30px}.hero-search input{font-size:12px}.category-group summary{font-size:12px}.card-link h3{font-size:13px}.card-link p{font-size:11px}.featured-card h2{font-size:16px}.featured-card p{font-size:10px}.tool-card{min-height:198px}}
@media(max-width:1000px){.hero h1{font-size:34px}.hero h1 span{display:block}.hero-copy>p{font-size:12px}}
@media(max-width:420px){.hero h1{font-size:32px}.hero-search input{font-size:11px}.card-link h3{font-size:14px}.card-link p{font-size:12px}.tool-card{min-height:180px}.hero-copy>p{font-size:12px}}
.workspace-guide{flex:0 0 auto;margin:0 0 16px;border:1px solid #dce6ee;background:#fff;border-radius:8px;overflow:hidden}
.workspace-guide>summary{display:flex;align-items:center;gap:9px;padding:11px 16px;list-style:none;cursor:pointer;color:#557a91;font-size:12px;font-weight:600;user-select:none}
.workspace-guide>summary::-webkit-details-marker{display:none}.workspace-guide>summary::marker{content:''}
.workspace-guide>summary>.icon{width:16px;height:16px;color:#84a6b8}.workspace-guide>summary small{font-size:10px;color:#97aab5;font-weight:400}
.workspace-guide>summary>.guide-chevron{margin-left:auto;width:13px;height:13px;transform:rotate(90deg)}
.workspace-guide:not([open])>summary>.guide-chevron{transform:none}
.workspace-guide-body{padding:0 16px 13px;max-height:215px;overflow:auto;scrollbar-width:thin;scrollbar-color:#dce6ee transparent}
#workspace-description{font-size:12px;color:#849aa8;line-height:1.8;margin:0 0 12px}
#workspace-guide-content h2{display:none}
#workspace-guide-content ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px;counter-reset:guide-step}
#workspace-guide-content li{position:relative;padding-left:27px;font-size:12px;line-height:1.85;color:#607f92;counter-increment:guide-step;min-width:0;overflow-wrap:anywhere}
#workspace-guide-content li:before{content:counter(guide-step);position:absolute;left:0;top:3px;width:18px;height:18px;display:grid;place-items:center;background:#eaf3f7;border-radius:4px;color:#6890a7;font:10px/1.5 system-ui,sans-serif}
#workspace-guide-content p{margin:10px 0 0;color:#98a9b4;font-size:11px;line-height:1.8}
.guide-detail-link{display:inline-flex;align-items:center;gap:6px;font-size:10px;margin-top:12px;color:#88a5b6}.guide-detail-link .icon{width:12px;height:12px}
.guide-detail-link:hover{color:var(--blue)}
@media(max-width:1100px){#workspace-guide-content ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.workspace-guide-body{max-height:210px;padding:0 12px 12px}.workspace-guide>summary{padding:10px 12px}#workspace-guide-content ul{grid-template-columns:1fr;gap:9px}#workspace-description{font-size:11px}#workspace-guide-content li{font-size:11px}}
/* 工具页减少重复标题提示和纵向留白，把高度让给实际操作区。 */
body[data-mode=workspace] .topbar{height:44px;padding:0 20px}
body[data-mode=workspace] #main-content{padding:8px 18px 0}
body[data-mode=workspace] .workspace-view{height:calc(100dvh - 52px)}
body[data-mode=workspace] .workspace-bar{min-height:32px;margin-bottom:8px;padding:0 2px;gap:12px}
body[data-mode=workspace] .workspace-bar>div:first-child{min-width:0}
body[data-mode=workspace] .workspace-category{display:none}
body[data-mode=workspace] .workspace-bar h1{font-size:16px;line-height:1.5;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-mode=workspace] .workspace-guide{margin-bottom:8px}
body[data-mode=workspace] .workspace-guide>summary{min-height:32px;padding:6px 12px}
@media(max-width:760px){
 body[data-mode=workspace] .topbar{height:40px;padding:0 12px}
 body[data-mode=workspace] #main-content{padding:8px 10px 0}
 body[data-mode=workspace] .workspace-view{height:calc(100dvh - 48px)}
 body[data-mode=workspace] .workspace-bar{gap:8px}
 body[data-mode=workspace] .workspace-bar h1{font-size:14px}
 body[data-mode=workspace] #tool-frame{min-height:300px}
}
@media(max-width:420px){body[data-mode=workspace] .workspace-bar h1{font-size:13px}}
body[data-mode=workspace] .workspace-actions .fullscreen-button{display:inline-flex;gap:7px;padding:7px 10px;font-size:11px}.fullscreen-button .icon{width:15px;height:15px}
body.workspace-fullscreen-fallback{overflow:hidden}
body.workspace-fullscreen-fallback .sidebar,body.workspace-fullscreen-fallback .topbar,body.workspace-fullscreen-fallback .sidebar-backdrop{display:none!important}
body.workspace-fullscreen-fallback .main-shell{margin-left:0;min-height:100dvh}
body.workspace-fullscreen-fallback #main-content{max-width:none;height:100dvh;padding:12px}
body.workspace-fullscreen-fallback .workspace-view{height:calc(100dvh - 24px)}
body[data-mode=workspace] .workspace-view:fullscreen{height:100dvh;max-height:100dvh;padding:16px;background:var(--bg)}
.main-shell:has(.workspace-view:fullscreen){margin-left:0;min-height:100dvh}
.main-shell:has(.workspace-view:fullscreen)>.topbar,.main-shell:has(.workspace-view:fullscreen)>.page-footer{display:none}
body:has(.workspace-view:fullscreen)>.sidebar{display:none}
body:has(.workspace-view:fullscreen) #main-content{max-width:none;padding:0;height:100dvh}
.workspace-view:fullscreen .workspace-guide:not([open]){margin-bottom:8px}
@media(max-width:760px){body[data-mode=workspace] .workspace-actions .fullscreen-button{width:30px;height:30px;padding:6px;font-size:0;gap:0}.workspace-view:fullscreen{padding:9px}.workspace-view:fullscreen .workspace-bar{margin-bottom:9px}.workspace-view:fullscreen #tool-frame{min-height:0}}
/* 动效仅作用于外层目录，工具iframe与图纸不参与。 */
.hero{position:relative;isolation:isolate}
.hero-copy h1 span{background:linear-gradient(110deg,#268270,#1675bd 60%,#388a78);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero-search{transition:border-color .2s,box-shadow .2s,transform .2s}
.hero-search:focus-within{border-color:#79b8c4;box-shadow:0 0 0 4px #399eaa0c,0 8px 22px #4479a910;transform:translateY(-1px)}
.hero-search button,.quick-search a,.filters a,.side-main,.tool-card .tool-icon,.card-bottom>.icon,.feature-bottom>.icon{transition:transform .22s,color .2s,background .2s,box-shadow .2s}
.hero-search button:hover{transform:translateX(2px);box-shadow:0 3px 10px #498e7820}
.tool-card:before{content:'';position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;opacity:0;border:1px solid #7ebbb7;box-shadow:0 0 0 3px #4eaca509;transition:opacity .22s}
.tool-card:focus-within:before{opacity:1}
.favorite-button{transition:transform .2s,color .2s,background .2s}
.favorite-button[aria-pressed=true]{animation:favorite-pop .36s ease-out}
.toast:not([hidden]){animation:toast-in .22s ease-out both}
@media(hover:hover) and (pointer:fine){
 .tool-card:hover:before{opacity:1}.tool-card:hover .tool-icon{transform:translateY(-2px) rotate(-5deg)}
 .tool-card:hover .card-bottom>.icon,.featured-card:hover .feature-bottom>.icon{transform:translate(2px,-2px);color:#3e8c91}
 .favorite-button:hover{transform:scale(1.12)}.quick-search a:hover{transform:translateY(-2px)}
 .featured-card:hover .rack-art svg{transform:translateY(-3px)}
 .featured-card:hover .rack-art svg>path:first-child{animation:network-flow 1.4s linear 2}
}
.rack-art svg{transition:transform .35s ease-out}
@media(prefers-reduced-motion:no-preference){
 .motion-ready [data-reveal]{opacity:0;translate:0 12px;transition:opacity .48s ease-out var(--reveal-delay,0ms),translate .48s cubic-bezier(.2,.7,.3,1) var(--reveal-delay,0ms),transform .18s ease-out,box-shadow .18s,border-color .18s}
 .motion-ready [data-reveal].motion-visible,.motion-ready [data-reveal]:focus-within{opacity:1;translate:0 0}
 .motion-ready .featured-card.motion-visible .rack-art svg{animation:rack-welcome 1.1s ease-out .15s both}
}
@keyframes network-flow{to{stroke-dashoffset:-28}}
@keyframes favorite-pop{0%,100%{scale:1}45%{scale:1.24}75%{scale:.95}}
@keyframes toast-in{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}
@keyframes rack-welcome{0%{opacity:.45;transform:translateY(6px)}60%{opacity:1;transform:translateY(-2px)}100%{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.motion-ready [data-reveal]{opacity:1;translate:none}}
