@charset "UTF-8";
:root{color-scheme:light;--paper:#f5f7fa;--ink:#17191e;--muted:#626772;--line:#dde1e8;--iris:#68628e;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px;scrollbar-gutter:stable}body{margin:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column}main{flex:1;min-width:0}a{color:inherit;text-decoration:none}p,h1,h2{margin:0}button,input,textarea{font:inherit}[hidden]{display:none!important}.page-width{width:min(1120px,calc(100% - 80px));margin-inline:auto}.skip-link{position:fixed;left:20px;top:-90px;padding:14px 20px;background:#fff;z-index:10}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--iris);outline-offset:3px}
.site-header{border-bottom:1px solid var(--line);background:#f5f7fae8}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:11px;font-weight:750;font-size:29px;letter-spacing:-1.4px}.brand-icon{display:grid;place-items:center;width:30px;height:32px;font-size:27px;font-weight:800;letter-spacing:-2px;transform:skew(-9deg)}.reference-link{font-size:13px;color:var(--muted)}.reference-link:hover,.site-footer a:hover{color:var(--iris)}
.tool-page{padding-block:54px 72px}.operation-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;margin-bottom:27px;border:1px solid var(--line);border-radius:28px;background:#eef0f5}.operation-switch .operation{border:0;background:transparent;color:var(--muted);padding:9px 21px;min-height:40px;border-radius:24px;font-size:14px;cursor:pointer}.operation-switch .operation.active{background:var(--ink);color:#fff}.tool-heading h1{font-size:clamp(34px,4.6vw,54px);font-weight:650;line-height:1.12;letter-spacing:-.045em}.tool-heading>p{margin-top:16px;color:var(--muted);font-size:19px;line-height:1.6}.tool-note{max-width:760px;margin:24px 0 36px;color:var(--muted);font-size:14px;line-height:1.85}
.workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 12px 36px #303e5708}.editor-pane{min-width:0;padding:22px}.result-pane{border-left:1px solid var(--line);background:#fafbfe}.pane-heading{min-height:44px;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.pane-heading h2{font-size:16px;font-weight:600;line-height:1.35}.result-state{font-size:12px;color:var(--muted);white-space:nowrap}.result-state.success{color:#236848}.result-state.error{color:#a4303a}.result-state.busy{color:var(--iris)}.drop-zone{border-radius:10px}.drop-zone.dragging{outline:3px solid var(--iris);outline-offset:4px;background:#f5f3fa}.tool-page textarea{width:100%;height:330px;min-height:180px;display:block;resize:vertical;border:0;border-radius:8px;background:transparent;color:var(--ink);font:13px/1.8 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:12px;tab-size:2}.tool-page textarea::placeholder{color:#707682}.output-wrap{position:relative;min-height:330px}.empty-result{min-height:330px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center;color:var(--muted);font-size:14px;padding:20px}.empty-result svg{width:48px;height:48px;fill:none;stroke:#8b90a4;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-bottom:12px}.empty-result>span{font-size:12px}.pane-caption{margin-top:14px;display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;line-height:1.6}.pane-caption>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.tool-page button{font:inherit;font-size:14px;cursor:pointer;min-height:44px;border:0;border-radius:24px;padding:10px 20px}.solid-button{background:var(--ink);color:#fff;font-weight:550}.solid-button:hover:not(:disabled){background:#434652}.quiet-button{background:transparent;color:var(--muted)}.quiet-button:hover:not(:disabled){background:#e9edf4;color:var(--ink)}.tool-page button:disabled{cursor:default;opacity:.45}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:25px}.processing-note{color:var(--muted);font-size:12px;margin-left:auto}.status{min-height:24px;margin-top:15px;color:var(--muted);font-size:14px;line-height:1.75;overflow-wrap:anywhere}.status.error{color:#a4303a}.status.success{color:#236848}.status.busy{color:var(--iris)}.download-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.filename-field{flex:1;min-width:180px;max-width:380px;margin-right:auto}.filename-field label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.filename-field input{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;padding:11px 12px;font-size:14px;color:var(--ink)}.tool-help{max-width:690px;margin-top:52px}.tool-help h2{font-size:17px;font-weight:600;line-height:1.4}.tool-help p{color:var(--muted);font-size:13px;line-height:1.9;margin-top:12px}.site-footer{border-top:1px solid var(--line)}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-block:28px;color:var(--muted);font-size:12px}
@media(max-width:900px){.page-width{width:calc(100% - 48px)}}
@media(max-width:700px){.page-width{width:calc(100% - 32px)}.header-inner{min-height:72px;gap:15px}.brand{font-size:25px}.reference-link{font-size:11px}.tool-page{padding-block:30px 48px}.operation-switch{margin-bottom:24px}.tool-heading>p{font-size:16px}.tool-note{margin-block:20px 26px;font-size:13px}.workbench{grid-template-columns:minmax(0,1fr)}.editor-pane{padding:16px}.result-pane{border-left:0;border-top:1px solid var(--line)}.tool-page textarea{height:250px;font-size:14px}.output-wrap,.empty-result{min-height:200px}.result-pane textarea{height:200px}.processing-note{flex-basis:100%;margin:4px 0 0}.filename-field{flex-basis:100%;max-width:none}.filename-field input{font-size:16px}.download-bar{gap:8px}.tool-help{margin-top:36px}.footer-inner{font-size:11px;padding-block:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.collection-panel{margin-top:22px}.collection-caption{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:16px}.widget-list{display:flex;flex-direction:column;gap:6px}.widget-list .widget-button{display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 14px;min-height:40px;font-size:13px;color:var(--ink)}.widget-list .widget-button:hover{background:#e5e9f7;border-color:var(--iris)}.widget-name{min-width:0;overflow-wrap:anywhere}.widget-title{font-size:12px;color:var(--muted);margin-left:10px}.widget-url{font:11px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--muted);max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}@media(max-width:700px){.widget-list .widget-button{align-items:flex-start;flex-direction:column;gap:6px}.widget-url{max-width:100%;width:100%}.widget-title{display:block;margin:4px 0 0}}

.brand-icon{width:32px;transform:none}.brand-icon img{display:block;width:26px;height:26px;object-fit:contain}
