.xf-form{flex-direction:column;gap:.75rem;max-width:680px;margin:0 auto 1.35rem;display:flex}.xf-inputs-row{align-items:center;gap:.55rem;display:flex}.xf-input-box{flex:1}.xf-swap-btn{border:1px solid var(--line,#e2e8f0);background:var(--card,#fff);width:42px;height:42px;color:var(--text,#0f172a);cursor:pointer;border-radius:10px;flex-shrink:0;font-size:1.1rem;font-weight:800;transition:background .15s}.xf-swap-btn:hover:not(:disabled){background:var(--bg-soft,#f1f5f9)}.xf-submit-btn{justify-content:center;width:100%;padding:.85rem 1.25rem;font-size:1rem;font-weight:800}@media (max-width:600px){.xf-inputs-row{flex-direction:column;align-items:stretch}.xf-swap-btn{align-self:center}}.xf-result-section{margin-top:1.5rem}.xf-result-head{background:var(--card,#fff);border:1px solid var(--line,#e2e8f0);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.35rem;padding:1.25rem 1.4rem;display:flex}.xf-result-title{flex-wrap:wrap;align-items:center;gap:.4rem;margin:0 0 .35rem;font-size:1.6rem;font-weight:900;display:flex}.xf-result-title a{color:var(--accent,#4f46e5);text-decoration:none}.xf-result-title a:hover{text-decoration:underline}.xf-result-tier{color:var(--text,#0f172a);margin:0 0 .3rem;font-size:1.02rem}.xf-result-meta{color:var(--muted,#64748b);margin:0;font-size:.86rem}.xf-format-switch{background:var(--bg-soft,#f1f5f9);border:1px solid var(--line,#e2e8f0);border-radius:10px;gap:.25rem;padding:.25rem;display:inline-flex}.xf-fmt-btn{color:var(--muted,#64748b);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:.45rem .9rem;font-size:.85rem;font-weight:800}.xf-fmt-btn.is-active{background:var(--text,#0f172a);color:#fff}.xf-editor-grid{grid-template-columns:minmax(300px,460px) 1fr;align-items:start;gap:1.5rem;display:grid}@media (max-width:880px){.xf-editor-grid{grid-template-columns:1fr}}.xf-card-col{flex-direction:column;gap:.9rem;display:flex}.xf-canvas-wrap{cursor:zoom-in;background:0 0;border:none;border-radius:20px;width:100%;padding:0;display:block;overflow:hidden;box-shadow:0 14px 36px #0f172a24}.xf-canvas{width:100%;height:auto;display:block}.xf-canvas.is-3-4{aspect-ratio:3/4}.xf-canvas.is-9-16{aspect-ratio:9/16}.xf-card-actions{flex-wrap:wrap;gap:.55rem;display:flex}.xf-card-actions .btn{flex:1;justify-content:center}.xf-action-note{color:var(--muted,#64748b);margin:0;font-size:.84rem}.xf-side-col{flex-direction:column;gap:1.25rem;display:flex}.xf-panel{background:var(--card,#fff);border:1px solid var(--line,#e2e8f0);border-radius:18px;padding:1.35rem 1.45rem}.xf-panel h3{margin:0 0 .75rem;font-size:1.05rem;font-weight:800}.xf-layout-tabs{background:var(--bg-soft,#f1f5f9);border:1px solid var(--line,#e2e8f0);border-radius:12px;grid-template-columns:repeat(3,1fr);gap:.35rem;padding:.3rem;display:grid}.xf-layout-tabs button{color:var(--muted,#64748b);cursor:pointer;background:0 0;border:none;border-radius:9px;padding:.55rem .65rem;font-size:.86rem;font-weight:800}.xf-layout-tabs button.is-active{background:var(--accent,#4f46e5);color:#fff}.xf-color-grid{grid-template-columns:repeat(2,1fr);gap:.55rem;display:grid}.xf-color-btn{border:1.5px solid var(--line,#e2e8f0);background:var(--card,#fff);color:var(--text,#0f172a);cursor:pointer;text-align:left;border-radius:11px;align-items:center;gap:.6rem;padding:.58rem .85rem;font-size:.88rem;font-weight:700;display:flex}.xf-color-btn.is-active{border-color:var(--accent,#4f46e5);box-shadow:0 0 0 2px #4f46e529}.xf-swatch{border:1px solid #0f172a24;border-radius:6px;flex-shrink:0;width:22px;height:22px}.xf-swatch.is-auto{background:conic-gradient(#f6d88c 0deg 90deg,#f5b5d0 90deg 180deg,#99f6e4 180deg 270deg,#5b3df5 270deg 360deg)}.xf-panel-hint{color:var(--muted,#64748b);margin:.75rem 0 0;font-size:.83rem;line-height:1.5}.xf-meter-list{flex-direction:column;gap:.85rem;display:flex}.xf-meter-head{justify-content:space-between;margin-bottom:.32rem;font-size:.88rem;display:flex}.xf-meter-track{background:var(--bg-soft,#e2e8f0);border-radius:999px;height:9px;overflow:hidden}.xf-meter-fill{background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:999px;height:100%}.xf-stat-rows{border-top:1px solid var(--line,#e2e8f0);flex-direction:column;gap:.55rem;margin-top:1.15rem;padding-top:1rem;display:flex}.xf-stat-row{justify-content:space-between;font-size:.88rem;display:flex}.xf-stat-row span{color:var(--muted,#64748b)}.xf-quick-links{flex-wrap:wrap;gap:.5rem;margin-top:1rem;display:flex}
