:root{--bg:#f7f8fc;--ink:#222331;--muted:#8b8c9d;--line:#ececf3;--purple:#7760de;--purple-soft:#f2efff;--sidebar:#191824;--green:#3ca680;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button,a,input,textarea,summary,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}:focus-visible{outline:3px solid #b8a9ff;outline-offset:3px}button{transition:background .16s,color .16s,box-shadow .16s}button:hover:not(:disabled){filter:brightness(.97)}.sidebar{width:228px;background:var(--sidebar);position:fixed;inset:0 auto 0 0;color:#b1b0c2;display:flex;flex-direction:column;padding:30px 16px 18px;z-index:10}.brand{display:flex;align-items:center;gap:11px;color:#fff;padding:0 11px;font-size:24px;font-weight:720;letter-spacing:-1px}.brand img{width:38px;height:38px}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:2px;margin-top:5px;color:#a6a1b8}.new-session{height:44px;border:1px solid #494158;background:#302b42;border-radius:9px;color:#ddd5ff;display:flex;align-items:center;gap:10px;margin:36px 4px 28px;padding:0 14px;font-size:13px}.new-session span{margin-left:auto;color:#a291cf}.nav-label{font-size:11px;letter-spacing:1px;padding:0 16px;margin-bottom:12px;display:flex;justify-content:space-between;color:#787589}.nav-label span{font-size:10px;border:1px solid #3f3b4b;border-radius:4px;padding:0 4px}#task-nav{display:flex;flex-direction:column;gap:7px}.nav-task{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:14px 17px;background:none;border:0;border-radius:8px;font-size:13px;color:#a6a3b7;position:relative}.nav-task svg{width:18px}.nav-task.active{background:#373049;color:#e0d5ff}.nav-task.active::after{content:"";position:absolute;right:16px;width:5px;height:5px;background:#baa4ff;border-radius:50%}.nav-task:hover{background:#272332}.sidebar-bottom{margin-top:auto;padding:40px 8px 0}.model-card{display:flex;gap:9px;align-items:center;padding:14px 0;border-top:1px solid #35313f;border-bottom:1px solid #35313f}.model-orb{background:#33303f;border:1px solid #494052;padding:7px;border-radius:9px;color:#c3afff;height:34px}.model-card strong{display:block;color:#d3cfdf;font-size:11px;font-weight:500}.model-card span:not(.small-badge){font-size:10px;display:block;color:#817b91;margin-top:5px}.small-badge{font-size:8px;color:#a197b8;margin-left:auto;border:1px solid #494151;padding:3px;border-radius:4px}.sidebar-bottom>a{display:flex;justify-content:space-between;font-size:11px;margin:20px 2px 17px;color:#9992a9}.sidebar-bottom>a svg{width:13px;height:13px}.local-note{font-size:9px;color:#757082;white-space:nowrap}.dot{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;flex-shrink:0}.local-note .dot{width:4px;height:4px;margin-right:4px}.app-shell{margin-left:228px}.topbar{height:72px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumb{display:flex;align-items:center;gap:16px;color:#9999a7;font-size:12px}.breadcrumb svg{width:12px;height:12px;color:#b7b5c1}.breadcrumb strong{font-weight:500;color:#545260}.topbar-right{display:flex;align-items:center;gap:26px;font-size:11px}.topbar-right>a{display:flex;align-items:center;gap:8px;color:#777383}.topbar-right svg{width:12px;height:12px}.service-status{display:flex;align-items:center;gap:7px;color:#64776f;background:#f3f8f5;border:1px solid #e5efe9;padding:6px 10px;border-radius:20px}.service-status.offline{color:#a36c55;background:#fff6ee;border-color:#f3e2d7}.service-status.offline .dot{background:#c98c64}main{max-width:1610px;margin:auto;padding:35px 36px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:2.2px;color:#a5a0b7;margin-bottom:11px}h1{margin:0;font-size:27px;font-weight:650;letter-spacing:.2px}h1>span{font-size:22px;color:#ac97e6;display:inline-block;margin-left:13px;vertical-align:top}.page-heading p{font-size:12px;color:#8b879c;margin:10px 0 0}.version-pill{font-size:10px;display:flex;align-items:center;gap:8px;border:1px solid #e5e0f0;border-radius:6px;padding:8px 10px;color:#91849f;background:#fff}.version-pill .dot{background:#9c86cf;width:5px;height:5px}.workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(340px,1fr);gap:22px;align-items:start}.panel{border:1px solid #e6e6ef;border-radius:13px;background:white;box-shadow:0 3px 8px #25223a03;overflow:hidden}.panel-heading{height:58px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 21px}.panel-heading h2{font-size:13px;font-weight:600;margin:0;display:flex;align-items:center;gap:9px}.panel-heading h2 svg{color:#8d869d;width:16px;height:16px}.panel-heading>span{font-size:10px;color:#9e99ab;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-toolbar{padding:16px 18px;display:flex;justify-content:space-between;align-items:center}.segmented{display:flex;gap:2px;background:#f6f5f9;border-radius:6px;padding:3px}.segmented button{padding:6px 10px;border:0;border-radius:4px;background:none;color:#93909e;font-size:10px}.segmented button.active{background:white;box-shadow:0 1px 5px #22222212;color:#5c536d}.segmented button span{margin-left:4px;font-size:9px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;background:none;border:0;border-radius:5px;padding:7px;color:#8a8098}.text-button svg{width:14px;height:14px}.text-button:hover{background:#f7f4fd}.text-button.active{color:var(--purple);background:var(--purple-soft)}.image-stage{margin:0 18px;min-height:365px;height:clamp(330px,32vw,470px);display:flex;align-items:center;justify-content:center;background:#fafafd;border:1px dashed #dedbe9;border-radius:9px;overflow:hidden;position:relative;background-image:radial-gradient(#e5e2ef 1px,transparent 1px);background-size:16px 16px}.image-stage.has-image{border-style:solid;background:#f5f5f9}.image-stage.drag-over{background:#eeebff;border-color:var(--purple)}.upload-empty{display:flex;flex-direction:column;align-items:center;border:0;background:none;padding:35px 12px;width:100%;color:#a09baa;font-size:11px;gap:10px}.upload-empty strong{color:#595265;font-size:14px;font-weight:500;margin-top:13px}.upload-empty small{font-size:9px;color:#aba7b6;margin-top:0}.upload-illustration{width:62px;height:68px;background:white;border:1px solid #e5dfed;border-radius:13px;display:grid;place-items:center;transform:rotate(-7deg);box-shadow:4px 6px 0 #f0ebf9;position:relative}.upload-illustration>svg{width:30px;height:30px;color:#b3a3d0}.upload-illustration>span{position:absolute;right:-9px;bottom:0;border:3px solid #fafafd;width:25px;height:25px;background:#9b83d2;color:white;border-radius:9px;font-size:18px;line-height:19px}.upload-cta{display:flex;gap:6px;align-items:center;padding:8px 17px;background:white;border:1px solid #e0d9eb;border-radius:6px;color:#827092;margin-top:11px;font-size:10px;box-shadow:0 1px 4px #43305b05}.upload-cta svg{width:13px;height:13px}.canvas-wrap{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:10px}canvas{max-width:100%;max-height:100%;object-fit:contain;display:block;touch-action:auto}canvas.drawing{cursor:crosshair;touch-action:none}.canvas-toolbar{padding:13px 17px;display:flex;align-items:center;gap:4px}.canvas-toolbar>span{font-size:10px;color:#aaa4b4;padding-left:7px}.canvas-toolbar button:last-child{margin-left:auto}.region-hint{margin:0 20px 14px;font-size:11px;padding:10px;background:var(--purple-soft);border-radius:5px;color:#8570b0;line-height:1.6}.examples{border-top:1px solid var(--line);padding:18px 20px 21px}.section-caption{font-size:11px;color:#6c6479;margin-bottom:13px}.section-caption>span{font-size:10px;color:#aaa3b4;margin-left:6px}.example-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.example-card{border:1px solid #ece9f1;border-radius:8px;padding:8px;background:white;display:flex;gap:11px;align-items:center;text-align:left;min-width:0}.example-card:hover{border-color:#cec1ed;background:#fcfaff}.example-card img{width:58px;height:52px;object-fit:cover;border-radius:5px}.example-card>span{flex:1;min-width:0}.example-card strong{font-size:10px;display:block;font-weight:500;color:#62576c;white-space:nowrap}.example-card small{font-size:9px;color:#aaa0b4;display:flex;justify-content:space-between;margin-top:8px}.example-card small>span{font-size:13px;color:#b2a4c4}.interaction-column{display:flex;flex-direction:column;gap:20px}.step-label{font-size:8px!important;letter-spacing:1.3px}.prompt-body{padding:20px}.selected-task{display:flex;align-items:center;gap:11px;margin-bottom:22px}.selected-task>div:first-child{display:grid;place-items:center;width:38px;height:38px;border:1px solid #e8e0f8;border-radius:10px;background:#f7f3ff;color:#a68acb}.selected-task strong{font-size:12px;font-weight:600}.selected-task p{font-size:10px;color:#a097ad;margin:5px 0 0;line-height:1.5}.prompt-body>label{font-size:11px;color:#777080;display:block;margin-bottom:10px}textarea{resize:vertical;min-height:89px;max-height:250px;border:1px solid #e6e0ee;border-radius:7px;background:#fdfcfe;padding:12px;width:100%;line-height:1.7;font-size:12px;color:#51475e}textarea::placeholder{color:#b2a8c0;font-size:11px}textarea:focus{outline:0;border-color:#ac98d4;box-shadow:0 0 0 3px #a88cd410}.suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.suggestions button{font-size:9px;background:#f7f5fa;border:1px solid #efebf3;border-radius:4px;padding:5px 8px;color:#9c8dab}.advanced{margin-top:18px}.advanced>summary{list-style:none;display:flex;align-items:center;gap:8px;font-size:10px;color:#92839f;cursor:pointer}.advanced>summary span{color:#bbb1c5;font-size:9px}.advanced>summary svg{width:11px;height:11px;margin-left:auto;transition:transform .15s}.advanced[open]>summary svg{transform:rotate(90deg)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:6px}.settings-grid label{font-size:10px;color:#8c7d9a}.settings-grid select{display:block;width:100%;margin-top:7px;border:1px solid #e6e0ec;background:#fff;border-radius:4px;padding:5px;font-size:10px;color:#6f617c}.temperature-setting{grid-column:1/-1}.temperature-setting output{float:right}.temperature-setting input{display:block;width:100%;margin:10px 0 0;accent-color:var(--purple)}.run-button{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--purple);border:1px solid #7057d2;color:white;height:43px;width:100%;border-radius:7px;margin-top:19px;font-size:12px;font-weight:500;box-shadow:0 3px 6px #7760de1a}.run-button svg{width:15px;height:15px}.run-button svg:last-child{margin-left:auto;width:14px}.run-button svg:first-child{margin-right:auto}.run-button:disabled{opacity:.6}.run-hint{font-size:9px;color:#b2a9bc;text-align:center;margin:10px 0 0}.result-actions{display:flex;gap:8px}.icon-button{border:0;padding:4px;background:transparent;color:#a89ab7;border-radius:4px;display:flex}.icon-button svg{width:14px;height:14px}.result-empty{padding:34px 14px 30px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:11px}.result-symbol{border:1px solid #ede7f4;background:#faf7fe;border-radius:11px;display:grid;place-items:center;width:39px;height:39px;color:#baa7d1;transform:rotate(-6deg);margin-bottom:2px}.result-symbol svg{width:20px;height:20px}.result-empty strong{font-size:11px;font-weight:400;color:#a090b0}.result-empty p{margin:0;font-size:9px;color:#baafc5}#result-content{padding:19px 20px}.result-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:14px}.success-mark{color:#518b75}#result-time{color:#a294ad;font-size:9px}.result-labels{display:flex;flex-wrap:wrap;gap:7px}.result-labels button{border:1px solid var(--tag);background:white;color:#756780;border-radius:5px;font-size:10px;padding:5px 8px}.result-labels button.active{background:var(--tag);color:white}.answer{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#665a73;margin-top:13px}.raw-result{margin-top:16px}.raw-result summary{font-size:10px;color:#aaa0b7;cursor:pointer}.raw-result pre{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;background:#faf8fc;border-radius:6px;padding:10px;line-height:1.5;max-height:220px;overflow:auto}.token-info{border-top:1px solid var(--line);margin-top:17px;padding-top:12px;font-size:9px;color:#b5a9c0}footer{display:flex;justify-content:space-between;font-size:9px;color:#b2adbc;padding:24px 2px}.footer-divider{margin:0 8px;color:#d0cbd8}.processing-overlay{position:absolute;inset:0;background:#f8f5fce0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#8e75ac;font-size:13px;backdrop-filter:blur(3px)}.processing-overlay small{font-size:10px;color:#aa97bc}.spinner{width:30px;height:30px;border:2px solid #e3d7f1;border-top-color:var(--purple);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#error-message{background:#fff1ee;border:1px solid #f2d9d3;padding:10px;font-size:11px;line-height:1.6;border-radius:6px;color:#b56859;margin-top:14px}.toast{position:fixed;bottom:26px;left:calc(50% + 114px);transform:translateX(-50%);background:#332c43;color:#fff;font-size:12px;border-radius:8px;padding:12px 22px;box-shadow:0 6px 25px #30213f30;z-index:50}.nav-task:disabled{opacity:.5}
@media(min-width:1600px){main{padding-top:42px}.image-stage{height:490px}.prompt-body{padding:24px}.result-empty{padding:43px 14px}.page-heading{margin-bottom:34px}}
@media(max-width:1200px){.sidebar{width:196px;padding-left:10px;padding-right:10px}.app-shell{margin-left:196px}.topbar{padding:0 24px}main{padding:28px 24px 0}.workspace{gap:16px;grid-template-columns:minmax(0,1fr) minmax(310px,.9fr)}.image-stage{min-height:320px}.example-card{gap:8px}.example-card img{width:44px;height:45px}.example-card strong{font-size:9px}.version-pill{display:none}.brand{font-size:21px}.brand img{width:33px}.brand small{font-size:6.5px}.sidebar-bottom{padding-left:4px;padding-right:4px}.model-card{gap:7px}.small-badge{display:none}.local-note{font-size:8px}.toast{left:calc(50% + 98px)}}
@media(max-width:1000px){.sidebar{width:172px}.app-shell{margin-left:172px}.workspace{grid-template-columns:1fr}.interaction-column{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:16px}.brand{gap:7px;font-size:19px;padding:0 8px}.brand img{width:29px}.brand small{font-size:6px;letter-spacing:1.4px}.nav-task{padding-left:13px;font-size:12px}.nav-task.active:after{right:10px}.sidebar-bottom .model-orb{display:none}.image-stage{height:400px}.toast{left:calc(50% + 86px)}}
@media(max-width:700px){.sidebar{position:relative;width:100%;padding:16px 18px 0;inset:auto}.brand{font-size:22px}.brand img{width:34px}.brand small{font-size:7px}.new-session{position:absolute;right:18px;top:16px;margin:0;height:34px;padding:0 10px;font-size:11px}.new-session span{display:none}.nav-label,.sidebar-bottom{display:none}#task-nav{flex-direction:row;overflow:auto;gap:6px;padding:18px 0 12px}.nav-task{width:auto;white-space:nowrap;gap:7px;padding:10px 12px;font-size:11px;border-radius:6px}.nav-task svg{width:14px;height:14px}.nav-task.active:after{display:none}.app-shell{margin-left:0}.topbar{height:52px;padding:0 20px}.breadcrumb{font-size:10px;gap:8px}.topbar-right{font-size:10px;gap:12px}.topbar-right>a{font-size:9px}.service-status{font-size:9px;padding:5px 8px}main{padding:23px 16px 0}.eyebrow{font-size:8px;letter-spacing:1.6px}h1{font-size:23px}h1>span{font-size:19px}.page-heading p{font-size:11px}.page-heading{margin-bottom:22px}.interaction-column{display:flex}.image-stage{height:330px;min-height:260px}.panel-heading{height:52px;padding:0 16px}.panel-heading h2{font-size:12px}.image-toolbar{padding:13px 14px}.image-stage{margin:0 14px}.examples{padding:16px}.canvas-toolbar{padding:11px}.canvas-toolbar>span{font-size:9px}.canvas-toolbar .text-button{font-size:10px;padding:6px}.example-card strong{font-size:10px}.example-card img{width:48px}.section-caption{font-size:10px}.prompt-body{padding:18px}.result-empty{padding:30px 10px}footer{font-size:8px;gap:15px;line-height:1.6}.toast{left:50%;max-width:90vw;width:max-content}.result-panel{width:100%}.upload-empty strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition:none!important}}
/* Readable type across Linux, Windows and mobile; consistent stacked card width. */
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
.prompt-panel{width:100%}
.nav-task{font-size:13px}.panel-heading h2{font-size:14px}.selected-task strong{font-size:13px}.selected-task p{font-size:12px;color:#82758e}.prompt-body>label{font-size:12px;color:#74677f}textarea{font-size:13px}textarea::placeholder{font-size:12px}.suggestions button{font-size:11px;color:#867393}.advanced>summary{font-size:11px}.settings-grid label,.settings-grid select{font-size:11px}.run-button{font-size:13px}.run-hint{font-size:10px;color:#9c8ca9}.result-empty strong{font-size:12px;color:#907b9f}.result-empty p{font-size:11px;color:#a28daf}.answer{font-size:13px}.result-labels button{font-size:11px}.text-button{font-size:12px}.segmented button{font-size:11px}.example-card strong{font-size:12px}.example-card small{font-size:10px}.section-caption{font-size:12px}.section-caption>span{font-size:11px}.upload-empty strong{font-size:15px}.upload-empty{font-size:12px}.upload-empty small{font-size:11px}.upload-cta{font-size:12px}.raw-result summary,.token-info{font-size:10px}.breadcrumb{font-size:12px}.panel-heading>span{font-size:11px}
@media(max-width:1200px) and (min-width:1001px){.example-card strong{font-size:10px}.example-card small{font-size:9px}}
@media(max-width:700px){.nav-task{font-size:12px}.example-card strong{font-size:11px}.panel-heading h2{font-size:13px}.upload-empty strong{font-size:14px}.upload-empty small{font-size:10px}.section-caption{font-size:11px}.section-caption>span{font-size:10px}.breadcrumb{font-size:10px}}
