.sosp-launcher{margin:14px 0 12px}.sosp-launcher .sosp-open{width:100%;min-height:50px;border-radius:10px!important;font-weight:800!important;font-size:16px!important;background:var(--sosp-accent)!important;border-color:var(--sosp-accent)!important}.sosp-mini-status{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:12px;color:#5d646b}.sosp-dot{width:8px;height:8px;border-radius:50%;background:var(--sosp-accent);display:inline-block}.sosp-modal{position:fixed;inset:0;z-index:999999;display:none}.sosp-modal.open{display:block}.sosp-backdrop{position:absolute;inset:0;background:rgb(14 21 26 / .68);backdrop-filter:blur(3px)}.sosp-dialog{position:absolute;inset:3vh 3vw;background:#fff;border-radius:18px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 90px rgb(0 0 0 / .32);max-width:1440px;margin:auto}.sosp-header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid #edf0f2}.sosp-header h2{margin:2px 0 0;font-size:23px}.sosp-kicker{font-size:11px;font-weight:800;letter-spacing:.11em;color:var(--sosp-accent)}.sosp-close{border:0;background:#fff0;font-size:30px;line-height:1;cursor:pointer;color:#222}.sosp-progress{display:flex;gap:8px;padding:10px 24px;background:#fbfcfc;border-bottom:1px solid #edf0f2}.sosp-progress span{font-size:12px;font-weight:700;color:#879098}.sosp-progress span.active{color:#0b7775}.sosp-body{min-height:0;flex:1;display:grid;grid-template-columns:360px 1fr}.sosp-sidebar{padding:18px;overflow:auto;border-right:1px solid #edf0f2;background:#fff}.sosp-side-section{padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid #edf0f2}.sosp-side-section h3{font-size:14px;margin:0 0 10px}.sosp-view-tabs{display:flex;gap:7px;flex-wrap:wrap}.sosp-view-tabs button,.sosp-chip{border:1px solid #dbe1e4;background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer;font-size:12px}.sosp-view-tabs button.active,.sosp-chip.active{background:#eafafa;border-color:var(--sosp-accent);color:#086d6b;font-weight:800}.sosp-upload-btn,.sosp-secondary-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;box-sizing:border-box;min-height:45px;border-radius:10px;font-weight:800;cursor:pointer}.sosp-upload-btn{background:var(--sosp-accent);color:#063c3b}.sosp-upload-btn span{font-size:23px;line-height:1}.sosp-secondary-btn{border:1px solid #dbe1e4;background:#fff;margin-top:8px}.sosp-side-section small{display:block;margin-top:8px;color:#7b838a}.sosp-tool-row{display:flex;gap:6px;flex-wrap:wrap}.sosp-tool-row button{border:1px solid #dbe1e4;background:#fff;border-radius:8px;padding:8px 10px;cursor:pointer}.sosp-tool-row .danger{color:#b42318}.sosp-quality{margin-top:10px;font-size:12px;border-radius:8px;padding:9px;background:#f3f5f6}.sosp-quality.good{background:#ebf8ef;color:#176b37}.sosp-quality.warn{background:#fff4df;color:#8a5000}.sosp-stage-wrap{min-width:0;display:flex;flex-direction:column;background:#f4f6f7;padding:18px}.sosp-stage-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:#596168;font-size:12px}.sosp-stage-top strong{font-size:16px;color:#14191d}.sosp-canvas-shell{position:relative;flex:1;min-height:380px;display:flex;align-items:center;justify-content:center;overflow:hidden}.sosp-canvas-shell canvas{display:block;max-width:100%;max-height:calc(100vh - 280px);aspect-ratio:1/1;background:#fff;border-radius:14px;box-shadow:0 10px 35px rgb(31 45 51 / .12);touch-action:none}.sosp-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgb(244 246 247 / .72);font-weight:800}.sosp-loading[hidden]{display:none}.sosp-hint{text-align:center;font-size:11px;color:#717980;margin:10px 0 0}.sosp-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 24px;border-top:1px solid #edf0f2;background:#fff}.sosp-footer p{margin:0;font-size:12px;color:#667078}.sosp-footer>div{display:flex;gap:8px}.sosp-cancel,.sosp-finish{border-radius:10px;padding:11px 16px;font-weight:800;cursor:pointer}.sosp-cancel{border:1px solid #dbe1e4;background:#fff;font-size:14px}.sosp-finish{border:0;background:var(--sosp-accent);color:#063c3b}.sosp-library{padding:4px 0 10px}.sosp-library-search{display:flex;gap:6px}.sosp-library-search input{min-width:0;flex:1}.sosp-library-search button{border:1px solid #dbe1e4;background:#fff}.sosp-library-results{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.sosp-art-card{border:1px solid #e1e5e7;background:#fff;border-radius:8px;padding:4px;cursor:pointer}.sosp-art-card img{width:100%;aspect-ratio:1/1;object-fit:contain;display:block}.sosp-art-card span{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:4px}.sosp-option-group{margin-bottom:10px}.sosp-option-group>strong{display:block;font-size:12px;margin-bottom:6px}.sosp-option-chips{display:flex;flex-wrap:wrap;gap:6px}.sosp-option-select{width:100%;min-height:38px}.sosp-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#172126;color:#fff;padding:10px 14px;border-radius:999px;z-index:1000000;font-size:13px}.sosp-toast.error{background:#8f1d18}@media(max-width:800px){.sosp-dialog{inset:0;border-radius:0}.sosp-header{padding:12px 14px}.sosp-progress{padding:8px 14px}.sosp-body{display:block;overflow:auto}.sosp-sidebar{border-right:0;padding:14px;overflow:visible}.sosp-stage-wrap{padding:10px;min-height:430px}.sosp-canvas-shell{min-height:330px}.sosp-canvas-shell canvas{max-height:65vh}.sosp-footer{padding:10px 12px;position:sticky;bottom:0;z-index:4}.sosp-footer p{display:none}.sosp-footer>div{width:100%}.sosp-cancel,.sosp-finish{flex:1}.sosp-library-results{grid-template-columns:repeat(4,1fr)}}.sosp-text-add{font-size:14px}.sosp-text-tools textarea,.sosp-text-tools select,.sosp-text-tools input[type=text]{width:100%;box-sizing:border-box;border:1px solid #dbe1e4;border-radius:8px;padding:9px;background:#fff}.sosp-field{display:block;font-size:11px;color:#596168;margin-bottom:10px}.sosp-field>span{display:block;font-weight:800;color:#20272c;margin-bottom:5px}.sosp-field textarea{resize:vertical;min-height:72px}.sosp-text-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sosp-font-field{grid-column:1/-1}.sosp-font-open{width:100%;text-align:left;border:1px solid #dbe1e4;background:#fff;border-radius:9px;padding:9px 10px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px}.sosp-font-open strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sosp-font-open small{margin:0;font-size:10px;white-space:nowrap}.sosp-color-row{display:flex;gap:6px}.sosp-color-row input[type=color]{width:42px;min-width:42px;height:38px;border:1px solid #dbe1e4;border-radius:8px;padding:2px;background:#fff}.sosp-color-row input[type=text]{min-width:0}.sosp-check{font-size:12px;font-weight:700;display:flex;align-items:center;gap:7px}.sosp-font-picker{position:relative;border:1px solid #dfe5e7;background:#fbfcfc;border-radius:12px;padding:10px;margin:-5px 0 14px}.sosp-font-picker-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.sosp-font-picker-head button{border:0;background:#fff0;font-size:22px;cursor:pointer}.sosp-font-search{width:100%;box-sizing:border-box;border:1px solid #dbe1e4;border-radius:8px;padding:9px}.sosp-font-categories{display:flex;gap:5px;overflow:auto;padding:8px 0;scrollbar-width:thin}.sosp-font-cat{flex:0 0 auto;border:1px solid #dbe1e4;background:#fff;border-radius:999px;padding:6px 9px;font-size:10px;cursor:pointer}.sosp-font-cat.active{background:#eafafa;border-color:var(--sosp-accent);font-weight:800}.sosp-font-results{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:300px;overflow:auto;padding-right:2px}.sosp-font-card{min-width:0;border:1px solid #e0e5e7;background:#fff;border-radius:9px;padding:9px;text-align:left;cursor:pointer}.sosp-font-card:hover{border-color:var(--sosp-accent);background:#f2ffff}.sosp-font-sample{display:block;font-size:18px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#181d20}.sosp-font-card small{display:block;margin-top:4px;color:#778087;font-size:9px}.sosp-order-texts{display:flex;flex-direction:column;gap:3px;margin-top:6px}.sosp-order-texts small{display:block}@media(max-width:800px){.sosp-text-grid{grid-template-columns:1fr 1fr}.sosp-font-results{grid-template-columns:1fr 1fr;max-height:260px}}.sosp-canvas-shell{padding-left:74px;box-sizing:border-box}.sosp-quickbar{position:absolute;left:8px;top:50%;transform:translateY(-50%);z-index:5;display:flex;flex-direction:column;gap:7px;padding:8px;background:rgb(255 255 255 / .96);border:1px solid #e0e6e8;border-radius:14px;box-shadow:0 8px 24px rgb(29 44 51 / .12);backdrop-filter:blur(8px)}.sosp-qbtn{width:48px;min-height:48px;border:1px solid #fff0;background:#f7f9fa;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#263239;padding:4px;transition:.15s ease}.sosp-qbtn:hover:not(:disabled){border-color:var(--sosp-accent);background:#efffff;transform:translateY(-1px)}.sosp-qbtn.active{background:#e9fbfa;border-color:var(--sosp-accent);color:#075f5d}.sosp-qbtn span{font-size:20px;line-height:1;font-weight:800}.sosp-qbtn small{font-size:8px;line-height:1.1;margin:0;color:inherit;font-weight:800}.sosp-qbtn.danger:not(:disabled){color:#a52a22}.sosp-qbtn:disabled{opacity:.35;cursor:not-allowed}.sosp-canvas-error{position:absolute;inset:20px;z-index:10;display:flex;align-items:center;justify-content:center;text-align:center;background:#fff3f1;color:#8a2c22;border:1px solid #efc6c1;border-radius:12px;padding:20px;font-weight:700}.sosp-hint strong{color:#314047}@media(max-width:800px){.sosp-canvas-shell{padding-left:0;padding-bottom:66px;align-items:flex-start}.sosp-quickbar{left:50%;top:auto;bottom:5px;transform:translateX(-50%);flex-direction:row;gap:4px;padding:6px;max-width:calc(100vw - 24px);overflow-x:auto;border-radius:12px}.sosp-qbtn{width:45px;min-width:45px;min-height:45px}.sosp-qbtn span{font-size:19px}.sosp-qbtn small{font-size:7px}.sosp-stage-top span{display:none}}.sosp-preview-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.95fr);gap:16px;min-height:0;flex:1}.sosp-preview-panel{background:#fff;border:1px solid #e3e8ea;border-radius:16px;padding:12px;display:flex;flex-direction:column;min-height:0;box-shadow:0 6px 20px rgb(31 45 51 / .06)}.sosp-panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 10px;color:#667078;font-size:12px}.sosp-panel-head strong{font-size:15px;color:#182025}.sosp-canvas-shell-flat{padding-left:78px;background:linear-gradient(180deg,#f5f8f9 0%,#edf2f3 100%);border-radius:14px;min-height:440px}.sosp-canvas-shell-flat canvas{width:100%;height:auto;max-height:calc(100vh - 355px);aspect-ratio:14/9;background:#fff0;box-shadow:none;border-radius:10px}.sosp-canvas-shell-mockup{background:linear-gradient(180deg,#f8fafb 0%,#edf2f3 100%);border-radius:14px;min-height:440px}.sosp-canvas-shell-mockup canvas{max-height:calc(100vh - 355px)}.sosp-hint.sosp-hint-subtle{color:#7d858b}.sosp-text-grid{grid-template-columns:1fr 1fr}.sosp-font-open small{display:none}.sosp-font-open strong{font-size:17px}.sosp-font-picker{display:block!important;position:relative;border:1px solid #dfe5e7;background:#f9fbfb;border-radius:12px;padding:10px;margin-top:4px}.sosp-font-picker-head{margin-bottom:8px}.sosp-font-picker-head button{display:none}.sosp-font-search{margin-bottom:6px}.sosp-font-categories{gap:6px;padding:6px 0 8px}.sosp-font-results{grid-template-columns:1fr;max-height:320px}.sosp-font-card{padding:10px 12px}.sosp-font-sample{font-size:24px;line-height:1.1}.sosp-font-card small{font-size:10px;margin-top:6px}@media(max-width:1100px){.sosp-preview-grid{grid-template-columns:1fr}.sosp-canvas-shell-flat,.sosp-canvas-shell-mockup{min-height:340px}}@media(max-width:800px){.sosp-preview-grid{grid-template-columns:1fr;gap:12px}.sosp-preview-panel{padding:10px}.sosp-canvas-shell-flat{padding-left:0;padding-bottom:66px;min-height:310px}.sosp-canvas-shell-mockup{min-height:290px}.sosp-canvas-shell-flat canvas,.sosp-canvas-shell-mockup canvas{max-height:none;width:100%}.sosp-font-results{max-height:240px}}