:root{--accent: #f45a56;--accent-ink: #fff;--ink: #171928;--muted: #595c6f;--line: #e6e0d2;--panel: #ffffff;--soft: #f7f3e8;--bg: #efeadc;--ok: #1f8a4c;--warn: #b7791f;--error: #c2361f;--radius: 10px;--font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;height:100%}body{font-family:var(--font);color:var(--ink);background:var(--bg);font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3,h4,p{margin:0}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px}.st-app{display:grid;height:100vh;grid-template-columns:200px minmax(360px,460px) 1fr;grid-template-rows:52px 1fr 34px;grid-template-areas:"header header header" "steps panel preview" "status status status"}.st-header{grid-area:header;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:var(--panel);border-bottom:1px solid var(--line)}.st-brand{display:flex;align-items:center;gap:10px;font-size:15px;letter-spacing:-.01em}.st-brand b{font-weight:700}.st-logo{width:22px;height:22px;border-radius:6px;background:var(--accent);display:inline-block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='8'/%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='8'/%3E%3C/svg%3E")}.st-header-actions{display:flex;gap:8px}.st-steps{grid-area:steps;background:var(--panel);border-right:1px solid var(--line);padding:14px 10px;display:flex;flex-direction:column;gap:4px}.st-step{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;border:none;background:transparent;cursor:pointer;text-align:left;color:var(--muted);font-weight:500}.st-step:hover{background:var(--soft)}.st-step[aria-current=step]{background:color-mix(in srgb,var(--accent) 12%,white);color:var(--ink)}.st-step .n{width:22px;height:22px;border-radius:50%;background:var(--soft);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--muted);flex:none}.st-step[aria-current=step] .n{background:var(--accent);color:var(--accent-ink)}.st-step[data-done] .n{background:var(--ok);color:#fff}.st-panel{grid-area:panel;background:var(--panel);border-right:1px solid var(--line);overflow-y:auto;padding:22px 22px 40px;display:flex;flex-direction:column;gap:18px}.st-panel h2{font-size:18px;letter-spacing:-.01em}.st-panel .lead{color:var(--muted);font-size:13px}.st-preview{grid-area:preview;position:relative;background:radial-gradient(120% 90% at 50% 20%,#fbfbfc,#e6e6eb 70%,#d6d6dd);min-width:0}#st-canvas{display:block;width:100%;height:100%;touch-action:none}.st-preview-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--muted)}.st-preview-empty[hidden]{display:none}.st-preview-empty-inner{text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center}.st-cube{width:56px;height:56px;border:2px dashed var(--muted);border-radius:12px;opacity:.5}.st-preview-tools{position:absolute;left:14px;top:14px;display:flex;gap:6px;flex-wrap:wrap}.st-preview-tools:empty{display:none}.st-pill{font-size:12px;padding:5px 10px;border-radius:999px;background:color-mix(in srgb,var(--panel) 85%,transparent);border:1px solid var(--line);color:var(--muted);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.st-pill.is-accent{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.st-status{grid-area:status;display:flex;align-items:center;gap:10px;padding:0 16px;background:var(--panel);border-top:1px solid var(--line);font-size:12.5px;color:var(--muted);overflow:hidden;white-space:nowrap}.st-status:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--muted);flex:none}.st-status[data-kind=ok]:before{background:var(--ok)}.st-status[data-kind=error]{color:var(--error)}.st-status[data-kind=error]:before{background:var(--error)}.st-status[data-kind=warn]{color:var(--warn)}.st-status[data-kind=warn]:before{background:var(--warn)}.st-field{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted);min-width:0}.st-field>span{font-weight:600;text-transform:uppercase;letter-spacing:.06em;font-size:10.5px}.st-field input[type=text],.st-field input[type=number],.st-field input[type=url],.st-field select,.st-field textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:var(--panel);color:var(--ink);font-size:13.5px}.st-field input:focus-visible,.st-field select:focus-visible,.st-field textarea:focus-visible{outline:2px solid var(--accent);outline-offset:-1px;border-color:var(--accent)}.st-field .hint{font-size:11.5px;color:var(--muted)}.st-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.st-row.tight{grid-template-columns:1fr 1fr}.st-check{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}.st-check input{width:16px;height:16px;accent-color:var(--accent);margin:0}.st-color{display:flex;align-items:center;gap:8px}.st-color input[type=color]{width:36px;height:30px;border:1px solid var(--line);border-radius:8px;padding:2px;background:var(--panel);cursor:pointer}.st-color input[type=text]{width:96px}.st-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;border-radius:8px;border:1px solid var(--line);background:var(--panel);font-weight:600;font-size:13px;cursor:pointer}.st-btn:hover{background:var(--soft)}.st-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.st-btn.st-primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.st-btn.st-primary:hover{filter:brightness(1.06)}.st-btn.st-ghost{background:transparent}.st-btn.st-danger{background:var(--error);color:#fff;border-color:var(--error)}.st-btn.st-small{padding:5px 9px;font-size:12px}.st-btn[disabled]{opacity:.55;cursor:default}.st-actions{display:flex;gap:8px;flex-wrap:wrap}.st-card{border:1px solid var(--line);border-radius:var(--radius);padding:14px;display:flex;flex-direction:column;gap:10px;background:var(--panel)}.st-card[data-selected]{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}.st-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.st-card-head h3{font-size:14px}.st-cards{display:flex;flex-direction:column;gap:10px}.st-tabs{display:flex;gap:4px;background:var(--soft);padding:4px;border-radius:10px;flex-wrap:wrap}.st-tabs button{border:none;background:transparent;padding:7px 10px;border-radius:7px;font-size:13px;font-weight:500;color:var(--muted);cursor:pointer}.st-tabs button[aria-selected=true]{background:var(--panel);color:var(--ink);box-shadow:0 1px 3px #0000001a}.st-drop{border:2px dashed var(--line);border-radius:var(--radius);padding:26px 16px;text-align:center;color:var(--muted);display:flex;flex-direction:column;gap:8px;align-items:center;cursor:pointer;transition:border-color .12s,background .12s}.st-drop:hover,.st-drop[data-over]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,white)}.st-drop b{color:var(--ink)}.st-drop input{display:none}.st-list{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;font-size:13px}.st-list-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:7px 10px;border-top:1px solid var(--line)}.st-list-row:first-child{border-top:none}.st-list-row:hover{background:var(--soft)}.st-list-row .meta{color:var(--muted);font-size:12px}.st-list-row input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px;margin:0}.st-tag{font-size:11px;padding:2px 7px;border-radius:999px;background:var(--soft);color:var(--muted);white-space:nowrap}.st-tag.is-accent{background:color-mix(in srgb,var(--accent) 14%,white);color:var(--accent)}.st-swatch{width:26px;height:26px;border-radius:50%;border:1px solid var(--line);background-size:cover;flex:none}.st-option{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;align-items:start;padding:12px;border:1px solid var(--line);border-radius:var(--radius)}.st-option .st-option-body{display:flex;flex-direction:column;gap:10px;min-width:0}.st-option-top{display:flex;align-items:center;gap:8px}.st-option-top input[type=radio]{accent-color:var(--accent);margin:0}.st-option-top .st-field{flex:1}.st-problems{display:flex;flex-direction:column;gap:6px}.st-problem{display:flex;gap:8px;align-items:flex-start;padding:9px 12px;border-radius:8px;font-size:13px;background:var(--soft)}.st-problem[data-kind=error]{background:color-mix(in srgb,var(--error) 10%,white);color:var(--error)}.st-problem[data-kind=warn]{background:color-mix(in srgb,var(--warn) 12%,white);color:var(--warn)}.st-problem[data-kind=ok]{background:color-mix(in srgb,var(--ok) 12%,white);color:var(--ok)}pre.st-code{background:#1b1b22;color:#ecebf2;padding:12px 14px;border-radius:var(--radius);font-size:12px;overflow-x:auto;margin:0;white-space:pre-wrap;word-break:break-all}.st-table{width:100%;border-collapse:collapse;font-size:13px}.st-table th,.st-table td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line)}.st-table th{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.st-table input[type=number],.st-table input[type=text]{width:100%;border:1px solid var(--line);border-radius:6px;padding:5px 7px}.st-kbd{font-size:11px;padding:1px 6px;border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;background:var(--soft)}.st-dialog{position:fixed;inset:0;background:#14141c73;display:flex;align-items:center;justify-content:center;z-index:10}.st-dialog[hidden]{display:none}.st-dialog-card{background:var(--panel);border-radius:14px;padding:22px;width:min(420px,90vw);display:flex;flex-direction:column;gap:10px;box-shadow:0 20px 60px #00000040}.st-dialog-card h3{font-size:16px}.st-dialog-card p{color:var(--muted);font-size:13.5px}.st-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}@media(max-width:1000px){.st-app{grid-template-columns:1fr;grid-template-rows:52px auto 50vh 1fr 34px;grid-template-areas:"header" "steps" "preview" "panel" "status"}.st-steps{flex-direction:row;overflow-x:auto;border-right:none;border-bottom:1px solid var(--line);padding:8px}.st-step{white-space:nowrap}.st-panel{border-right:none}}.st-license-btn[data-state=ok]{color:var(--ok);border-color:color-mix(in srgb,var(--ok) 40%,var(--line))}.st-license-btn[data-state=ok]:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ok)}.st-license-btn[data-state=none]{color:#7a4a00;background:#fff3d6;border-color:#f0d9a0}.st-license-input{width:100%;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;padding:10px;border:1px solid var(--line);border-radius:8px;resize:vertical;word-break:break-all}.st-license-input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.st-license-info{font-size:13px}.st-license-info[data-kind=ok]{color:var(--ok)}.st-license-info[data-kind=warn]{color:#9a5b00}.st-license-help{font-size:13px;color:var(--muted)}.st-rule{border:1px solid var(--line);border-radius:var(--radius);padding:12px;display:flex;flex-direction:column;gap:10px}.st-rule-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.st-rule-head h4{font-size:13px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}.st-clause{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;background:var(--soft);border-radius:8px;font-size:13px}.st-clause select,.st-clause input{padding:5px 8px;border:1px solid var(--line);border-radius:6px;background:var(--panel);font:inherit;font-size:13px}.st-clause input[type=number]{width:84px}.st-clause input[type=text]{min-width:160px;flex:1}.st-clause .st-btn{margin-left:auto}.st-clause-label{color:var(--muted);font-weight:600}.st-tab-count{margin-left:6px;font-size:11px;color:var(--muted);background:var(--soft);padding:1px 6px;border-radius:999px}.st-tabs button[aria-selected=true] .st-tab-count{background:color-mix(in srgb,var(--accent) 14%,white);color:var(--accent)}.st-opt-list{display:flex;flex-direction:column;gap:6px}.st-opt{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);transition:border-color .12s,box-shadow .12s;cursor:pointer}.st-opt:hover{border-color:color-mix(in srgb,var(--line) 40%,var(--muted))}.st-opt[data-active]{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}.st-opt-main{display:grid;grid-template-columns:34px 1fr 96px auto auto auto;gap:8px;align-items:center;padding:8px 8px 8px 10px}.st-opt-swatch{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background-size:cover;background-position:center;cursor:pointer;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #0000000f}.st-opt-swatch:hover{box-shadow:0 0 0 2px var(--accent)}.st-opt-picker{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.st-opt-main input[data-role=label]{border:1px solid transparent;border-radius:8px;padding:7px 9px;font-weight:600;min-width:0;background:transparent}.st-opt-main input[data-role=label]:hover{border-color:var(--line)}.st-opt-main input[data-role=label]:focus-visible{outline:2px solid var(--accent);outline-offset:-1px;background:var(--panel)}.st-opt-pricewrap{display:flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:8px;padding:0 8px;background:var(--panel)}.st-opt-currency{color:var(--muted);font-size:12px}.st-opt-price{width:100%;border:none;padding:7px 2px;text-align:right;font-variant-numeric:tabular-nums;-moz-appearance:textfield;min-width:0}.st-opt-price::-webkit-outer-spin-button,.st-opt-price::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.st-opt-price:focus-visible{outline:none}.st-opt-pricewrap:focus-within{border-color:var(--accent);outline:1px solid var(--accent)}.st-opt-star,.st-opt-more,.st-opt-remove{width:30px;height:30px;border-radius:8px;border:none;background:transparent;color:var(--muted);cursor:pointer;font-size:16px;display:inline-flex;align-items:center;justify-content:center}.st-opt-star:hover,.st-opt-more:hover,.st-opt-remove:hover{background:var(--soft);color:var(--ink)}.st-opt-star[aria-pressed=true]{color:#e0a100}.st-opt-more[aria-expanded=true]{background:var(--soft);color:var(--ink)}.st-opt-remove:disabled{opacity:.3;cursor:default}.st-opt-detail{display:flex;flex-direction:column;gap:10px;padding:4px 12px 12px 52px;border-top:1px dashed var(--line);margin-top:2px;cursor:default}.st-inline-select{border:1px solid var(--line);border-radius:8px;padding:7px 9px;font-size:13px;background:var(--panel);color:var(--muted)}.st-app{grid-template-columns:200px minmax(400px,540px) 1fr}.st-wizard-nav{display:flex;flex-wrap:wrap;gap:6px}.st-wizard-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--panel);border-radius:999px;padding:5px 10px 5px 5px;font-size:12.5px;color:var(--muted);cursor:pointer}.st-wizard-chip .n{width:20px;height:20px;border-radius:50%;background:var(--soft);display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}.st-wizard-chip[aria-current=step]{border-color:var(--accent);color:var(--ink);background:color-mix(in srgb,var(--accent) 8%,white)}.st-wizard-chip[aria-current=step] .n{background:var(--accent);color:var(--accent-ink)}.st-wizard-chip[data-done] .n{background:var(--ok);color:#fff}.st-wizard-body{display:flex;flex-direction:column;gap:14px}.st-wizard-foot{display:flex;justify-content:space-between;gap:8px;padding-top:6px;border-top:1px solid var(--line)}.st-explain{background:var(--soft);border-radius:var(--radius);padding:14px 16px;display:flex;flex-direction:column;gap:6px}.st-explain h3{font-size:15px}.st-explain p{color:var(--muted);font-size:13px}.st-sub{font-size:13px}.st-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.st-choice{display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);cursor:pointer}.st-choice span{font-size:12px;color:var(--muted)}.st-choice:hover{border-color:color-mix(in srgb,var(--line) 40%,var(--muted))}.st-choice[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}.st-field-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.st-field-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:8px 12px;border-top:1px solid var(--line);font-size:13px}.st-field-row:first-child{border-top:none}.st-field-row .st-check{gap:0}.st-field-row .meta{color:var(--muted);font-size:12px}
