.fuse-editor,.fuse-editor *{box-sizing:border-box}.fuse-editor{color:#222;background:#f6f5f2;flex-direction:column;height:100vh;margin:0;font:14px/1.4 system-ui,-apple-system,Segoe UI,Arial,sans-serif;display:flex}.fuse-editor .top{border-bottom:1px solid var(--line);background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;height:auto;min-height:56px;padding:8px 16px;display:flex}.fuse-editor .brand{flex:none}.fuse-editor .brand-logo{max-width:160px;max-height:32px}.fuse-editor .nav{flex-wrap:wrap;justify-content:flex-end;font-size:16px}.fuse-editor .top #msg{text-overflow:ellipsis;white-space:nowrap;text-align:center;color:#666;flex:auto;min-width:0;margin-left:0;font-size:12px;overflow:hidden}.fuse-editor .designer-intro{border-bottom:1px solid var(--line);background:#fff;margin:0;padding:8px 16px 10px}.fuse-editor .designer-intro h1{margin:0 0 4px;font-size:1rem;font-weight:700;line-height:1.3}.fuse-editor .designer-intro p{color:#555;max-width:52rem;margin:0;font-size:12px;line-height:1.45}.fuse-editor .designer-footer{border-top:1px solid var(--line);background:#fff;flex:none;padding:6px 16px}.fuse-editor .designer-footer nav{flex-wrap:wrap;gap:12px;font-size:12px;display:flex}.fuse-editor .designer-footer a{color:#666;text-decoration:none}.fuse-editor .designer-footer a:hover{color:#222}.fuse-editor .pattern-copy-notice{border-bottom:1px solid var(--line);color:#666;background:#fff;margin:0;padding:6px 16px;font-size:12px}@media (max-width:520px){.fuse-editor .top{gap:10px;padding:8px 12px}.fuse-editor .brand-logo{max-width:118px;max-height:28px}.fuse-editor .nav{gap:12px;font-size:.9rem}.fuse-editor .top #msg{display:none}.fuse-editor .designer-intro,.fuse-editor .designer-footer{padding-left:12px;padding-right:12px}}@media (max-width:400px){.fuse-editor .top{gap:8px;padding:8px 10px}.fuse-editor .brand-logo{max-width:96px;max-height:24px}.fuse-editor .nav{gap:8px;font-size:.78rem}.fuse-editor .pattern-copy-notice{padding:6px 10px}}.fuse-editor button,.fuse-editor select,.fuse-editor input,.fuse-editor textarea{font:inherit}.fuse-editor .btn,.fuse-editor button{cursor:pointer;color:#333;background:#fff;border:1px solid #d8d4cc;border-radius:6px;padding:7px 10px}.fuse-editor .btn:hover,.fuse-editor button:hover{border-color:#bdb8ae}.fuse-editor .btn:focus-visible,.fuse-editor .share-confirm-backdrop:focus-visible,.fuse-editor button:focus-visible,.fuse-editor .sw:focus-visible,.fuse-editor .brand:focus-visible,.fuse-editor .nav a:focus-visible,.fuse-editor select:focus-visible,.fuse-editor input:focus-visible,.fuse-editor textarea:focus-visible{outline-offset:2px;outline:2px solid #222}.fuse-editor .btn-secondary{letter-spacing:.02em;color:#444;background:#fafaf8;font-size:12px}.fuse-editor .btn-primary,.fuse-editor button.is-relevant{color:#fff;background:#2f2f2f;border-color:#333;font-weight:600}.fuse-editor .main{flex:1;grid-template-columns:1fr 320px;height:auto;min-height:0;display:grid}.fuse-editor .board{align-items:stretch;min-width:0;min-height:0;display:flex;overflow:hidden}.fuse-editor .workspace{flex:1;min-width:0;padding:18px 20px 24px 12px;position:relative;overflow:auto}.fuse-editor .side{background:#fff;border-left:1px solid #e4e1db;padding:16px 16px 20px;overflow-y:auto}.fuse-editor .side-section{border-bottom:1px solid #eeeae4;margin-bottom:16px;padding-bottom:16px}.fuse-editor .side-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.fuse-editor .canvas-col{min-width:0}.fuse-editor .grid-stage{touch-action:none;flex:none;margin-top:12px;position:relative}.fuse-editor #grid{transform-origin:0 0;background:#ddd;gap:1px;width:max-content;padding:2px;display:grid;position:absolute;top:0;left:0}.fuse-editor .cell{width:18px;height:18px;cursor:inherit;touch-action:none;background:#fff;border:1px solid #cbd2d5;border-radius:50%}.fuse-editor.tool-draw .grid-stage{cursor:crosshair}.fuse-editor.tool-erase .grid-stage{cursor:cell}.fuse-editor.tool-pan .grid-stage{cursor:grab}.fuse-editor.is-panning .grid-stage{cursor:grabbing}.fuse-editor .toolbar{background:#f6f5f2;flex-direction:column;flex:none;gap:6px;padding:12px 6px 16px 8px;display:flex;overflow-y:auto}.fuse-editor .toolbar button{color:#333;background:#fff;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:48px;min-width:44px;height:auto;min-height:44px;padding:5px 2px 4px;display:inline-flex}.fuse-editor .toolbar button svg{flex:none;width:20px;height:20px;display:block}.fuse-editor .toolbar .toolbar-label{letter-spacing:.01em;white-space:normal;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;max-width:100%;font-size:9px;font-weight:600;line-height:1.1;display:block}.fuse-editor .toolbar button.is-active{color:#fff;background:#2f2f2f;border-color:#2f2f2f}.fuse-editor .tool-help{z-index:3;color:#fff;pointer-events:none;opacity:0;visibility:hidden;background:#2f2f2feb;border-radius:6px;max-width:22rem;margin:0 auto;padding:8px 10px;font-size:12px;line-height:1.35;transition:opacity .15s;position:absolute;bottom:12px;left:12px;right:12px}.fuse-editor .tool-help.is-visible{opacity:1;visibility:visible}.fuse-editor .canvas-action-bar{z-index:4;background:#f6f5f2;max-width:100%;margin:0;padding:0 0 8px;position:sticky;top:0}.fuse-editor .canvas-action-bar-row{flex-wrap:wrap;justify-content:space-between;align-items:stretch;gap:8px 12px;display:flex}.fuse-editor .zoom-group{background:#fff;border:1px solid #d8d4cc;border-radius:6px;flex:none;align-items:stretch;display:inline-flex;overflow:hidden}.fuse-editor .zoom-group button{background:0 0;border:0;border-right:1px solid #ece8e1;border-radius:0;justify-content:center;align-items:center;gap:4px;min-width:36px;min-height:40px;padding:6px 11px;font-size:13px;display:inline-flex}.fuse-editor .zoom-group button svg{flex:none;width:15px;height:15px;display:block}.fuse-editor .zoom-group button:last-child{border-right:0}.fuse-editor .zoom-group button:hover{background:#f7f6f3}.fuse-editor .canvas-design-actions{flex-wrap:wrap;align-items:stretch;gap:6px;margin-left:auto;display:flex}.fuse-editor .canvas-action-btn{color:#333;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d8d4cc;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:13px;font-weight:600;line-height:1.1;display:inline-flex}.fuse-editor .canvas-action-btn svg{flex:none;width:16px;height:16px;display:block}.fuse-editor .canvas-action-btn:hover{background:#f7f6f3}.fuse-editor .canvas-action-share{color:#333;background:#f3efe8;border-color:#d0c8bb}.fuse-editor .canvas-action-share:hover{background:#ece6dc}.fuse-editor .canvas-action-import,.fuse-editor .canvas-action-projects{background:#f7f4ef}.fuse-editor .canvas-action-btn:disabled{opacity:.65;cursor:wait}.fuse-editor .canvas-action-bar .file-label{font:inherit;color:inherit;align-items:stretch;margin:0;padding:0;display:inline-flex}.fuse-editor .canvas-action-bar .share-hint,.fuse-editor .canvas-action-bar .import-error{max-width:100%;margin:6px 0 0}.fuse-editor h3{letter-spacing:.06em;text-transform:uppercase;color:#5c5c5c;margin:0 0 10px;font-size:11px;font-weight:650}.fuse-editor .side h4{color:#666;margin:12px 0 6px;font-size:12px;font-weight:600}.fuse-editor .side h4:first-of-type{margin-top:0}.fuse-editor .side label{color:#555;margin-bottom:10px;font-size:12px;display:block}.fuse-editor .side input,.fuse-editor .side select{background:#fff;border:1px solid #d8d4cc;border-radius:6px;width:100%;margin-top:4px;padding:7px 8px;display:block}.fuse-editor .side input[type=file]{display:none}.fuse-editor .swatches{grid-template-columns:1fr 1fr;gap:6px;display:grid}.fuse-editor .sw{text-align:left;background:#fff;border:1px solid #e6e2db;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;display:flex}.fuse-editor .sw:hover{border-color:#c4bfb6}.fuse-editor .dot{border:1px solid #0000002e;border-radius:50%;flex:none;width:18px;height:18px;display:inline-block}.fuse-editor .sw.active{border-color:#222;outline:none;box-shadow:0 0 0 2px #222}.fuse-editor .row{flex-wrap:wrap;gap:6px;display:flex}.fuse-editor textarea{resize:vertical;border:1px solid #d8d4cc;border-radius:6px;width:100%;height:92px;margin:8px 0;padding:8px}.fuse-editor #togglePal{width:100%}.fuse-editor .paste-row{align-items:center}.fuse-editor .paste-row>#loadPaste{box-sizing:border-box;flex:auto;justify-content:center;align-items:center;min-width:0;height:34px;padding:7px 10px;font-size:12px;line-height:1.2;display:inline-flex}.fuse-editor .paste-row>#clearPaste{box-sizing:border-box;letter-spacing:.04em;color:#6a6a6a;background:0 0;border-color:#e4e1db;flex:none;justify-content:center;align-items:center;height:34px;padding:7px 10px;font-size:11px;display:inline-flex}.fuse-editor #counts{flex-direction:column;gap:10px;display:flex}.fuse-editor .count-row{flex-direction:column;gap:3px;display:flex}.fuse-editor .count-main{align-items:center;gap:8px;display:flex}.fuse-editor .count-name{flex:1;min-width:0}.fuse-editor .count-n{font-variant-numeric:tabular-nums;font-weight:650}.fuse-editor #counts b{margin-top:4px;font-size:13px}.fuse-editor #counts a{color:#555;border-bottom:1px solid #d0cdc6;margin-left:0;font-size:12px;text-decoration:none}.fuse-editor #counts a:hover{color:#222;border-bottom-color:#222}.fuse-editor #counts .affiliate-sep{color:#999;margin:0 6px}.fuse-editor #counts .count-links{padding-left:26px;font-size:12px}.fuse-editor #counts .affiliate-disclosure{margin-top:4px}.fuse-editor .small{color:#666;font-size:12px}.fuse-editor .filter-panel{background:#fafaf7;border:1px solid #ece8e1;border-radius:8px;max-width:520px;margin-top:20px;padding:12px 14px 14px}.fuse-editor .filter-panel h3{color:#7a7a7a;margin-bottom:8px}.fuse-editor .filter-preview-msg{background:#fff8e8;border:1px solid #ead7a0;border-radius:6px;margin:0 0 10px;padding:8px 10px;font-size:13px;font-weight:650}.fuse-editor .filter-buttons{gap:4px;margin-bottom:8px}.fuse-editor .filter-buttons button{color:#555;background:#fff;border-radius:4px;padding:4px 8px;font-size:12px}.fuse-editor .filter-buttons button.filter-previewing{color:#111;border-color:#222;outline:none;box-shadow:0 0 0 1px #222}.fuse-editor .filter-actions{margin-top:4px}.fuse-editor .filter-actions button{letter-spacing:.03em;opacity:.55;font-size:11px}.fuse-editor .filter-actions button.is-relevant{opacity:1}.fuse-editor .share-hint{color:#666;margin:8px 0 0;font-size:12px}.fuse-editor .share-confirm-overlay{z-index:60;padding:16px;padding-bottom:max(16px, env(safe-area-inset-bottom,0px));justify-content:center;align-items:center;max-width:100%;display:flex;position:fixed;inset:0}.fuse-editor .share-confirm-overlay[hidden]{display:none!important}.fuse-editor .share-confirm-backdrop{background:#22222247;border:0;border-radius:0;padding:0;position:absolute;inset:0}.fuse-editor .share-confirm-panel{z-index:1;width:min(100%,360px);max-height:min(88dvh,420px);padding:16px 16px calc(12px + env(safe-area-inset-bottom,0px));box-shadow:none;background:#fff;border:1px solid #e4e1db;border-radius:12px;margin:0;position:relative;overflow:auto}.fuse-editor .share-confirm-panel h3{letter-spacing:.06em;text-transform:uppercase;color:#444;margin:0 0 10px;font-size:14px}.fuse-editor .share-confirm-panel p{color:#555;margin:0 0 8px;font-size:13px;line-height:1.45}.fuse-editor .share-confirm-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.fuse-editor .share-confirm-actions .btn{flex:120px;min-height:44px}.fuse-editor .share-pattern-overlay{z-index:60;justify-content:center;align-items:flex-end;max-width:100%;display:flex;position:fixed;inset:0}.fuse-editor .share-pattern-backdrop{background:#22222247;border:0;border-radius:0;padding:0;position:absolute;inset:0}.fuse-editor .share-pattern-panel{z-index:1;background:#fff;border:1px solid #e4e1db;border-radius:12px 12px 0 0;flex-direction:column;width:min(100%,420px);max-height:min(92dvh,720px);margin:0;display:flex;position:relative;overflow:hidden}.fuse-editor .share-pattern-head{border-bottom:1px solid #eeeae3;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px 10px;display:flex}.fuse-editor .share-pattern-head h3{letter-spacing:.06em;text-transform:uppercase;color:#444;margin:0;font-size:14px}.fuse-editor .share-pattern-close{color:#333;background:0 0;border:0;width:40px;height:40px;padding:0;font-size:24px;line-height:1}.fuse-editor .share-pattern-form{flex-direction:column;flex:1;min-height:0;display:flex}.fuse-editor .share-pattern-body{-webkit-overflow-scrolling:touch;padding:12px 14px 8px;overflow-y:auto}.fuse-editor .share-pattern-note{color:#666;margin:0 0 12px;font-size:13px}.fuse-editor .share-pattern-hint{color:#666;margin:4px 0 0;font-size:12px;font-weight:400;display:block}.fuse-editor .share-pattern-body label{color:#555;margin-bottom:10px;font-size:12px;display:block}.fuse-editor .share-pattern-body input,.fuse-editor .share-pattern-body select,.fuse-editor .share-pattern-body textarea{width:100%;font:inherit;background:#fff;border:1px solid #d8d4cc;border-radius:6px;margin-top:4px;padding:8px 10px;display:block}.fuse-editor .share-pattern-body textarea{resize:vertical;height:auto;min-height:72px}.fuse-editor .import-error{color:#8a1f1f;margin:8px 0 0;font-size:13px}.fuse-editor .share-pattern-verify,.fuse-editor .share-pattern-turnstile{width:100%;max-width:100%;overflow-x:hidden}.fuse-editor .share-pattern-turnstile{min-height:65px}.fuse-editor .share-pattern-panel{max-width:min(100%,420px);overflow-x:hidden}.fuse-editor .share-pattern-feedback{margin:4px 0 8px;font-size:13px}.fuse-editor .share-pattern-feedback.is-error{color:#8a1f1f}.fuse-editor .share-pattern-feedback.is-success{color:#1f6b3a}.fuse-editor .share-pattern-actions{padding:10px 14px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #eeeae3;flex-wrap:wrap;flex:none;gap:8px;display:flex}.fuse-editor .share-pattern-actions .btn{flex:140px;min-height:44px}@media (min-width:800px){.fuse-editor .share-pattern-overlay{align-items:center;padding:24px}.fuse-editor .share-pattern-panel{border-radius:12px}}@media (max-width:800px){.fuse-editor .top{flex-wrap:wrap;flex:none;height:auto;min-height:56px}.fuse-editor .top .nav{flex:100%;order:2;justify-content:flex-start;gap:8px 12px}.fuse-editor .top .language-switcher{margin-left:auto}.fuse-editor .main{height:auto;display:block;overflow-x:hidden}.fuse-editor .workspace{height:65vh;padding:12px 12px 12px 8px}.fuse-editor .toolbar{gap:5px;padding:8px 4px 8px 6px}.fuse-editor .side{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid #e4e1db}.fuse-editor .canvas-action-bar-row{flex-direction:column;align-items:stretch}.fuse-editor .zoom-group{width:100%;max-width:100%}.fuse-editor .zoom-group button{flex:1 1 0;min-height:44px}.fuse-editor .canvas-design-actions{width:100%;margin-left:0}.fuse-editor .canvas-action-btn,.fuse-editor .canvas-action-bar .file-label{flex:calc(33.33% - 6px);min-width:104px}.fuse-editor .canvas-action-btn{width:100%;min-height:44px}}.fuse-editor .mobile-color-dock,.fuse-editor .mobile-color-drawer{display:none}@media (max-width:800px){.fuse-editor{overflow-x:hidden}.fuse-editor .mobile-color-dock{z-index:40;min-height:56px;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e4e1db;align-items:center;gap:10px;max-width:100%;display:flex;position:fixed;bottom:0;left:0;right:0}.fuse-editor .mobile-color-current{flex:auto;align-items:center;gap:10px;min-width:0;display:flex}.fuse-editor .mobile-color-swatch{border:1px solid #0000002e;border-radius:50%;flex:none;width:32px;height:32px;box-shadow:inset 0 0 0 1px #ffffff59}.fuse-editor .mobile-color-swatch.is-light{border-color:#8a8a8a}.fuse-editor .mobile-color-name{text-overflow:ellipsis;white-space:nowrap;color:#222;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.fuse-editor .mobile-color-toggle{letter-spacing:.04em;color:#222;background:#fafaf8;flex:none;min-height:40px;padding:8px 12px;font-size:12px;font-weight:650}.fuse-editor .mobile-color-drawer:not([hidden]){z-index:39;max-width:100%;display:block;position:fixed;inset:0}.fuse-editor .mobile-color-backdrop{background:#22222247;border:0;border-radius:0;padding:0;position:absolute;inset:0}.fuse-editor .mobile-color-panel{left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom,0px));max-height:min(70vh, calc(100dvh - 120px - env(safe-area-inset-bottom,0px)));background:#fff;border-top:1px solid #e4e1db;border-radius:12px 12px 0 0;flex-direction:column;display:flex;position:absolute;overflow:hidden}.fuse-editor .mobile-color-panel-head{border-bottom:1px solid #eeeae3;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px 8px;display:flex}.fuse-editor .mobile-color-panel-head h3{letter-spacing:.08em;color:#555;margin:0;font-size:12px;font-weight:700}.fuse-editor .mobile-color-close{color:#333;background:0 0;border:0;width:40px;height:40px;padding:0;font-size:24px;line-height:1}.fuse-editor .mobile-color-panel-body{-webkit-overflow-scrolling:touch;padding:12px;overflow-y:auto}.fuse-editor .mobile-color-panel-body h4{margin:0 0 8px}.fuse-editor .mobile-swatches{grid-template-columns:1fr 1fr;gap:8px;display:grid}.fuse-editor .mobile-show-all{width:100%;min-height:44px;margin:12px 0 0}.fuse-editor .mobile-swatches-all{margin-top:12px}.fuse-editor .mobile-sw{gap:10px;min-height:44px;padding:8px 10px}.fuse-editor .mobile-sw .dot{width:28px;height:28px}.fuse-editor .mobile-sw.light-dot .dot{border-color:#8a8a8a}.fuse-editor .mobile-sw.active{background:#f4f3ef;border-color:#111;font-weight:650;box-shadow:0 0 0 2px #111}.fuse-editor .mobile-sw .sw-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.fuse-editor .mobile-sw .sw-check{color:#111;flex:none;margin-left:auto;font-size:14px;font-weight:700}}.fuse-editor .image-import-overlay{z-index:50;justify-content:center;align-items:flex-end;max-width:100%;padding:0;display:flex;position:fixed;inset:0;overflow:hidden}.fuse-editor .image-import-panel{z-index:1;width:min(100%,920px);max-height:min(92dvh,860px);padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));box-shadow:none;background:#fff;border:1px solid #e4e1db;border-radius:12px 12px 0 0;margin:0;position:relative;overflow:hidden auto}.fuse-editor .image-import-panel h3{letter-spacing:.06em;text-transform:uppercase;color:#444;margin:0 0 8px;font-size:14px}.fuse-editor .image-import-panel h4{letter-spacing:.04em;text-transform:uppercase;color:#666;margin:0 0 6px;font-size:12px}.fuse-editor .image-import-note,.fuse-editor .image-import-hint{color:#666;margin:0 0 12px;font-size:12px;line-height:1.45}.fuse-editor .image-import-toolbar,.fuse-editor .image-import-modes,.fuse-editor .image-import-zoom{flex-wrap:wrap;align-items:stretch;gap:8px;margin-bottom:10px;display:flex}.fuse-editor .image-import-modes span,.fuse-editor .image-import-field{letter-spacing:.04em;text-transform:uppercase;color:#666;flex-direction:column;justify-content:center;gap:4px;min-width:0;font-size:11px;display:flex}.fuse-editor .image-import-toolbar .btn,.fuse-editor .image-import-modes .btn,.fuse-editor .image-import-zoom .btn,.fuse-editor .image-import-panel .share-confirm-actions .btn{min-height:44px}.fuse-editor .image-import-field select{min-width:140px;max-width:100%;min-height:44px;padding:8px 10px}.fuse-editor .image-import-previews{grid-template-columns:1fr 1fr;gap:12px;min-width:0;display:grid}.fuse-editor .image-import-previews>div{min-width:0}.fuse-editor .image-import-canvas{touch-action:none;cursor:grab;background:#ece8e1;border:1px solid #e4e1db;border-radius:8px;width:100%;max-width:100%;height:auto;min-height:120px;display:block}@media (max-width:700px){.fuse-editor .image-import-previews{grid-template-columns:1fr}.fuse-editor .image-import-panel{border-radius:12px 12px 0 0;width:100%;max-height:94dvh}}
