.tool-code .code-upload-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px;margin-bottom:23px;border:1px solid #d4dff1;border-radius:15px;background:#edf2fc}.code-upload-group{display:flex;align-items:center;flex-wrap:wrap;gap:18px}.code-upload-group>p{font-size:15px;color:#71819a}.tool-code #code-upload-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}.code-upload-group .docs-icon{width:19px;height:19px;flex:none}.tool-code .code-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.tool-code .tool-panel{overflow:visible}.tool-code .tool-panel-header{border-radius:19px 19px 0 0;min-height:64px}.tool-code #svg-code{display:block;width:100%;height:510px;min-height:300px;padding:23px;background:#faf9f5;color:#425d7e;border:0;border-radius:0 0 19px 19px;font:14px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical;-moz-tab-size:2;-o-tab-size:2;tab-size:2}.tool-code #svg-code:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #a8c2ec}.tool-code #svg-code::-moz-placeholder{color:#96a3b6;white-space:normal}.tool-code #svg-code::placeholder{color:#96a3b6;white-space:normal}.tool-code #preview-container{height:510px;min-height:300px;padding:28px;border-radius:0 0 19px 19px}.tool-code #preview-placeholder{max-width:390px}.tool-code #preview-placeholder>p:first-of-type{font-size:22px;line-height:1.4;font-weight:600;letter-spacing:-.025em;color:var(--site-ink)}.tool-code #preview-placeholder>p:last-child{font-size:15px;line-height:1.7;color:var(--site-muted)}.tool-code #clear-preview-btn,.tool-code #copy-code-btn{min-height:36px;padding:7px 13px;border:1px solid #d7dfe9;border-radius:9px;background:#fffefa;font-size:14px;color:#566f94}.tool-code #download-btn{min-height:42px;padding:10px 14px;font-size:14px;box-shadow:0 2px #17439d}.tool-code #download-dropdown{width:210px;border:1px solid #d4dfef;border-radius:13px;margin-top:9px;box-shadow:0 12px 30px #25304720}.tool-code #download-dropdown button{min-height:49px;font-size:15px;border-radius:0;padding:13px 17px}.tool-code #svg-preview{min-width:0}.tool-code #svg-preview>svg{max-width:100%;max-height:100%}.tool-code #preview-container.preview-drop-active{background-color:#e8f0ff;outline:2px dashed #92b2e8;outline-offset:-8px}.tool-palettes .palette-intro-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:19px 0 22px;margin:0 0 26px;border-block:1px solid var(--site-line);color:var(--site-muted);font-size:15px}.palette-intro-strip>span{display:flex;align-items:center;gap:9px}.palette-intro-strip .docs-icon{width:19px;height:19px;color:#7892b9}.palette-intro-strip>a{display:inline-flex;align-items:center;gap:9px;font-size:15px;font-weight:600;color:var(--site-blue-dark)}.tool-palettes #palette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.tool-palettes #palette-grid>article{padding:24px;border:1px solid var(--site-line);border-radius:19px;background:var(--site-surface);box-shadow:0 3px #eae8df55;transition:border-color .15s,box-shadow .15s;min-width:0}.tool-palettes #palette-grid>article:hover{border-color:#b5c8e8;box-shadow:0 9px 22px #25304708}.tool-palettes #palette-grid h2{font-size:23px;font-weight:650;line-height:1.3;letter-spacing:-.03em;color:var(--site-ink)}.tool-palettes #palette-grid header>p{color:var(--site-muted);font-size:15px;line-height:1.7;margin-top:9px}.tool-palettes #palette-grid article>div>div:first-child{height:180px;border:1px solid #2530470c;border-radius:12px}.tool-palettes .palette-color{min-width:0;transition:flex-grow .2s;position:relative}.tool-palettes .palette-color:hover,.tool-palettes .palette-color:focus-visible{flex-grow:1.4;z-index:1}.tool-palettes #palette-grid article>div>div:nth-child(2){gap:7px;margin-top:16px;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:#74839b}.tool-palettes #palette-grid article>div>div:nth-child(2)>span{border:1px solid #e1e7f0;background:#f0f4fb;border-radius:6px;padding:5px 7px}.tool-palettes #palette-grid article>footer{gap:12px;flex-wrap:wrap;margin-top:23px}.tool-palettes #palette-grid article>footer>span{font-size:13px;color:#8590a1}.tool-palettes [data-download-palette]{min-height:45px;padding:11px 14px;border:1px solid #cfdbef;border-radius:10px;background:#edf3ff;color:#2d60b7;font-size:14px;font-weight:600}.tool-palettes [data-download-palette]:hover{background:#e3edff;border-color:#a9c1e9}.tool-palettes #load-more-sentinel{margin-block:43px 18px;color:var(--site-muted);font-size:14px}.tool-palettes #load-more-sentinel>span{border:1px dashed #c6d3e7;background:#eff3fb;border-radius:10px;padding:12px 19px}.tool-palettes #load-more-sentinel .bg-gradient-to-br{background:var(--site-surface);border:1px solid var(--site-line);border-radius:18px;padding:30px}.tool-palettes #load-more-sentinel h3{color:var(--site-ink);font-size:27px;font-weight:650;letter-spacing:-.03em}.tool-palettes #load-more-sentinel p{color:var(--site-muted);font-size:17px;line-height:1.8}.tool-palettes #load-more-sentinel a{background:var(--site-blue);border-radius:11px;padding:13px 20px;box-shadow:0 3px #19479e}#color-tooltip{font-size:13px;padding:8px 11px;border-radius:8px}#copy-toast{width:calc(100% - 40px);max-width:340px;border-radius:12px;padding:15px 22px;font-size:15px;box-shadow:0 10px 30px #25304725}.tool-qr .qr-workspace{grid-template-columns:minmax(300px,350px) minmax(0,1fr)}.tool-qr .tool-main{position:sticky;top:22px}.tool-qr .tool-panel-flush{overflow:visible}.tool-qr .tool-panel-header{border-radius:19px 19px 0 0}.tool-qr .tool-controls .tool-panel>h3{font-size:19px;margin-bottom:18px}.tool-qr .tool-controls .tool-panel>h3>svg{width:19px;height:19px;color:#7694bc}.tool-qr #qr-input{min-height:100px;resize:vertical;font-size:16px;line-height:1.7}.tool-qr #generate-btn{margin-top:15px}.tool-qr .qr-colors-grid{display:grid;grid-template-columns:1fr;gap:15px}.qr-colors-grid>div{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px}.tool-qr .qr-colors-grid label{font-size:14px;margin:0;color:#71829a}.tool-qr input.qr-color-input{width:42px;height:44px;padding:4px;border:1px solid #cdd9e9;background:#fffefa;border-radius:10px}.tool-qr input[id$=-hex]{min-height:44px;padding:10px 8px;font:13px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}.tool-qr :is(.dot-shape-btn,.corner-shape-btn,.frame-btn){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:78px;padding:10px 4px;border:1px solid #e0e3dd;color:#718298;background:#f5f6ef;border-radius:12px}.tool-qr :is(.dot-shape-btn,.corner-shape-btn,.frame-btn)>span{font-size:11px;font-weight:550}.tool-qr :is(.dot-shape-btn,.corner-shape-btn,.frame-btn)>svg{width:27px;height:27px}.tool-qr :is(.dot-shape-btn,.corner-shape-btn,.frame-btn).active{color:#1d4ed8;background:#e6eeff;border-color:#79a0e5;box-shadow:inset 0 0 0 1px #79a0e5}.tool-qr :is(.dot-shape-btn,.corner-shape-btn,.frame-btn):hover{border-color:#aec4e9;color:#2563eb;background:#edf3ff}.tool-qr #qr-preview-wrap{height:clamp(300px,calc(100vh - 280px),540px);aspect-ratio:auto!important;padding:28px;border:0;border-radius:0;background-color:#fbfaf6;background-image:radial-gradient(#d9dfdd .8px,transparent .8px);background-size:20px 20px}.tool-qr #qr-svg{width:auto;height:auto;max-width:100%;max-height:100%;aspect-ratio:1;box-shadow:0 4px 20px #25304705}.tool-qr .qr-export{padding:22px;margin:0;border-top:1px solid var(--site-line)}.tool-qr .qr-export-hint{color:var(--site-muted);font-size:13px;text-align:center;margin-top:15px;line-height:1.6}.tool-qr #download-menu{border:1px solid #d4dfed;border-radius:13px;margin-bottom:10px;box-shadow:0 12px 30px #25304720}.tool-qr #download-menu button{font-size:15px;min-height:49px;border-radius:0;padding:13px 17px}.tool-qr #logo-upload-btn{min-height:49px;background:#f0f4fc;border:1px dashed #b3c7e7;color:#5575a2;font-size:15px}.tool-qr #social-presets{gap:8px}.tool-qr .social-preset-btn{width:100%;height:46px;min-height:46px;padding:8px;border:1px solid #dce2e8;border-radius:10px;background:#fbfaf6;box-shadow:none}.tool-qr .social-preset-btn svg{width:23px;height:23px}.tool-qr .social-preset-btn.active{border-color:#79a0e5;background:#e9f0ff;box-shadow:inset 0 0 0 1px #79a0e5}.tool-qr #logo-remove-btn{font-size:13px;min-height:40px}@media(max-width:1150px){.tool-palettes #palette-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-qr .qr-workspace{grid-template-columns:310px minmax(0,1fr);gap:20px}.tool-qr .qr-colors-grid>div{grid-template-columns:72px minmax(0,1fr);gap:8px}.tool-qr .qr-colors-grid label{font-size:13px}.tool-qr :is(.dot-shape-btn,.corner-shape-btn,.frame-btn)>span{font-size:10px}}@media(max-width:850px){.tool-code .code-split{gap:18px}.tool-code #svg-code{padding:19px;font-size:13px}.tool-code #preview-container{padding:21px}.tool-qr .qr-workspace{grid-template-columns:280px minmax(0,1fr);gap:18px}.tool-qr #qr-preview-wrap{padding:22px}.tool-qr .tool-panel-header>span{display:none}.tool-qr .qr-colors-grid>div{display:block}.tool-qr .qr-colors-grid label{margin-bottom:8px}}@media(max-width:700px){.tool-code .code-split{grid-template-columns:1fr}.tool-code .code-upload-bar{padding:17px;gap:12px}.tool-code .code-upload-group{gap:10px}.code-upload-group>p{font-size:13px}.tool-code #svg-code{height:330px;min-height:240px}.tool-code #preview-container{height:350px;min-height:280px}.tool-palettes #palette-grid{grid-template-columns:1fr;gap:20px}.tool-palettes #palette-grid>article{padding:24px}.tool-palettes #palette-grid h2{font-size:24px}.tool-palettes #palette-grid article>div>div:first-child{height:190px}.tool-palettes #palette-grid article>div>div:nth-child(2){font-size:12px}.tool-palettes .palette-intro-strip{font-size:14px}.tool-qr .qr-workspace{grid-template-columns:1fr}.tool-qr .tool-controls{display:contents}.tool-qr .qr-content-panel{grid-row:1}.tool-qr .tool-main{position:static;grid-row:2}.tool-qr #qr-preview-wrap{height:340px;padding:23px}.tool-qr .qr-export{padding:20px}.tool-qr .qr-colors-grid>div{display:grid;grid-template-columns:88px minmax(0,1fr)}.tool-qr .qr-colors-grid label{margin:0;font-size:14px}.tool-qr :is(.dot-shape-btn,.corner-shape-btn,.frame-btn)>span{font-size:12px}.tool-qr #qr-input{min-height:100px}}@media(max-width:380px){.tool-code .code-upload-group>p{max-width:110px;line-height:1.6}.tool-code .code-upload-bar{padding:16px}.tool-code .tool-panel-header{padding:15px 18px}.tool-code #download-btn{padding:10px 12px;font-size:13px}.tool-palettes #palette-grid>article{padding:21px}.tool-palettes #palette-grid article>div>div:nth-child(2){gap:6px;font-size:11px}.tool-qr .qr-colors-grid>div{grid-template-columns:78px minmax(0,1fr);gap:7px}.tool-qr #qr-preview-wrap{height:290px;padding:20px}.tool-qr :is(.dot-shape-btn,.corner-shape-btn,.frame-btn)>span{font-size:10px}}@media(max-height:620px)and (min-width:701px){.tool-qr .tool-main{position:static}}@media(prefers-reduced-motion:reduce){.tool-palettes .palette-color{transition:none}}
