@charset "UTF-8";
:root{--navy:#171b32;--navy-light:#242940;--paper:#f8f8fa;--white:#fff;--ink:#25273a;--muted:#9395a7;--purple:#7b61df;--purple-dark:#654bc9;--lavender:#efebfc;--line:#ececf2;--green:#3c9e83;--shadow:0 10px 36px #20233f08;--radius:18px;font-family:Inter,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #b6a4ff;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #a793ef;outline-offset:1px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.4}h1{font-size:28px;letter-spacing:-1px}h2{font-size:18px}h3{font-size:15px}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}button svg.icon{width:18px;height:18px}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-family:Consolas,monospace}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:2.2px;font-weight:700}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 19px;border-radius:10px;font-weight:600;line-height:1.5;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--purple);color:#fff;box-shadow:0 4px 12px #7b61df22}.btn.primary:hover{background:var(--purple-dark)}.btn.secondary{background:#fff;border:1px solid #e4e2ef;color:#5b5477}.btn.soft{background:var(--lavender);color:var(--purple-dark)}.btn.ghost{background:transparent;color:#79738d}.btn.danger{background:#fff0f0;color:#c9535d}.btn.small{padding:7px 12px;font-size:12px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;background:none;color:#858497;width:34px;height:34px;border-radius:9px}.icon-btn:hover{background:#f0eef8;color:var(--purple)}.text-btn{background:none;padding:0;color:var(--purple);font-weight:600}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:3px 8px;font-size:10px;font-weight:600;white-space:nowrap;background:#f1eff6;color:#8d80a8}.pill.good{color:#38957b;background:#eaf7f2}.pill.warn{color:#bf8b3b;background:#fbf3e5}.pill.bad{color:#bf5a66;background:#fff0f0}.pill.purple{color:var(--purple);background:var(--lavender)}.dot{width:6px;height:6px;border-radius:50%;background:currentColor}.row{display:flex;align-items:center;gap:12px}.between{display:flex;justify-content:space-between;align-items:center;gap:16px}.stack{display:flex;flex-direction:column;gap:18px}.hidden{display:none!important}.initial-loading{display:flex;min-height:100vh;align-items:center;justify-content:center;gap:18px;color:#8d879e}.spinner{display:inline-block;width:18px;height:18px;border:2px solid #ddd5f8;border-top-color:var(--purple);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.app-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:232px;background:var(--navy);color:#989bb0;padding:34px 21px 22px;z-index:30;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 11px;color:#fff}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:37px;height:39px;background:linear-gradient(145deg,#ad98f9,#7b61df);color:white;border-radius:11px;font-size:21px;font-weight:800;box-shadow:0 4px 12px #0002}.brand-name{font-size:20px;font-weight:750;letter-spacing:1px;line-height:1.2}.brand-name small{font-size:9px;font-weight:500;letter-spacing:3.5px;display:block;color:#b7b0d8;margin-top:7px}.sidebar .nav-label{font-size:10px;letter-spacing:2px;color:#5f657f;margin:41px 13px 13px}.nav{display:flex;flex-direction:column;gap:8px}.nav a{display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:9px;font-size:13px;transition:.2s}.nav a .icon{width:18px;height:18px}.nav a:hover{background:#252a44;color:white}.nav a.active{color:white;background:#7b61df;box-shadow:0 7px 18px #0001}.nav a.active:after{content:"";width:5px;height:5px;border-radius:50%;background:#d6cbff;margin-left:auto}.nav-count{margin-left:auto;background:#33384d;padding:0 6px;font-size:10px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:48px}.sidebar-note{margin:0 7px 22px;padding:15px 14px;border:1px solid #383950;border-radius:12px;background:linear-gradient(140deg,#2a2b43,#20253a)}.sidebar-note .icon{color:#c7b7ff;width:19px;height:19px}.sidebar-note strong{font-size:12px;color:#e5e1fa}.sidebar-note p{font-size:10px;line-height:1.8;margin-top:9px;color:#9595af}.sidebar-note a{display:flex;justify-content:space-between;font-size:10px;color:#c5b8ff;margin-top:12px}.user-mini{display:flex;gap:10px;align-items:center;padding:17px 8px 0;border-top:1px solid #2c3047}.avatar{width:32px;height:32px;border-radius:10px;background:#efeafa;color:#8d72cf;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex:none}.user-mini strong{color:#dcddea;font-size:11px;display:block}.user-mini small{font-size:9px;color:#69718b;letter-spacing:1px}.logout{margin-left:auto;color:#727a92}.main-shell{grid-column:2;min-width:0}.topbar{height:88px;display:flex;justify-content:space-between;align-items:center;padding:0 43px;border-bottom:1px solid var(--line);background:#fbfbfc}.breadcrumb{font-size:11px;color:#aaa8b6;display:flex;align-items:center;gap:11px}.breadcrumb b{font-weight:500;color:#555165}.topbar-right{display:flex;gap:19px;align-items:center}.topbar-right .today{font-size:10px;color:#9b98aa}.header-status{font-size:10px;display:flex;align-items:center;gap:6px;color:#9490a4}.header-status .dot{color:#b7b0c7}.header-status.connected .dot{color:var(--green)}.topbar-avatar{width:31px;height:31px;background:#eee9fa;color:#8566c7}.mobile-menu{display:none}.content{padding:31px 43px 50px;max-width:1560px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:18px}.page-heading h1{font-size:23px;letter-spacing:-.5px}.page-heading p{font-size:11px;color:#a09aaa;margin-top:7px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:29px 0 15px}.section-heading h2{font-size:15px}.section-heading p{font-size:10px;color:#aaa4b3;margin-top:4px}.section-heading .text-btn{font-size:10px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.hero{min-height:265px;background:#efecf9;position:relative;overflow:hidden;display:flex;border:1px solid #e7e2f6;border-radius:18px}.hero-copy{padding:34px 37px;position:relative;z-index:2;max-width:66%}.hero-label{color:#8975bd;font-size:9px;letter-spacing:2.5px;display:flex;align-items:center;gap:7px;margin-bottom:17px}.hero-label:before{content:"";width:21px;height:1px;background:#9d84d9}.hero h1{font-size:30px;font-weight:750;letter-spacing:0;line-height:1.6}.hero h1 em{font-style:normal;color:#8261d7}.hero p{font-size:10px;color:#a098b0;margin-top:11px;letter-spacing:.5px}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:24px}.hero-actions .btn{padding:10px 18px;font-size:10px;border-radius:8px}.hero-actions .text-btn{font-size:10px;color:#9686b2}.hero-art{position:absolute;right:0;top:0;bottom:0;width:41%;min-width:260px;isolation:isolate}.art-orbit{position:absolute;left:5%;top:26px;width:265px;height:265px;border-radius:50%;border:1px solid #ded6f0;transform:rotate(-25deg)}.art-orbit:before,.art-orbit:after{content:"";position:absolute;border:1px solid #e2dbf3;border-radius:50%;inset:24px}.art-orbit:after{inset:-21px;border-style:dashed;opacity:.6}.art-star{position:absolute;top:39px;right:51px;width:15px;height:15px;background:#b9a2eb;clip-path:polygon(50% 0,63% 37%,100% 50%,63% 63%,50% 100%,37% 63%,0 50%,37% 37%)}.art-star.two{top:auto;bottom:35px;left:9%;width:11px;height:11px}.art-card{width:159px;height:197px;position:absolute;left:22%;top:40px;background:#fff;border:5px solid #fff;border-radius:12px;transform:rotate(-10deg);box-shadow:6px 14px 24px #6a4e9d24;overflow:hidden}.art-card.back{transform:rotate(12deg);left:42%;top:50px;background:#d8cce9}.art-scene{height:141px;background:linear-gradient(160deg,#e7cddc,#b2a7da 50%,#8072b2);position:relative;overflow:hidden}.art-sun{width:35px;height:35px;border-radius:50%;position:absolute;right:21px;top:18px;background:#f9e9d5}.art-mountain{position:absolute;width:190px;height:140px;background:#9b90b3;transform:rotate(35deg);top:83px;left:-40px;border-radius:20px}.art-mountain.two{background:#6f668e;top:93px;left:46px;transform:rotate(48deg)}.art-character{position:absolute;bottom:0;left:57px;width:32px;height:58px;border-radius:50% 50% 0 0;background:#463b62;z-index:2}.art-character:before{content:"";position:absolute;width:21px;height:25px;background:#463b62;border-radius:48%;top:-20px;left:4px}.art-character:after{content:"";position:absolute;left:-15px;top:20px;width:57px;height:58px;background:#504367;clip-path:polygon(30% 0,70% 0,100% 100%,0 100%)}.art-caption{padding:11px 7px;font-size:6px;color:#9b8bb7;letter-spacing:2px}.art-caption:after{content:"";display:block;height:3px;width:58%;background:#e8e1f2;margin-top:6px;border-radius:4px}.art-play{position:absolute;z-index:4;left:17%;bottom:38px;width:44px;height:44px;border-radius:13px;background:#fff9;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;box-shadow:0 5px 20px #856eb323;color:#9072cc;transform:rotate(-7deg)}.art-tag{position:absolute;right:28px;bottom:48px;background:#fff;border-radius:8px;padding:8px 11px;z-index:4;box-shadow:0 5px 20px #856eb316;color:#9d8ab5;font-size:7px;transform:rotate(7deg)}.art-tag b{color:#8770af;font-size:10px;display:block;letter-spacing:1px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:20px}.stat{padding:18px 21px;display:flex;align-items:center;gap:15px}.stat-icon{width:39px;height:39px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#f0ecfb;color:#8a70d4}.stat:nth-child(2) .stat-icon{background:#eaf5f1;color:#71a48d}.stat:nth-child(3) .stat-icon{background:#fff3e7;color:#caa375}.stat:nth-child(4) .stat-icon{background:#eef1fb;color:#8898cb}.stat strong{font-size:22px;letter-spacing:-.5px;line-height:1.3}.stat span{font-size:9px;display:block;color:#a49dae;margin-top:4px}.stat em{font-size:8px;color:#c1bbc9;font-style:normal;margin-left:auto;align-self:flex-start}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px}.workflow{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.workflow-item{padding:18px 15px;position:relative;transition:.2s;text-align:left;min-height:133px}.workflow-item:hover{border-color:#d1c5ee;transform:translateY(-3px)}.workflow-icon{width:31px;height:31px;background:#f3effb;border-radius:9px;color:#9b83c9;display:flex;align-items:center;justify-content:center;margin-bottom:12px}.workflow-icon .icon{width:16px;height:16px}.workflow-item strong{font-size:11px;display:block}.workflow-item p{font-size:8px;color:#aaa2b4;margin-top:6px}.step-num{position:absolute;right:13px;top:17px;font-size:9px;color:#d8cfe6;font-weight:600}.recent-list{padding:0 20px;min-height:140px}.recent-row{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #f2f0f5}.recent-row:last-child{border-bottom:0}.project-emblem{width:42px;height:47px;border-radius:9px;background:linear-gradient(145deg,#eee8fa,#e4d8f3);color:#9d83bd;display:flex;align-items:center;justify-content:center}.project-emblem .icon{width:21px}.recent-row h3{font-size:11px}.recent-row p{font-size:8px;color:#b2a8bd;margin-top:3px}.recent-row .btn{margin-left:auto}.recent-empty{min-height:140px;display:flex;align-items:center;justify-content:center;gap:16px}.empty-art{width:49px;height:49px;background:#f5f1fb;color:#c0acd8;display:flex;align-items:center;justify-content:center;border-radius:14px}.recent-empty strong{font-size:11px;font-weight:500}.recent-empty p{font-size:9px;color:#b2a8bd;margin-top:6px}.inspiration{padding:21px;overflow:hidden;position:relative;min-height:209px;background:#faf8fd}.inspiration .eyebrow{font-size:8px;color:#b6a4cb}.inspiration h3{font-size:17px;line-height:1.8;margin-top:12px;font-weight:600;color:#6e5c87}.inspiration p{font-size:9px;color:#aea0ba;margin-top:10px;max-width:180px}.inspiration .text-btn{font-size:9px;margin-top:20px}.inspiration:after{content:"✦";position:absolute;right:18px;bottom:4px;font-size:75px;line-height:1;color:#ede6f6;transform:rotate(14deg);z-index:0}.inspiration>*{position:relative;z-index:1}.quick-note{padding:19px 21px;display:flex;gap:10px;margin-top:15px}.quick-note>.icon{color:#b6a1cc;width:16px}.quick-note h3{font-size:10px;color:#847391}.quick-note p{font-size:9px;color:#b1a6bd;margin-top:6px}.dashboard-footer{display:flex;align-items:center;justify-content:center;gap:12px;color:#c0b9c9;font-size:8px;letter-spacing:1px;margin-top:36px}.dashboard-footer:before,.dashboard-footer:after{content:"";width:26px;height:1px;background:#ded8e7}
.studio-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:22px;align-items:start}.panel{padding:25px}.panel-title{margin-bottom:22px;display:flex;align-items:center;gap:10px}.panel-title>.icon{color:var(--purple);width:18px}.panel-title h2{font-size:15px}.panel-title .pill{margin-left:auto}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.field:last-child{margin-bottom:0}.field>label,.field-label{font-size:11px;font-weight:600;color:#666072}.field input,.field select,.field textarea,input.input,select.input,textarea.input{width:100%;padding:11px 12px;background:#fcfbfd;border:1px solid #e9e5ef;border-radius:9px;color:#5f566e;font-size:12px;min-height:41px}.field textarea{resize:vertical;line-height:1.9;min-height:110px}.field textarea.story-input{min-height:215px}.field textarea.prompt-input{min-height:230px;font-size:11px}.field input::placeholder,.field textarea::placeholder{color:#bcb5c6}.field small{font-size:10px;color:#aca1b7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.select-row{display:flex;gap:10px;align-items:center}.select-row select{flex:1;min-width:0}.notice{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;background:#f7f4fc;border:1px solid #ede6f7;color:#9a87af;border-radius:10px;font-size:10px;line-height:1.9}.notice.warning{background:#fff9ef;border-color:#f4e8d4;color:#b09568}.notice .icon{width:16px;height:16px;margin-top:2px}.notice p{flex:1}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;margin-top:22px}.form-actions .hint{margin-right:auto;color:#b1a6bc;font-size:9px;max-width:230px}details.advanced{border-top:1px solid var(--line);padding-top:16px;margin-top:5px}details.advanced summary{cursor:pointer;color:#8f7fa2;font-size:11px;margin-bottom:17px;list-style-position:inside}details.advanced[open] summary{margin-bottom:18px}.result-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:300px;padding:40px;color:#b5a9c2}.result-empty .empty-art{width:75px;height:75px;border-radius:21px;margin-bottom:20px}.result-empty .icon{width:30px;height:30px}.result-empty strong{font-size:13px;font-weight:500;color:#998aa9}.result-empty p{font-size:10px;max-width:235px;margin-top:10px;line-height:1.9}.result-card{border:1px solid var(--line);border-radius:12px;margin-bottom:16px;overflow:hidden;background:#fff}.result-card:last-child{margin-bottom:0}.result-head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#fcfbfd;border-bottom:1px solid var(--line);font-size:11px}.result-head .pill{margin-left:auto}.result-content{padding:17px;font-size:11px;overflow-wrap:anywhere}.output-text{white-space:pre-wrap;max-height:440px;overflow:auto;font-size:11px;line-height:1.9;background:#faf8fc;padding:15px;border-radius:8px;margin:0}.output-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.output-images img{display:block;width:100%;border-radius:8px;background:#f6f3fa;max-height:340px;object-fit:contain}.output-videos video{width:100%;display:block;background:#181524;border-radius:8px;margin-bottom:9px;max-height:400px}.output-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.output-links a,.output-links button{font-size:10px;color:var(--purple);background:none;padding:0}.job-error{padding:13px;background:#fff3f3;color:#bd747e;border-radius:8px;font-size:11px;line-height:1.9}.running-line{display:flex;align-items:center;gap:11px;color:#a18ab7;font-size:11px;padding:15px 0}.result-meta{font-size:9px;color:#b3a7bf;margin-top:14px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{background:white;border:1px solid #eae5f0;color:#aaa0b5;padding:7px 13px;border-radius:8px;font-size:10px;white-space:nowrap}.chip.active{background:var(--purple);border-color:var(--purple);color:white}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;flex-wrap:wrap}.search-box{position:relative;min-width:200px}.search-box>.icon{position:absolute;left:12px;top:11px;width:15px;height:15px;color:#afa4bd}.search-box input{padding-left:36px!important;min-height:37px!important;font-size:11px!important}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{overflow:hidden;position:relative}.project-card-cover{height:112px;background:linear-gradient(125deg,#f0eafb,#e5daef);position:relative;overflow:hidden;color:#b7a0cc;padding:22px}.project-card-cover:after{content:"";position:absolute;width:180px;height:180px;border:1px solid #d9cae8;border-radius:50%;top:20px;right:-30px}.project-card-cover .icon{width:35px;height:35px}.project-card-cover .eyebrow{position:absolute;right:20px;top:23px;font-size:8px;color:#a58abc}.project-card-body{padding:20px}.project-card-body h3{font-size:14px;margin-bottom:10px}.project-card-body>p{font-size:10px;line-height:1.9;color:#aaa0b5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px;white-space:pre-wrap}.project-card-meta{display:flex;justify-content:space-between;margin-top:17px;font-size:9px;color:#b8acc4}.project-card-actions{display:flex;align-items:center;gap:6px;margin-top:18px;border-top:1px solid var(--line);padding-top:15px}.project-card-actions .btn{margin-right:auto}.empty-state{padding:65px 20px;display:flex;flex-direction:column;align-items:center;text-align:center}.empty-state>.empty-art{width:70px;height:70px;border-radius:20px;margin-bottom:20px}.empty-state h2{font-size:17px;color:#9283a1}.empty-state p{font-size:11px;color:#b0a3bd;margin:11px 0 22px;max-width:360px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.template-card{padding:22px;display:flex;flex-direction:column;min-height:235px}.template-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.template-icon{display:flex;align-items:center;justify-content:center;width:33px;height:33px;background:#f2edf9;color:#b19aca;border-radius:10px}.template-icon .icon{width:17px}.template-card h3{font-size:12px;line-height:1.8;min-height:42px}.template-snippet{font-size:9px;color:#b2a5bf;line-height:1.9;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:10px 0 20px;white-space:pre-wrap;word-break:break-all}.template-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;border-top:1px solid var(--line);padding-top:13px}.template-card-footer span{font-size:8px;color:#beb1ca}.template-card-footer .text-btn{font-size:10px}.template-card-footer .row{gap:10px}.jobs-list{display:flex;flex-direction:column;gap:17px}.job-full{padding:20px 23px}.job-full-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.job-full-title{display:flex;align-items:center;gap:12px}.job-full-title .stat-icon{width:34px;height:34px;border-radius:9px}.job-full-title .icon{width:17px}.job-full-title h3{font-size:12px}.job-full-title p{font-size:9px;color:#b2a5bf;margin-top:3px}.job-full>.job-preview{font-size:10px;color:#aaa0b4;margin-top:15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.job-full details{border-top:1px solid var(--line);margin-top:15px;padding-top:12px}.job-full summary{cursor:pointer;font-size:10px;color:#9e8ab6}.job-full .result-content{padding:16px 0 0}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.settings-main{display:flex;flex-direction:column;gap:22px}.provider-row{display:flex;gap:12px;padding:18px 0;border-top:1px solid var(--line);align-items:center}.provider-row:first-child{border-top:0;padding-top:0}.provider-row:last-child{padding-bottom:0}.provider-info{min-width:0;flex:1}.provider-info h3{font-size:12px}.provider-info p{font-size:9px;color:#b1a3bf;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:350px}.provider-row .row{gap:3px}.binding-row{display:grid;grid-template-columns:1fr 1.25fr;gap:15px;align-items:center;border-bottom:1px solid #f4f0f7;padding:10px 0}.binding-row:last-child{border-bottom:0}.binding-label{display:flex;align-items:center;gap:10px;font-size:11px;color:#857193}.binding-label .icon{width:15px;color:#b49acb}.binding-row select{padding:8px 10px;min-height:35px;font-size:10px}.settings-aside .panel{padding:22px}.settings-aside h3{font-size:12px;color:#887497}.settings-aside p{font-size:10px;color:#b09fbe;line-height:2;margin-top:11px}.settings-aside code{font-size:9px;display:block;margin:10px 0;padding:9px;background:#f7f3fb;color:#9c88b0;word-break:break-all;border-radius:6px}.settings-aside ul{font-size:10px;color:#b09fbe;line-height:2.2;padding-left:17px}.profile-meta{padding:15px;background:#faf7fd;border-radius:10px;margin:16px 0;font-size:10px;color:#ad9cbb}.profile-meta strong{color:#9278aa;display:block;margin-bottom:5px}.divider{height:1px;background:var(--line);margin:20px 0}
.modal-overlay{position:fixed;inset:0;z-index:100;background:#15172c66;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:520px;max-width:100%;max-height:90vh;background:white;border:1px solid #eee9f7;border-radius:20px;box-shadow:0 25px 100px #12122d33;display:flex;flex-direction:column;outline:none}.modal.wide{width:790px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px 17px;border-bottom:1px solid var(--line);flex:none}.modal-header h2{font-size:16px}.modal-body{padding:24px 26px;overflow:auto}.modal-footer{padding:17px 26px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;flex:none}.modal-description{font-size:11px;color:#a58eb8;margin-bottom:22px}.modal textarea.template-editor{min-height:340px;line-height:1.9;font-size:11px}.confirm-message{font-size:13px;color:#a28bb5;line-height:2}.modal .form-actions{margin-top:24px}.modal-body .field small{color:#b09bbf}.toast{position:relative;display:flex;align-items:center;gap:12px;max-width:440px;background:white;padding:15px 20px;border:1px solid #e9e2f3;box-shadow:0 8px 40px #34204e1c;border-radius:12px;color:#9381a7;font-size:12px;margin-top:10px;animation:toast-in .2s ease}.toast .icon{color:#9e82c6;width:19px}.toast.error .icon{color:#ce8490}.toast .icon-btn{margin-left:auto;width:22px;height:22px}#toast-root{position:fixed;bottom:25px;right:25px;z-index:150;pointer-events:none}#toast-root>*{pointer-events:auto}@keyframes toast-in{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fbf9fd}.auth-story{background:var(--navy);padding:50px 65px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story .brand{padding:0}.auth-copy{margin:auto 0;position:relative;z-index:1}.auth-copy .eyebrow{color:#9382ba;margin-bottom:26px}.auth-copy h1{font-size:43px;line-height:1.75;color:#eae3f6;font-weight:600}.auth-copy h1 em{font-style:normal;color:#af96e6}.auth-copy p{color:#74758e;font-size:12px;margin-top:28px;max-width:360px;line-height:2.2}.auth-orbits{position:absolute;right:-170px;bottom:-210px;width:550px;height:550px;border:1px solid #37364e;border-radius:50%}.auth-orbits:before,.auth-orbits:after{position:absolute;content:"";inset:35px;border:1px solid #323249;border-radius:50%}.auth-orbits:after{inset:75px}.auth-story-footer{color:#50546f;font-size:10px;letter-spacing:3px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:50px}.auth-card{width:345px;max-width:100%}.auth-card .eyebrow{color:#b3a0ca;font-size:9px;margin-bottom:15px}.auth-card h2{font-size:25px;color:#78618f;letter-spacing:.5px}.auth-card>p{font-size:11px;color:#b3a3c0;margin:13px 0 33px;line-height:2}.auth-card .btn{width:100%;margin-top:13px;font-size:12px;padding:13px}.auth-footnote{font-size:9px;color:#c3b4cf;line-height:2;margin-top:24px;text-align:center}.auth-error{font-size:11px;color:#c98491;margin:14px 0 0;min-height:20px}.checkbox-row{display:flex;gap:9px;align-items:center;font-size:11px;color:#a48cb8}.checkbox-row input{width:16px;height:16px;accent-color:var(--purple)}.sidebar-backdrop{display:none}
@media(min-width:1600px){.content{padding-top:42px}.hero{min-height:295px}.hero-copy{padding:40px}.hero-art{right:30px}.stats{margin-top:25px}.stat{padding:23px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 300px}.workflow-item{min-height:155px;padding:24px}.hero h1{font-size:35px}}
@media(max-width:1180px){.app-shell{grid-template-columns:207px minmax(0,1fr)}.sidebar{width:207px;padding-left:16px;padding-right:16px}.topbar{padding:0 28px;height:78px}.content{padding:27px 28px 40px}.brand-name{font-size:18px}.hero-copy{padding:30px}.hero h1{font-size:27px}.hero-art{right:-30px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.stat{padding:17px 14px;gap:10px}.stat-icon{width:34px;height:34px}.stat strong{font-size:20px}.stat em{display:none}.workflow{gap:8px}.workflow-item{padding:15px 11px}.workflow-item p{font-size:7px}.template-grid,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-aside .stack{display:contents}.studio-layout{grid-template-columns:minmax(0,1fr) 320px;gap:17px}.panel{padding:21px}.provider-info p{max-width:290px}}
@media(max-width:960px){.dashboard-grid{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dashboard-side .section-heading{display:none}.inspiration{min-height:170px}.quick-note{margin-top:0;align-self:stretch}.hero-art{opacity:.75;right:-75px}.hero-copy{max-width:74%}.hero h1{font-size:25px}.hero-actions{gap:14px}.stats{gap:10px}.stat{padding:16px 12px;gap:9px}.stat-icon{width:28px;height:30px;border-radius:8px}.stat-icon .icon{width:16px}.stat strong{font-size:18px}.stat span{font-size:8px}.studio-layout{grid-template-columns:1fr}.studio-results{order:2}.auth-story{padding:40px}.auth-copy h1{font-size:32px}.auth-panel{padding:35px}}
@media(max-width:720px){.app-shell{display:block}.sidebar{transform:translateX(-100%);width:232px;transition:transform .2s}.sidebar.is-open{transform:translateX(0)}.sidebar-backdrop.is-open{display:block;position:fixed;inset:0;z-index:25;background:#12192d66;backdrop-filter:blur(2px)}.main-shell{width:100%}.topbar{height:65px;padding:0 20px}.mobile-menu{display:flex;margin-right:12px}.breadcrumb{font-size:10px;gap:7px}.topbar .row{gap:0}.topbar-right{gap:12px}.topbar-right .today{display:none}.header-status{font-size:9px}.content{padding:24px 20px 35px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:21px}.page-heading p{font-size:10px}.page-heading>.btn{font-size:10px;padding:9px 12px;flex:none}.hero{min-height:270px}.hero-copy{padding:28px 25px;max-width:100%}.hero-label{font-size:8px}.hero h1{font-size:28px}.hero p{font-size:9px;max-width:215px;line-height:2}.hero-art{opacity:.2;right:-60px;min-width:230px}.hero-actions{gap:16px;margin-top:22px}.hero-actions .btn{font-size:10px}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.stat{padding:18px}.stat-icon{width:35px;height:35px}.stat strong{font-size:23px}.stat span{font-size:9px}.workflow{gap:10px;grid-template-columns:repeat(2,1fr)}.workflow-item{padding:19px;min-height:135px}.workflow-item strong{font-size:12px}.workflow-item p{font-size:9px}.step-num{font-size:11px;top:19px;right:18px}.workflow-icon{width:33px;height:33px}.dashboard-side{grid-template-columns:1fr}.inspiration{min-height:185px}.inspiration h3{font-size:19px}.inspiration p{max-width:260px}.quick-note{min-height:100px}.dashboard-footer{font-size:7px}.template-grid,.project-grid{grid-template-columns:1fr}.template-card{min-height:215px}.template-card h3{font-size:13px;min-height:0}.template-snippet{font-size:10px}.toolbar{gap:14px}.chips{gap:6px}.chip{font-size:9px;padding:6px 10px}.search-box{width:100%;min-width:0}.panel{padding:20px}.form-grid{grid-template-columns:1fr}.studio-layout{gap:20px}.form-actions{flex-wrap:wrap}.form-actions .hint{max-width:none;width:100%;margin-bottom:5px}.settings-aside{display:flex;flex-direction:column;gap:18px}.provider-row{flex-wrap:wrap}.provider-info p{max-width:220px}.provider-row>.row{margin-left:auto}.binding-row{grid-template-columns:1fr 1.2fr;gap:8px}.binding-label{font-size:10px;gap:7px}.binding-row select{font-size:10px}.modal-overlay{padding:14px}.modal{max-height:94vh;border-radius:15px}.modal-header{padding:18px 20px 14px}.modal-body{padding:21px 20px}.modal-footer{padding:15px 20px}.modal textarea.template-editor{min-height:310px}.auth-screen{grid-template-columns:1fr}.auth-story{padding:27px 30px;min-height:245px}.auth-story .brand-mark{height:29px;width:29px;font-size:16px;border-radius:8px}.auth-story .brand-name{font-size:16px}.auth-story .brand-name small{font-size:7px;margin-top:4px}.auth-copy{margin-top:28px}.auth-copy .eyebrow{font-size:8px;margin-bottom:6px}.auth-copy h1{font-size:25px;line-height:1.6}.auth-copy h1 br{display:none}.auth-copy p{font-size:9px;max-width:280px;margin-top:10px}.auth-story-footer{display:none}.auth-panel{padding:35px 30px 45px}.auth-card{width:100%}.auth-card h2{font-size:23px}.auth-card>p{margin-bottom:25px}.auth-card .eyebrow{display:none}.auth-orbits{width:330px;height:330px;right:-130px;bottom:-160px}#toast-root{bottom:15px;right:15px;left:15px}.toast{max-width:none;font-size:11px;padding:13px 15px}.job-full{padding:18px}.job-full-header{align-items:flex-start}.job-full-title h3{font-size:11px}.job-full-title p{font-size:8px}.recent-empty{padding:25px 0}.recent-empty p{font-size:8px}.recent-list{padding:0 17px}.output-images{grid-template-columns:1fr}.settings-aside .stack{display:flex}.settings-aside .panel{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.workspace-identity{min-width:0;flex:1;overflow:hidden}.user-mini .workspace-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.user-mini .workspace-identity small{font-size:8px;letter-spacing:.7px;white-space:nowrap}.user-mini .logout{flex:none}
