.ffw-editor{height:100dvh;font-family:var(--sans);background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;flex-direction:column;font-size:14px;display:flex}.ffw-editor *{box-sizing:border-box}.ffw-editor .topbar{border-bottom:1px solid var(--line);background:var(--surface);flex:none;align-items:center;gap:16px;padding:12px 20px;display:flex;position:relative}.ffw-editor .brand{align-items:center;gap:12px;display:flex}.ffw-editor .brand .logo{width:auto;height:40px;display:block}.ffw-editor .subtitle{color:var(--ink-soft);font-size:12.5px}.ffw-editor .steps{color:var(--ink-faint);align-items:center;gap:6px;font-size:12.5px;display:flex}.ffw-editor .steps b{color:var(--ink);background:var(--chip);border:1px solid var(--line);border-radius:999px;padding:4px 12px;font-weight:700}.ffw-editor .steps .sep{color:var(--ink-faint)}.ffw-editor .header-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.ffw-editor .desk-actions{display:contents}.ffw-editor .hbtn.menu-btn{display:none}.ffw-editor .menu-btn svg{width:22px;height:22px}.ffw-editor .hmenu-scrim{z-index:40;position:fixed;inset:0}.ffw-editor .hmenu{z-index:41;background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:2px;min-width:212px;padding:6px;animation:.16s cubic-bezier(.4,0,.2,1) ffw-pop;display:flex;position:absolute;top:calc(100% - 4px);right:12px;box-shadow:0 20px 50px -18px #241c1680}.ffw-editor .hmenu-user{color:var(--ink-faint);padding:10px 14px 4px;font-size:12.5px;font-weight:700}.ffw-editor .hmenu-item{text-align:left;width:100%;font-family:var(--sans);color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:12px 14px;font-size:14.5px;font-weight:700;text-decoration:none;display:flex}.ffw-editor .hmenu-item:hover{background:var(--chip)}.ffw-editor .hmenu-item.danger{color:#b3261e}.ffw-editor .tpl-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:8px;display:grid}.ffw-editor .tpl-card{cursor:pointer;background:var(--surface);border:1px solid var(--line);text-align:center;border-radius:10px;flex-direction:column;gap:6px;padding:6px;display:flex}.ffw-editor .tpl-card:hover{border-color:var(--brand);box-shadow:0 2px 8px #0000000f}.ffw-editor .tpl-thumb{aspect-ratio:1;background:#f2ede6;border-radius:6px;justify-content:center;align-items:center;display:flex;overflow:hidden}.ffw-editor .tpl-thumb img{object-fit:contain;width:100%;height:100%;display:block}.ffw-editor .tpl-noimg{color:var(--ink-soft);font-size:11px}.ffw-editor .tpl-label{color:var(--ink);font-size:12px;line-height:1.3}.ffw-editor .stamp-grid{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:4px;display:grid}.ffw-editor .stamp-card{aspect-ratio:1;cursor:pointer;background:var(--surface);border:1px solid var(--line);border-radius:8px;justify-content:center;align-items:center;padding:6px;display:flex}.ffw-editor .stamp-card:hover{border-color:var(--brand);box-shadow:0 2px 8px #0000000f}.ffw-editor .stamp-card img{object-fit:contain;max-width:100%;max-height:100%;display:block}.ffw-editor .stamp-body{padding:0 18px 4px}.ffw-editor .stamp-cat-block{margin-top:10px}.ffw-editor .stamp-cat-title{color:var(--ink);letter-spacing:.04em;background:var(--surface-2,#eef1f5);border-radius:6px;margin-bottom:8px;padding:6px 10px;font-size:12px;font-weight:700}.ffw-editor .stamp-cat-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.ffw-editor .stamp-cat-card{cursor:pointer;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:10px;align-items:center;gap:8px;padding:6px;display:flex}.ffw-editor .stamp-cat-card:hover{border-color:var(--brand);box-shadow:0 2px 8px #0000000f}.ffw-editor .stamp-cat-thumb{background:#f2ede6;border-radius:6px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden}.ffw-editor .stamp-cat-thumb img{object-fit:contain;width:100%;height:100%;display:block}.ffw-editor .stamp-cat-label{color:var(--ink);font-size:12px;line-height:1.3}.ffw-editor .stamp-detail-head{align-items:center;gap:8px;display:flex}.ffw-editor .stamp-back{cursor:pointer;background:var(--surface);border:1px solid var(--line);width:32px;height:32px;color:var(--ink);border-radius:8px;flex:none;justify-content:center;align-items:center;display:flex}.ffw-editor .stamp-back:hover{border-color:var(--brand);color:var(--brand)}.ffw-editor .stamp-back svg{width:20px;height:20px}.ffw-editor .member{color:var(--ink);align-items:center;gap:8px;font-size:13px;display:inline-flex}.ffw-editor .member-name{white-space:nowrap;font-weight:600}.ffw-editor .member-mypage{color:var(--brand);white-space:nowrap;border:1px solid var(--brand);border-radius:999px;padding:3px 10px;font-size:12px;text-decoration:none}.ffw-editor .member-mypage:hover{background:var(--chip)}.ffw-editor .member-logout{border:1px solid var(--line);color:var(--ink-soft);cursor:pointer;white-space:nowrap;background:0 0;border-radius:999px;padding:3px 10px;font-size:12px}.ffw-editor .member-logout:hover{background:#0000000a}@media (max-width:720px){.ffw-editor .member{display:none}}.ffw-editor .hbtn{cursor:pointer;font-family:var(--sans);white-space:nowrap;border:none;border-radius:12px;align-items:center;gap:7px;padding:8px 14px;font-size:13px;font-weight:800;display:inline-flex}.ffw-editor .hbtn.ghost{background:var(--surface);color:var(--ink);border:1.5px solid var(--line)}.ffw-editor .hbtn.ghost:hover{background:var(--chip);border-color:var(--brand);color:var(--brand-deep)}.ffw-editor .hbtn.ghost svg{width:18px;height:18px}.ffw-editor .hbtn.cta{background:linear-gradient(180deg, var(--brand), var(--brand-deep));color:#fff;box-shadow:0 8px 18px -8px #f08300a6}.ffw-editor .hbtn.cta:hover{filter:brightness(1.04)}.ffw-editor .hbtn.cta svg{width:18px;height:18px}.ffw-editor .hbtn.cta .pt-price{border-left:1px solid #ffffff59;margin-left:2px;padding-left:10px}.ffw-editor .hbtn .pt-price{letter-spacing:-.01em;font-variant-numeric:tabular-nums;font-size:15px;font-weight:800}.ffw-editor .toast{z-index:60;background:var(--ink);color:#fff;cursor:pointer;text-align:center;border-radius:12px;max-width:min(560px,92vw);padding:12px 18px;font-size:12.5px;font-weight:600;line-height:1.5;animation:.2s ffw-toast;position:fixed;top:66px;left:50%;transform:translate(-50%);box-shadow:0 14px 34px -12px #241c1699}@keyframes ffw-toast{0%{opacity:0;transform:translate(-50%,-6px)}to{opacity:1;transform:translate(-50%)}}.ffw-editor .unsaved-bar{color:var(--ink);background:#fff4ea;border-bottom:1px solid #f1c99a;align-items:center;gap:12px;padding:9px 16px;display:flex}.ffw-editor .unsaved-bar .ub-ic{color:var(--brand-deep);display:inline-flex}.ffw-editor .unsaved-bar .ub-ic svg{width:20px;height:20px}.ffw-editor .unsaved-bar .ub-msg{flex:1;min-width:0;font-size:12.5px;line-height:1.5}.ffw-editor .unsaved-bar .ub-msg b{color:var(--brand-deep);font-weight:800}.ffw-editor .unsaved-bar .ub-btn{border:1.5px solid var(--brand);background:var(--surface);color:var(--brand-deep);font-family:var(--sans);cursor:pointer;white-space:nowrap;border-radius:999px;flex:none;padding:7px 14px;font-size:12.5px;font-weight:800}.ffw-editor .unsaved-bar .ub-btn:hover{background:var(--chip)}.ffw-editor .unsaved-bar .ub-btn.primary{background:linear-gradient(180deg, var(--brand), var(--brand-deep));color:#fff;border-color:#0000;box-shadow:0 6px 14px -6px #f0830099}.ffw-editor .unsaved-bar .ub-close{width:30px;height:30px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.ffw-editor .unsaved-bar .ub-close:hover{background:#0000000f}.ffw-editor .unsaved-bar .ub-close svg{width:18px;height:18px}@media (max-width:720px){.ffw-editor .unsaved-bar{flex-wrap:wrap;gap:8px;padding:8px 12px}.ffw-editor .unsaved-bar .ub-msg{flex:100%;order:-1}}.ffw-editor .modal-backdrop{z-index:70;background:#241c1673;justify-content:center;align-items:center;padding:20px;animation:.16s ffw-fade;display:flex;position:fixed;inset:0}.ffw-editor .modal{background:var(--surface);border-radius:16px;width:460px;max-width:100%;max-height:90vh;animation:.18s cubic-bezier(.4,0,.2,1) ffw-pop;overflow-y:auto;box-shadow:0 30px 80px -20px #241c1699}@keyframes ffw-pop{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.ffw-editor .modal-head{z-index:1;background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 20px;display:flex;position:sticky;top:0}.ffw-editor .modal-head h2{color:var(--ink);margin:0;font-size:16px;font-weight:800}.ffw-editor .modal-close{width:34px;height:34px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.ffw-editor .modal-close:hover{background:var(--chip);color:var(--brand-deep)}.ffw-editor .modal-close svg{width:20px;height:20px}.ffw-editor .modal-body{padding:18px 20px 22px}.ffw-editor .modal.crop{width:auto;max-width:96vw}.ffw-editor .crop-body{padding:16px 16px 0}.ffw-editor .crop-stage{-webkit-user-select:none;user-select:none;touch-action:none;background:repeating-conic-gradient(#e9e2d9 0% 25%,#f4efe8 0% 50%) 50%/20px 20px;border-radius:8px;margin:0 auto;position:relative;overflow:hidden}.ffw-editor .crop-stage img{pointer-events:none;-webkit-user-drag:none;display:block}.ffw-editor .crop-rect{box-sizing:border-box;cursor:move;touch-action:none;border:1.5px solid #fff;position:absolute;box-shadow:0 0 0 9999px #14100c80}.ffw-editor .crop-h{border:1.5px solid var(--brand);touch-action:none;background:#fff;border-radius:3px;width:13px;height:13px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 1px 3px #00000059}.ffw-editor .crop-h.h-nw,.ffw-editor .crop-h.h-se{cursor:nwse-resize}.ffw-editor .crop-h.h-ne,.ffw-editor .crop-h.h-sw{cursor:nesw-resize}.ffw-editor .crop-h.h-n,.ffw-editor .crop-h.h-s{cursor:ns-resize}.ffw-editor .crop-h.h-e,.ffw-editor .crop-h.h-w{cursor:ew-resize}.ffw-editor .crop-foot{justify-content:flex-end;gap:8px;padding:14px 16px 16px;display:flex}.ffw-editor .order-intro{text-align:center;color:var(--ink-soft);margin:2px 0 12px;font-size:13px;line-height:1.7}.ffw-editor .order-sub{text-align:center;color:var(--brand-deep);background:var(--chip);border:1px solid var(--line);border-radius:999px;width:fit-content;max-width:100%;margin:0 auto 16px;padding:6px 14px;font-size:12px;font-weight:700}.ffw-editor .order-table{border-collapse:collapse;width:100%;font-size:13px}.ffw-editor .order-table th{color:var(--ink-soft);text-align:right;border-bottom:1px solid var(--line);padding:6px 8px;font-size:11px;font-weight:800}.ffw-editor .order-table th:first-child{text-align:left}.ffw-editor .order-table td{border-bottom:1px solid var(--line);text-align:right;color:var(--ink);font-variant-numeric:tabular-nums;padding:9px 8px}.ffw-editor .order-table td.c-size{text-align:left;font-weight:800}.ffw-editor .order-table .c-qty{white-space:nowrap}.ffw-editor .order-table .c-qty input{text-align:right;border:1px solid var(--line);width:62px;font-family:var(--sans);background:var(--surface);color:var(--ink);border-radius:8px;padding:7px 8px;font-size:13px}.ffw-editor .order-table .c-qty input:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.ffw-editor .order-table .unit-suffix{color:var(--ink-soft);margin-left:6px;font-size:12px}.ffw-editor .order-table tfoot td{border-bottom:none;border-top:2px solid var(--line);color:var(--ink);padding-top:12px;font-weight:800}.ffw-editor .order-table tfoot .c-qty-total{text-align:center}.ffw-editor .order-table tfoot .c-sub{color:var(--brand-deep);font-size:17px}.ffw-editor .order-note{color:var(--ink-faint);text-align:center;margin:12px 0 0;font-size:11.5px;line-height:1.6}.ffw-editor .btn:disabled{opacity:.45;cursor:not-allowed;filter:none;box-shadow:none}.ffw-editor .modal.confirm{width:880px}.ffw-editor .confirm-body{grid-template-columns:1fr 1fr;gap:0;display:grid}.ffw-editor .confirm-preview{border-right:1px solid var(--line);flex-direction:column;gap:12px;padding:18px 20px 20px;display:flex}.ffw-editor .confirm-detail{flex-direction:column;padding:18px 20px 22px;display:flex}.ffw-editor .cf-seg{background:var(--bg);border-radius:10px;gap:6px;padding:4px;display:flex}.ffw-editor .cf-seg button{color:var(--ink-soft);cursor:pointer;font-family:var(--sans);background:0 0;border:0;border-radius:7px;flex:1;padding:8px;font-size:13px;font-weight:700}.ffw-editor .cf-seg button.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0000001a}.ffw-editor .cf-stage{aspect-ratio:1;background:var(--bg);border-radius:12px;justify-content:center;align-items:center;display:flex;overflow:hidden}.ffw-editor .cf-stage img{object-fit:contain;width:100%;height:100%}.ffw-editor .cf-loading{color:var(--ink-faint);font-size:12.5px}.ffw-editor .cf-note{color:var(--ink-faint);margin:0;font-size:11px;line-height:1.6}.ffw-editor .cf-prod{color:var(--ink);font-size:16px;font-weight:800}.ffw-editor .cf-sub{color:var(--brand-deep);margin:4px 0 14px;font-size:12.5px;font-weight:700}.ffw-editor .cf-h{color:var(--ink-soft);letter-spacing:.02em;border-top:1px solid var(--line);margin:18px 0 6px;padding-top:14px;font-size:11.5px;font-weight:800}.ffw-editor .cf-h:first-of-type{border-top:none;margin-top:0;padding-top:0}.ffw-editor .order-table tfoot .c-sub-amt{color:var(--brand-deep);font-size:17px;font-weight:800}.ffw-editor .cf-share{gap:8px;display:flex}.ffw-editor .cf-share .btn{flex:1}.ffw-editor .cf-sns{gap:8px;margin-top:12px;display:flex}.ffw-editor .cf-sns .sns{cursor:pointer;color:#fff;width:40px;height:40px;font-size:12px;font-weight:800;font-family:var(--sans);border:none;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.ffw-editor .cf-sns .sns.x{background:#000}.ffw-editor .cf-sns .sns.fb{background:#1877f2;font-size:18px}.ffw-editor .cf-sns .sns.line{letter-spacing:-.02em;background:#06c755;font-size:10px}.ffw-editor .cf-sns .sns:hover{filter:brightness(1.1)}@media (max-width:720px){.ffw-editor .modal.confirm{width:100%;max-height:94vh}.ffw-editor .confirm-body{grid-template-columns:1fr}.ffw-editor .confirm-preview{border-right:none;border-bottom:1px solid var(--line)}.ffw-editor .cf-stage{width:100%;max-width:320px;margin:0 auto}}.ffw-editor .fld-note{color:var(--ink-faint);margin:12px 0 0;font-size:11.5px;line-height:1.6}.ffw-editor .layout{flex:1;grid-template-columns:76px 280px 1fr;min-height:0;display:grid}.ffw-editor .panel{background:var(--surface);border-right:1px solid var(--line);padding:4px 0 20px;overflow-y:auto}.ffw-editor .panel.right{border-right:none;border-left:1px solid var(--line)}.ffw-editor .sheet-grip{display:none}.ffw-editor .drawer-backdrop{z-index:40;background:#241c1661;animation:.16s ffw-fade;position:fixed;inset:0}@keyframes ffw-fade{0%{opacity:0}to{opacity:1}}.ffw-editor .panel.right.drawer{border:none;border-left:1px solid var(--line);z-index:50;will-change:transform;width:340px;max-width:92vw;height:100vh;padding:0 0 24px;transition:transform .22s cubic-bezier(.4,0,.2,1);position:fixed;top:0;right:0;transform:translate(100%);box-shadow:-18px 0 40px -20px #241c1680}.ffw-editor .panel.right.drawer.open{transform:translate(0)}.ffw-editor .drawer-head{z-index:1;background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:14px 16px 14px 18px;display:flex;position:sticky;top:0}.ffw-editor .drawer-head h2{letter-spacing:-.01em;color:var(--ink);margin:0;font-size:15px;font-weight:800}.ffw-editor .drawer-close{width:34px;height:34px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.ffw-editor .drawer-close:hover{background:var(--chip);color:var(--brand-deep)}.ffw-editor .drawer-close svg{width:20px;height:20px}.ffw-editor .rail{--rail-bg:#232b33;--rail-ink:#aeb8c2;background:var(--rail-bg);flex-direction:column;gap:2px;padding:10px 4px;display:flex;overflow-y:auto}.ffw-editor .rail button{cursor:pointer;color:var(--rail-ink);font-family:var(--sans);letter-spacing:0;white-space:nowrap;background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:5px;padding:12px 2px 10px;font-size:9.5px;font-weight:700;line-height:1.25;transition:background .12s,color .12s;display:flex}.ffw-editor .rail button svg{width:26px;height:26px}.ffw-editor .rail button:hover{color:#e8edf2;background:#ffffff12}.ffw-editor .rail button.on{color:var(--brand);background:#f0830029}.ffw-editor .panel-head{align-items:center;gap:9px;padding:18px 18px 2px;display:flex}.ffw-editor .panel-head svg{width:20px;height:20px;color:var(--brand)}.ffw-editor .panel-head h1{letter-spacing:-.01em;color:var(--ink);margin:0;font-size:16px;font-weight:800}.ffw-editor .soon{text-align:center;color:var(--ink-soft);padding:44px 22px}.ffw-editor .soon .soon-ic{color:var(--ink-faint);margin-bottom:12px}.ffw-editor .soon .soon-ic svg{width:42px;height:42px}.ffw-editor .soon h1{color:var(--ink);margin:0 0 8px;font-size:15px;font-weight:800}.ffw-editor .soon p{margin:0;font-size:12.5px;line-height:1.6}.ffw-editor .soon .soon-tag{color:var(--brand-deep);background:var(--chip);border:1px solid var(--line);border-radius:999px;margin-top:14px;padding:4px 12px;font-size:11px;font-weight:800;display:inline-block}.ffw-editor .sec{border-bottom:1px solid var(--line);padding:16px 18px}.ffw-editor .sec:last-child{border-bottom:none}.ffw-editor .sec h2{letter-spacing:.09em;text-transform:uppercase;color:var(--ink-soft);margin:0 0 12px;font-size:11px;font-weight:800}.ffw-editor .prod{letter-spacing:-.01em;font-size:15px;font-weight:800}.ffw-editor .prodname{color:var(--ink-soft);margin:2px 0 12px;font-size:12px;line-height:1.5}.ffw-editor .fld{color:var(--ink-soft);letter-spacing:.02em;margin-bottom:14px;font-size:11.5px;font-weight:700;display:block}.ffw-editor .swatches{flex-wrap:wrap;gap:6px;max-height:140px;margin-top:8px;padding:5px;display:flex;overflow-y:auto}.ffw-editor .sw{cursor:pointer;background-position:50%;background-size:cover;border:2px solid #fff;border-radius:999px;outline:1px solid #0000001f;flex:none;width:28px;height:28px;transition:outline-color .12s}.ffw-editor .sw.on{outline:2px solid var(--brand);outline-offset:2px}.ffw-editor select,.ffw-editor .txt,.ffw-editor input[type=text]{background:var(--surface);width:100%;color:var(--ink);border:1px solid var(--line);font-family:var(--sans);border-radius:10px;margin-top:6px;padding:9px 11px;font-size:13px}.ffw-editor select:focus-visible,.ffw-editor .txt:focus-visible,.ffw-editor input:focus-visible,.ffw-editor button:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.ffw-editor .row{align-items:center;gap:8px;margin-top:8px;display:flex}.ffw-editor .row select{flex:1}.ffw-editor input[type=color]{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:10px;width:42px;height:40px;margin-top:6px;padding:2px}.ffw-editor .fp-color-label{margin:6px 0 0;font-weight:700}.ffw-editor .fp-heading{margin:14px 0 0;font-weight:700}.ffw-editor .fontpick{border:1px solid var(--line);background:var(--surface);-webkit-overflow-scrolling:touch;border-radius:10px;max-height:340px;margin-top:8px;overflow-y:auto}.ffw-editor .fontpick-item{border:0;border-bottom:1px solid var(--line);cursor:pointer;text-align:left;background:0 0;flex-direction:column;align-items:flex-start;gap:3px;width:100%;min-height:52px;padding:8px 14px;transition:background .12s;display:flex}.ffw-editor .fontpick-item:last-child{border-bottom:0}.ffw-editor .fontpick-item:hover{background:var(--chip)}.ffw-editor .fontpick-item.on{background:var(--chip);box-shadow:inset 0 0 0 2px var(--brand);z-index:1;border-radius:8px;position:relative}.ffw-editor .fontpick-item:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.ffw-editor .fp-sample{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:21px;line-height:1.2;overflow:hidden}.ffw-editor .fp-sample-img{object-fit:contain;object-position:left center;width:auto;max-width:100%;height:26px;display:block}.ffw-editor .fp-name{color:var(--ink-faint);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;line-height:1.2;overflow:hidden}.ffw-editor .seg{background:var(--bg);border-radius:12px;gap:6px;padding:4px;display:flex}.ffw-editor .seg button{color:var(--ink-soft);cursor:pointer;font-family:var(--sans);background:0 0;border:0;border-radius:8px;flex:1;padding:9px;font-size:13px;font-weight:700}.ffw-editor .seg button.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0000001a}.ffw-editor .btn{background:linear-gradient(180deg, var(--brand), var(--brand-deep));color:#fff;cursor:pointer;width:100%;font-size:14px;font-weight:800;font-family:var(--sans);border:none;border-radius:12px;justify-content:center;align-items:center;gap:7px;margin-top:10px;padding:12px 14px;display:inline-flex;box-shadow:0 8px 18px -8px #f08300a6}.ffw-editor .btn:hover{filter:brightness(1.04)}.ffw-editor .btn.ghost{color:var(--ink);border:1.5px solid var(--line);box-shadow:none;background:0 0;font-weight:700}.ffw-editor .btn.ghost:hover{background:var(--chip);filter:none}.ffw-editor .btn.primary{background:linear-gradient(180deg, var(--brand), var(--brand-deep))}.ffw-editor .btn.sm{padding:9px;font-size:12.5px}.ffw-editor .btn.file{cursor:pointer}.ffw-editor .chk{color:var(--ink);align-items:center;gap:8px;margin-bottom:9px;font-size:13px;display:flex}.ffw-editor .chk input{accent-color:var(--brand)}.ffw-editor .stage{background:var(--canvas);justify-content:center;align-items:center;min-height:0;padding:0;display:flex;position:relative;overflow:hidden}.ffw-editor .facetabs{z-index:3;position:absolute;top:14px;left:50%;transform:translate(-50%)}.ffw-editor .canvas-frame{flex:none}.ffw-editor .canvas-frame,.ffw-editor .canvas-frame canvas,.ffw-editor .canvas-container{touch-action:none}.ffw-editor .facetabs{background:var(--surface);border:1px solid var(--line);border-radius:12px;gap:6px;padding:4px;display:flex}.ffw-editor .facetabs button{font-family:var(--sans);color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 22px;font-size:13px;font-weight:700}.ffw-editor .facetabs button.on{background:var(--chip);color:var(--brand-deep)}.ffw-editor .canvas-frame{background:0 0;line-height:0}.ffw-editor .stage-meta{max-width:40%;color:var(--ink-faint);text-align:left;z-index:2;font-size:11.5px;line-height:1.4;position:absolute;bottom:16px;left:16px}.ffw-editor .ai-overlay{z-index:20;background:#e8e2d8b8;background:color-mix(in srgb, var(--canvas) 68%, transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);justify-content:center;align-items:center;animation:.2s ffw-fade;display:flex;position:absolute;inset:0}.ffw-editor .ai-card{background:var(--surface);border:1px solid var(--line);text-align:center;border-radius:16px;flex-direction:column;align-items:center;gap:12px;padding:26px 34px;display:flex;box-shadow:0 20px 50px -18px #241c1680}.ffw-editor .ai-spinner{border:4px solid var(--chip);border-top-color:var(--brand);border-radius:50%;width:42px;height:42px;animation:.8s linear infinite ffw-spin}.ffw-editor .ai-txt{color:var(--ink);font-size:14.5px;font-weight:800}.ffw-editor .ai-sub{color:var(--ink-faint);font-size:12px}@keyframes ffw-spin{to{transform:rotate(360deg)}}.ffw-editor .viewbar{z-index:3;background:var(--surface);border:1px solid var(--line);border-radius:999px;align-items:center;gap:6px;padding:4px 6px;display:flex;position:absolute;bottom:14px;left:50%;transform:translate(-50%);box-shadow:0 6px 16px -6px #241c164d}.ffw-editor .viewbar button{font-family:var(--sans);color:var(--ink-soft);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:6px 12px;font-size:12.5px;font-weight:700;line-height:1}.ffw-editor .viewbar button:hover,.ffw-editor .viewbar button.on{background:var(--chip);color:var(--brand-deep)}.ffw-editor .viewbar button.zoom{min-width:34px;padding:5px 0;font-size:16px}.ffw-editor .viewbar .vsep{background:var(--line);align-self:stretch;width:1px;margin:2px}.ffw-editor .viewbar button.hist{align-items:center;gap:5px;padding:5px 12px;display:inline-flex}.ffw-editor .viewbar button.hist svg{width:18px;height:18px}.ffw-editor .viewbar button.hist:disabled{color:var(--ink-faint);opacity:.45;cursor:default;background:0 0}@media (max-width:720px){.ffw-editor .viewbar{max-width:calc(100vw - 20px);overflow-x:auto}.ffw-editor .viewbar button.hist .hist-lb{display:none}.ffw-editor .viewbar button.hist{padding:5px 9px}}.ffw-editor .objbar{z-index:4;background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;max-width:calc(100% - 24px);padding:6px 8px;display:flex;position:absolute;top:64px;left:50%;transform:translate(-50%);box-shadow:0 8px 20px -8px #241c1659}.ffw-editor .objbar .ob-g{align-items:center;gap:3px;display:flex}.ffw-editor .objbar .ob-g+.ob-g{border-left:1px solid var(--line);padding-left:7px}.ffw-editor .objbar .ob-lb{color:var(--ink-faint);letter-spacing:.02em;margin-right:2px;font-size:10.5px;font-weight:800}.ffw-editor .objbar button{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:6px;line-height:1;display:inline-flex}.ffw-editor .objbar button svg{width:19px;height:19px;display:block}.ffw-editor .objbar button:hover{background:var(--chip);border-color:var(--brand);color:var(--brand-deep)}.ffw-editor .objbar button.danger{color:#b42318;border-color:#f0c0bb}.ffw-editor .objbar button.danger:hover{color:#b42318;background:#fdecea;border-color:#b42318}.ffw-editor .objbar .ob-vsep{background:var(--line);width:1px;height:18px;margin:0 2px}@media (max-width:720px){.ffw-editor .objbar{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;justify-content:flex-start;gap:5px;max-width:none;padding:6px 8px;inset:auto 10px 62px;overflow-x:auto;transform:none}.ffw-editor .objbar .ob-lb{display:none}.ffw-editor .objbar .ob-g{flex:none}.ffw-editor .objbar button{padding:7px}.ffw-editor .objbar button svg{width:20px;height:20px}}.ffw-editor .pricecard{background:var(--chip);border:1px solid var(--line);border-radius:14px;padding:14px 16px}.ffw-editor .price{border-collapse:collapse;width:100%;font-size:13px}.ffw-editor .price td{color:var(--ink-soft);padding:6px 0}.ffw-editor .price td:last-child{text-align:right;color:var(--ink);font-variant-numeric:tabular-nums;font-weight:700}.ffw-editor .price tr.sum td{border-top:1px solid var(--line);color:var(--ink);padding-top:10px;font-weight:800}.ffw-editor .price tr.sum td:last-child{color:var(--brand-deep);font-size:19px}.ffw-editor .idbox{font-family:var(--mono);background:var(--bg);border:1px solid var(--line);color:var(--brand-deep);word-break:break-all;border-radius:10px;padding:9px 11px;font-size:11.5px}.ffw-editor .idbox.empty{color:var(--ink-faint)}.ffw-editor .prints{flex-direction:column;gap:12px;margin-top:12px;display:flex}.ffw-editor .print{border:1px solid var(--line);background:repeating-conic-gradient(#ddd 0% 25%,#fff 0% 50%) 50%/18px 18px;border-radius:10px;margin:0;overflow:hidden}.ffw-editor .print img{width:100%;height:auto;display:block}.ffw-editor .print figcaption{background:var(--surface);color:var(--ink-soft);justify-content:space-between;align-items:center;padding:7px 11px;font-size:11px;display:flex}.ffw-editor .print figcaption a{color:var(--brand-deep);font-weight:700;text-decoration:none}.ffw-editor .hint{color:var(--ink-faint);font-size:12px;line-height:1.5}.ffw-editor .log{color:var(--ink-faint);margin:0;padding:0;font-size:11px;list-style:none}.ffw-editor .log li{border-bottom:1px dashed var(--line);padding:4px 0}.ffw-editor .log li:last-child{border-bottom:none}@media (max-width:960px){.ffw-editor{height:100dvh;min-height:0;overflow:hidden}.ffw-editor .steps{display:none}.ffw-editor .topbar{gap:8px;padding:10px 12px}.ffw-editor .subtitle{display:none}.ffw-editor .brand{flex:auto;gap:8px;min-width:0}.ffw-editor .brand .logo{max-width:100%;height:32px}.ffw-editor .header-actions{flex:none;gap:6px}.ffw-editor .hbtn{padding:7px 11px}.ffw-editor .hbtn.ghost .hbtn-label,.ffw-editor .hbtn.cta .hbtn-label,.ffw-editor .desk-actions{display:none}.ffw-editor .hbtn.menu-btn{display:inline-flex}.ffw-editor .layout{flex:auto;min-height:0;display:block;position:relative;overflow:hidden}.ffw-editor .stage{z-index:0;padding:0;position:absolute;inset:0}.ffw-editor .rail{z-index:30;border-top:1px solid #ffffff14;flex-direction:row;justify-content:space-around;gap:0;height:62px;padding:4px;position:absolute;bottom:0;left:0;right:0;overflow-x:auto}.ffw-editor .rail button{flex:1 0 auto;gap:3px;min-width:58px;padding:7px 2px;font-size:10px}.ffw-editor .rail button svg{width:22px;height:22px}.ffw-editor .panel:not(.right){z-index:20;-webkit-overflow-scrolling:touch;background:var(--surface);border:none;border-radius:18px 18px 0 0;max-height:60%;padding:0 0 16px;transition:transform .26s cubic-bezier(.4,0,.2,1);position:absolute;bottom:62px;left:0;right:0;overflow-y:auto;box-shadow:0 -12px 32px -12px #241c1666}.ffw-editor .panel:not(.right).sheet-closed{transform:translateY(calc(100% - 30px))}.ffw-editor .panel:not(.right) .sheet-grip{z-index:2;background:var(--surface);cursor:pointer;border:0;border-radius:18px 18px 0 0;justify-content:center;align-items:center;width:100%;height:30px;display:flex;position:sticky;top:0}.ffw-editor .sheet-grip:before{content:"";background:var(--line);border-radius:999px;width:42px;height:5px}.ffw-editor .panel.right.drawer{width:380px}.ffw-editor .viewbar{max-width:calc(100vw - 20px);top:auto;bottom:96px;overflow-x:auto}.ffw-editor .objbar{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;justify-content:flex-start;gap:5px;max-width:none;padding:6px 8px;inset:auto 10px 150px;overflow-x:auto;transform:none}.ffw-editor .objbar .ob-lb{display:none}.ffw-editor .objbar .ob-g{flex:none}}
