:root{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#4e3828;background:#fcf9f4;font-synthesis:none;font-size:16px;--purple:#b06c3b;--muted:#867365;--line:#efe9e0}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 0 5%,#f9f3e9,transparent 45%),radial-gradient(ellipse at 100% 30%,#f9f3eb,transparent 50%),#fcfaf7;background-attachment:fixed}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.48}button,a,input,textarea{transition:background .15s,box-shadow .15s,border-color .15s}button:not(:disabled):hover,a:hover{filter:brightness(.97)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e2c293;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}
.topbar{min-height:88px;display:flex;align-items:center;justify-content:space-between;padding:18px 28px;gap:20px;background:#fffffff2;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(20px)}.brand{display:flex;gap:12px;align-items:center;white-space:nowrap}.brand-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;color:white;background:linear-gradient(135deg,#d3a17d,#b06c3b);box-shadow:0 6px 18px #b06c3b2b}.brand-icon svg{width:28px;height:28px}.brand strong{display:block;font-size:22px;font-weight:750}.brand em{font-style:normal;font-size:12px;vertical-align:middle;background:#fbf7f0;color:#9e6f4c;border-radius:6px;padding:3px 6px;margin-left:3px}.brand small{display:block;color:var(--muted);font-size:13px;margin-top:5px}.live-status{display:flex;gap:8px;margin-right:auto;white-space:nowrap}.live-status>span{display:flex;align-items:center;gap:8px;font-size:13px;background:#fcfaf6;border:1px solid var(--line);padding:9px 12px;border-radius:24px}.live-status b{font-size:15px}.status-dot{width:7px;height:7px;background:#bca899;border-radius:50%}.status-dot.busy{background:#b06c3b;animation:pulse 1.5s infinite}.toolbar{display:flex;gap:7px;flex-wrap:wrap}.pill{border:1px solid transparent;display:inline-flex;justify-content:center;align-items:center;gap:7px;border-radius:10px;padding:11px 13px;white-space:nowrap;font-size:14px;font-weight:600;min-height:42px}.pill svg{width:17px;height:17px}.mint{background:#eaf8f2;color:#21795e}.blue{background:#faf5ee;color:#b06c3b}.lavender{background:#faf5ed;color:#a66d44}.coral{background:#fff0ee;color:#c35a4f}.gray{background:#f7f4f0;color:#7a6556}
main{margin-left:438px;padding:26px 32px 40px;max-width:2200px;min-height:calc(100vh - 88px)}.notice{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff9ee;border:1px solid #eed6b5;border-radius:12px;padding:14px 16px;color:#946023;font-size:14px;line-height:1.7}.notice>div{display:flex;align-items:center;gap:8px}.notice strong{white-space:nowrap}.notice svg{width:18px;height:18px}.notice label{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;cursor:pointer}input[type=checkbox]{accent-color:var(--purple);width:18px;height:18px;cursor:pointer}
.composer-wrap{position:fixed;top:114px;bottom:24px;left:24px;width:390px;z-index:15;overflow:auto;padding:2px 2px 8px;scrollbar-width:thin}.composer{border:1px solid #f2ece2;background:#fffffff5;border-radius:22px;padding:24px;box-shadow:0 10px 30px #7850330b}.composer-heading h2{font-size:25px;letter-spacing:.3px;margin:7px 0 8px}.composer-heading p{font-size:14px;color:var(--muted);margin:0 0 25px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.8px;color:#877263}.composer-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.chip{display:flex;align-items:center;gap:8px;border:1px solid #eee9e1;border-radius:11px;padding:13px 12px;white-space:normal;text-align:left;font-size:14px;font-weight:600;min-height:49px;line-height:1.5}.chip[data-dialog=model],.chip[data-dialog=size],#upload-btn{grid-column:1/-1}.chip .chevron{width:16px;height:16px;margin-left:auto}.chip>svg{width:18px;height:18px}.purple{background:#fcf9f4;color:#a86d43}.sky{background:#fbf7f1;color:#aa6d40}.cyan{background:#fbf6ef;color:#84512c}.amber{background:#fff8ec;color:#a47026}#upload-btn{background:#fdfcfa;border:1px dashed #dcd3c6;color:#817369;justify-content:center}.prompt-row{border:1px solid #ece7df;background:#fdfcfa;border-radius:13px;display:flex;padding:5px;gap:12px}.prompt-row:focus-within{border-color:#e5c99e;box-shadow:0 0 0 3px #debc880d}.prompt-row textarea{width:100%;background:transparent;border:0;resize:vertical;padding:11px 10px;color:#634b39;line-height:1.8;min-height:180px;max-height:320px;font-size:16px;outline:none}.prompt-row textarea:focus-visible{outline:none}.prompt-row textarea::placeholder{color:#877264;font-size:14px}.send-btn{border:0;color:white;display:flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(120deg,#d3a07b,#b06c3b);border-radius:13px;width:100%;min-height:54px;box-shadow:0 5px 16px #b06c3b2a;font-size:17px;font-weight:600;margin-top:17px}.send-btn>svg:last-child{margin-left:auto}.send-btn>svg:first-child{margin-right:auto}.send-btn svg{width:22px;height:22px;margin:0 14px}.composer-footer{display:flex;justify-content:space-between;gap:12px;margin-top:16px;color:#857366;font-size:12px;line-height:1.6}.composer-footer>span:first-child{display:flex;align-items:center;gap:6px}.composer-footer i{width:6px;height:6px;border-radius:50%;background:#83ac92}.powered{text-align:center;color:#867365;font-size:11px;letter-spacing:.8px;margin:20px 0 0}.powered span{margin:0 4px}.references{display:flex;gap:12px;overflow:auto;margin:0 0 20px;padding:8px 2px}.reference{position:relative;flex-shrink:0;width:88px;height:88px}.reference img{width:100%;height:100%;border-radius:10px;object-fit:cover;border:1px solid #f0ebe4}.reference button{position:absolute;right:-4px;top:-5px;background:#fff;border:1px solid #e7e1d9;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;padding:3px}.reference svg{width:14px;height:14px}.reference small{position:absolute;bottom:4px;left:5px;background:#503d30aa;color:white;font-size:11px;padding:2px 5px;border-radius:4px}
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 250px);text-align:center;padding:40px 15px}.empty-art{position:relative;width:200px;height:170px;margin:0 auto 25px;display:grid;place-items:center}.empty-icon{display:grid;place-items:center;width:110px;height:110px;background:#ffffffb8;border:1px solid white;border-radius:30px;box-shadow:0 12px 40px #91715914;color:#e0c6a0;transform:rotate(-5deg)}.empty-icon svg{width:48px;height:48px;transform:rotate(5deg)}.orbit{position:absolute;border:1px solid #dbc6a63b;width:160px;height:140px;transform:rotate(-28deg);border-radius:50%}.orbit-two{width:210px;height:180px;transform:rotate(30deg);border-style:dashed}.tiny-star{position:absolute;color:#e6cba3}.star-one{top:13px;right:8px;font-size:26px}.star-two{bottom:14px;left:7px;font-size:24px}.empty-state h1{font-size:32px;margin:16px 0;font-weight:650}.empty-state p{font-size:16px;color:var(--muted);margin:0;line-height:1.9}.inspiration{display:flex;justify-content:center;gap:10px;margin-top:30px;flex-wrap:wrap}.inspiration button{font-size:14px;color:#837368;background:#ffffffaa;border:1px solid #f0e9df;padding:12px 16px;border-radius:10px}.inspiration span{color:#887262;padding-left:12px}
.gallery-section{margin-top:30px}.gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px;gap:16px}.gallery-heading h1{font-size:28px;font-weight:650;margin:8px 0 0}.gallery-heading h1 span{color:#887262;font-size:17px;margin-left:8px;font-weight:400}.gallery-heading>span{font-size:13px;color:#867365}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,350px),1fr));gap:24px}.gallery:has(.task-card:only-child){grid-template-columns:minmax(0,680px)}.task-card{background:#fff;border:1px solid #efebe4;border-radius:20px;overflow:hidden;box-shadow:0 8px 25px #87726409;position:relative}.task-card.selected{outline:2px solid #e4c89e}.card-images{display:grid;gap:4px;aspect-ratio:1;overflow:hidden;background:#f7f3ed;grid-template-columns:repeat(2,1fr)}.card-images.single{grid-template-columns:1fr}.image-button{border:0;background:transparent;overflow:hidden;padding:0;min-height:0;position:relative}.image-button img{width:100%;height:100%;object-fit:contain;display:block}.more-images{position:absolute;inset:0;background:#53403388;color:#fff;display:grid;place-items:center;font-size:30px}.card-check{position:absolute;top:15px;left:15px;z-index:2;background:#ffffffe6;border:1px solid #fff;border-radius:9px;width:32px;height:32px;display:grid;place-items:center}.card-check input{margin:0}.card-info{padding:20px}.card-meta{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#847367;margin-bottom:12px;gap:10px;flex-wrap:wrap}.model-tag{color:#9a6f50;background:#fcf8f3;border-radius:6px;padding:5px 8px;font-size:12px}.card-prompt{font-size:16px;line-height:1.8;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#786353;overflow-wrap:anywhere}.card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f4f1ec;padding-top:13px;gap:10px;flex-wrap:wrap}.card-detail{font-size:13px;color:#857365}.card-actions{display:flex;gap:6px}.card-actions .icon-btn{width:36px;height:36px;color:#927158}.card-actions svg{width:18px;height:18px}.pending-art{min-height:330px;aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#fbf7f1,#fdfbf8);gap:17px;padding:32px;text-align:center}.pending-art p{font-size:19px;color:#8e715d;margin:0}.pending-art small{color:#81736a;font-size:14px;line-height:1.9;max-width:420px}.spinner{width:42px;height:42px;border:3px solid #f5ead9;border-top-color:#d6a785;border-radius:50%;animation:spin 1s linear infinite}.error-art{background:#fff8f3}.error-art svg{color:#cc946b;width:32px;height:32px}.error-art p{color:#9a7049}.error-art small{color:#9b7d66;overflow-wrap:anywhere}.error-art .pill{margin-top:5px;color:#9f6f4b}.error-art .pill svg{width:19px;height:19px;color:inherit}.success-dot{color:#63a681}.request-details{font-size:12px;color:#847366;border-top:1px solid #f4f1ec;margin-top:12px;padding-top:12px;overflow-wrap:anywhere}.request-details summary{cursor:pointer}.request-details p{line-height:1.7}
dialog{color:inherit}dialog::backdrop{background:#4e372640;backdrop-filter:blur(5px)}.modal{border:1px solid #fff;border-radius:24px;padding:32px;width:660px;max-width:calc(100vw - 32px);max-height:90vh;box-shadow:0 30px 100px #5742332b;background:#fff;overflow-y:auto}.modal-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:25px}.modal h2{font-size:25px;margin:0 0 10px;font-weight:650}.modal-head p{margin:0;color:var(--muted);font-size:15px;line-height:1.7}.icon-btn{border:0;background:transparent;border-radius:9px;width:36px;height:36px;display:inline-grid;place-items:center;padding:7px;color:#847366;flex-shrink:0}.icon-btn:hover{background:#faf6f0}.dialog-icon{display:grid;place-items:center;background:#fbf7f0;color:#d39f7a;border-radius:14px;width:48px;height:48px;margin-bottom:18px}.dialog-icon svg{width:24px;height:24px}.field-label{font-size:14px;font-weight:600;display:block;margin-bottom:10px}.key-field{display:flex;border:1px solid #ece7df;background:#fdfbf8;border-radius:12px;padding:8px}.key-field input{width:100%;border:0;outline:none;background:transparent;padding:8px;font-family:monospace;font-size:16px}.field-help{font-size:14px;color:#837367;line-height:1.8;margin:12px 0 20px;white-space:pre-line}.connection-info{background:#fcfaf6;border-radius:12px;padding:20px;display:grid;grid-template-columns:auto auto;gap:15px;font-size:14px;margin:25px 0}.connection-info>span{color:#867365}.connection-info>strong,.connection-info>code{text-align:right;color:#887161;font-size:14px;font-weight:500}.primary-wide{border:0;display:flex;justify-content:center;align-items:center;gap:20px;width:100%;background:linear-gradient(110deg,#d7a988,#b06c3b);color:white;padding:16px;border-radius:12px;font-size:16px;min-height:51px}.text-btn{background:transparent;border:0;font-size:14px;color:#887263;padding:15px;display:block;margin:5px auto 0}.option-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.option-item{border:1px solid #efe9e1;background:#fefcfa;border-radius:12px;text-align:left;padding:19px;font-size:16px;position:relative}.option-item.active{border-color:#e0c08f;background:#fcf8f3;color:#ab6d40;box-shadow:0 0 0 1px #e9d1ae2c}.option-item.active:after{content:'✓';position:absolute;right:10px;top:9px;font-size:14px}.option-item small{display:block;font-size:13px;color:#857366;margin-top:8px;line-height:1.6}.option-grid.models{grid-template-columns:1fr}.models .option-item{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.models .option-item small{margin-top:0;margin-left:auto;margin-right:10px}.models svg{color:#cea78b}.segmented{display:flex;background:#f8f5f0;border-radius:12px;padding:5px;gap:5px;margin-bottom:22px}.segmented button{flex:1;border:0;border-radius:9px;background:transparent;padding:13px;font-size:16px;color:#837368}.segmented button.active{background:#fff;color:#a86d43;box-shadow:0 2px 7px #5b4b400d}.ratio-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;margin-bottom:22px}.ratio-grid .option-item{text-align:center;padding:22px 8px 18px;display:flex;flex-direction:column;align-items:center;gap:13px;font-size:15px}.ratio-shape{display:block;border:1.8px solid #bda593;border-radius:3px}.ratio-grid small{margin:0;font-size:14px}.size-description{color:#7e746c;font-size:14px;line-height:1.8;text-align:center;margin-bottom:22px}.count-grid{grid-template-columns:repeat(5,1fr)}.count-grid .option-item{text-align:center}.original-size{display:flex;align-items:center;gap:14px;width:100%;margin-bottom:20px}.original-size>svg{color:#cea78b}.original-size small{line-height:1.6}.guide-step{display:flex;gap:20px;margin:25px 0}.guide-step>span{color:#e6cca4;font-size:26px;font-weight:300}.guide-step h3{font-size:17px;margin:2px 0 8px;font-weight:600}.guide-step p{color:#847366;font-size:15px;line-height:1.9;margin:0}.guide-note,.recovery-note{border-radius:12px;background:#fbf7f2;padding:18px;color:#897261;line-height:1.9;font-size:14px}.confirm-actions{display:flex;gap:10px;justify-content:flex-end}.recovery-divider{text-align:center;color:#817369;font-size:13px;margin:22px 0}.recovery-input{width:100%;padding:14px;resize:vertical;border:1px solid #ece7df;border-radius:12px;font-size:14px;line-height:1.7;margin-bottom:20px}.recovery-input::placeholder{color:#857366}#recover-file{font-size:14px;width:100%}#recover-feedback{color:#977054}
.preview-modal{border:1px solid #ffffff50;border-radius:22px;background:#fdfcfa;width:min(1400px,96vw);padding:20px;overflow:auto;max-height:96vh;box-shadow:0 25px 100px #3b2c2140}.preview-stage{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:50vh}.preview-stage img{max-height:77vh;max-width:calc(100% - 105px);object-fit:contain;border-radius:12px;margin:auto}.preview-nav{border:0;background:#f8f4ed;border-radius:50%;width:40px;height:40px;color:#947057;font-size:28px;flex-shrink:0}.preview-close{position:absolute;right:25px;top:25px;z-index:2;background:#fffffff0}.preview-caption{padding:12px 5px 0}.preview-caption p{font-size:15px;color:#837367;line-height:1.6;max-height:80px;overflow:auto;margin:10px}.preview-caption>div{display:flex;justify-content:space-between;align-items:center;padding:0 10px;font-size:14px;color:#837367;gap:12px}.toast{position:fixed;z-index:100;top:100px;left:50%;transform:translate(-50%,-10px);padding:16px 24px;border:1px solid #efe6d8;border-radius:12px;background:#fff;color:#867060;font-size:15px;box-shadow:0 8px 40px #6551431a;opacity:0;pointer-events:none;max-width:90vw;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.drop-overlay{position:fixed;inset:12px;z-index:90;background:#fcf9f5f2;border:2px dashed #e6cca6;border-radius:25px;display:grid;place-items:center;pointer-events:none;backdrop-filter:blur(5px);text-align:center}.drop-overlay svg{width:55px;height:55px;color:#e2c599}.drop-overlay h2{font-size:27px;color:#a56e45}.drop-overlay p{font-size:16px;color:#bca595}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{box-shadow:0 0 0 5px #debc8820}}
@media(max-width:1250px){.live-status{display:none}.topbar{padding:18px 24px}.toolbar .pill{padding:10px}.toolbar .pill:nth-child(4) span{display:none}main{padding:24px}.notice label{display:none}.notice{font-size:13px}.gallery-heading>span{display:none}}
@media(max-width:980px){.topbar{position:relative;flex-wrap:wrap}.toolbar{margin-left:auto}.brand strong{font-size:20px}.composer-wrap{position:relative;top:auto;bottom:auto;left:auto;width:auto;max-width:660px;margin:20px auto;padding:0 20px;overflow:visible}main{margin:0;padding:24px 20px;min-height:0}.empty-state{min-height:380px}.empty-state h1{font-size:28px}.empty-art{height:135px;transform:scale(.85);margin-bottom:10px}.composer-heading{display:none}.composer-options{grid-template-columns:1fr 1fr}.chip[data-dialog=model],.chip[data-dialog=size]{grid-column:auto}.composer{padding:24px}.gallery:has(.task-card:only-child){grid-template-columns:minmax(0,1fr)}.pending-art{min-height:280px;aspect-ratio:auto}.empty-state{padding-top:20px}.gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr))}}
@media(max-width:600px){.topbar{padding:16px;gap:16px}.toolbar{width:100%;justify-content:space-between;gap:5px}.toolbar .pill{padding:10px}.toolbar .pill span{display:none}.toolbar .pill:last-child span{display:inline}.notice{font-size:13px;padding:12px}.notice strong{display:none}.notice>div{align-items:flex-start}.notice svg{margin-top:3px}.empty-state h1{font-size:25px}.empty-state p{font-size:14px}.inspiration button{font-size:13px;padding:11px}.eyebrow{font-size:10px}.gallery-heading h1{font-size:25px}.gallery{grid-template-columns:1fr}.composer-wrap{padding:0 14px}.composer{padding:20px}.chip{font-size:13px;padding:11px 9px;gap:6px}.chip>svg{width:16px;height:16px}.composer-footer{font-size:11px}.modal{padding:23px;border-radius:20px}.modal h2{font-size:22px}.modal-head p{font-size:14px}.ratio-grid{grid-template-columns:repeat(3,1fr)}.ratio-grid .option-item{padding:18px 8px}.count-grid{grid-template-columns:repeat(3,1fr)}.models .option-item small{margin-left:32px;width:100%}.connection-info{font-size:12px;padding:15px}.connection-info>code{font-size:12px}.option-item{font-size:15px}.preview-stage{gap:7px}.preview-stage img{max-width:calc(100% - 70px)}.preview-nav{width:28px;height:28px;font-size:21px}.preview-modal{padding:12px}.preview-close{right:16px;top:16px}.preview-caption>div{font-size:12px}.toast{top:25px;font-size:14px}.card-info{padding:18px}.pending-art{padding:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* 1.2: the workspace has its own display size, independent of browser zoom. */
:root{--ui-scale:1.5;--purple:#b06c3b;--muted:#867365;color:#4b3729;background:#fbf9f5}
body{zoom:var(--ui-scale);display:grid;grid-template-columns:minmax(300px,350px) minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;background:radial-gradient(ellipse at 0 0,#f9f3e9 0,transparent 50%),#fcfaf7;min-height:calc(100vh / var(--ui-scale))}
.topbar{grid-column:1/-1;grid-row:1;min-height:82px;height:auto;padding:16px 24px;gap:16px;flex-wrap:wrap;background:#fffffff2;box-shadow:0 1px 0 #edeae5;position:sticky;top:0}
.brand strong{font-size:23px}.brand small{font-size:13px}.brand em{font-size:11px;background:#faf4eb;color:#9c6f4f}.live-status{display:flex;margin-right:auto}.live-status>span{font-size:13px;padding:8px 11px}
.toolbar{gap:7px;align-items:center;margin-left:auto}.toolbar .pill{padding:10px 12px;font-size:14px;border-radius:10px}.toolbar .pill span{display:inline}.toolbar .pill:nth-child(4) span{display:none}
.display-scale{display:flex;align-items:center;gap:8px;color:#847367;font-size:12px;margin-right:6px;white-space:nowrap}.display-scale select{border:1px solid #ebe6de;border-radius:9px;background:#fdfbf9;padding:9px 5px;color:#987053;font:inherit;font-weight:650;font-size:13px;cursor:pointer}
main{grid-column:2;grid-row:2;margin:0;padding:24px 26px 32px 16px;max-width:none;min-width:0;min-height:0}.notice{padding:12px 15px;font-size:13px;border-color:#ebdac5;background:#fff9f1;color:#9a7345;border-radius:12px}.notice label{display:none}.notice strong{display:none}.notice>div{gap:10px}
.composer-wrap{grid-column:1;grid-row:2;position:sticky;top:106px;bottom:auto;left:auto;width:auto;max-width:none;margin:24px 8px 24px 24px;padding:0;overflow:visible}
.composer{border:1px solid #eee8e0;border-radius:20px;padding:23px;box-shadow:0 8px 35px #72564208;background:#fff}.composer-heading{display:block}.composer-heading h2{font-size:26px;margin:8px 0}.composer-heading p{font-size:14px;line-height:1.8;margin-bottom:23px}.composer-heading .eyebrow{font-size:11px;letter-spacing:2px;color:#8a7260}
.composer-options{gap:10px;margin-bottom:22px;grid-template-columns:1fr 1fr}.chip{background:#fdfbf9;border:1px solid #ede8e1;border-radius:13px;color:#67574c;gap:11px;padding:13px 12px;min-height:67px;box-shadow:none;line-height:1.4;align-items:center;font-size:15px}.chip:hover{border-color:#d8c7ae;background:#fcfaf6}.chip[data-dialog=model],.chip[data-dialog=size],#upload-btn{grid-column:1/-1}
.option-symbol{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:11px;background:#f9f2e8;color:#9e6f4c}.option-symbol svg{width:19px;height:19px}.sky .option-symbol{background:#f9f2e8;color:#9f6f4c}.option-text{display:flex;flex-direction:column;gap:5px;min-width:0;font-weight:650}.option-text small{color:#7f746c;font-size:12px;font-weight:400;white-space:nowrap}.option-text>span{overflow-wrap:anywhere}.chip .chevron{transform:rotate(180deg);width:16px;height:16px;color:#877364}.chip.cyan,.chip.amber{background:#fdfbf9}.chip.cyan .option-text>span{color:#947056}.chip.amber .option-text>span{color:#ac8551}
#upload-btn{min-height:51px;border:1px dashed #dfd5c7;background:#fefdfc;color:#8b725f;font-size:14px;margin-top:3px}#upload-btn:hover{background:#fcf8f3}.field-label{font-size:14px;color:#726256}.prompt-row{background:#fefdfc;border-color:#e9e5df;border-radius:13px}.prompt-row textarea{min-height:165px;font-size:16px;line-height:1.9;padding:12px}.prompt-row textarea::placeholder{font-size:14px;line-height:1.9;color:#80746b}.send-btn{height:54px;border-radius:13px;margin-top:18px;font-size:17px;background:linear-gradient(110deg,#d5a582,#b06c3b);box-shadow:0 6px 16px #b06c3b24}.composer-footer{font-size:11px;gap:5px;color:#80746b}.powered{font-size:10px;line-height:1.9;margin:15px 0;color:#827368}
.gallery-section{margin-top:24px}.gallery-heading{margin-bottom:20px}.gallery-heading h1{font-size:28px}.gallery-heading>span{display:none}.gallery-heading .eyebrow{font-size:10px;color:#81736a}.gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:22px}.gallery:has(.task-card:only-child){grid-template-columns:minmax(0,1fr)}.task-card{border-color:#ece7e0;border-radius:19px;box-shadow:0 8px 26px #86685209;background:#fff}
.card-images.single{height:clamp(400px,calc(100vh / var(--ui-scale) - 210px),800px);aspect-ratio:auto;grid-template-columns:1fr;background:#f5f2ee}.image-button img{object-fit:contain;background:linear-gradient(130deg,#f7f5f2,#f2efea);width:100%;height:100%}.card-info{padding:20px 23px}.card-meta{font-size:13px}.model-tag{font-size:12px;background:#fbf6ef;color:#957056;padding:5px 8px}.card-prompt{font-size:16px;color:#64564c;min-height:0}.card-detail{font-size:13px;color:#837367}.card-actions .icon-btn{width:36px;height:36px}.pending-art{aspect-ratio:auto;min-height:360px;padding:35px;gap:18px;background:radial-gradient(circle at 50% 40%,#fbf7f1,#fefdfb)}.pending-art p{font-size:20px}.pending-art small{font-size:15px;line-height:1.9;color:#80746a}.error-art{background:#fffaf5}.error-art small{color:#997e62}.card-check{width:34px;height:34px}.request-details{font-size:12px;color:#827368}.card-bottom{gap:8px}.references{gap:10px}.reference{width:80px;height:80px}.reference small{font-size:10px}
.modal{width:620px;max-width:calc(100vw / var(--ui-scale) - 32px);max-height:calc(100vh / var(--ui-scale) - 32px);border:1px solid #fefdfc;border-radius:23px;padding:27px;background:#fff;box-shadow:0 32px 100px #5c392033}.modal-head{margin-bottom:23px;gap:16px}.modal h2{font-size:26px;margin:4px 0 7px}.modal-head p{font-size:14px;color:#7e746c}.modal::backdrop{background:#31211549;backdrop-filter:blur(6px)}.modal-head>.icon-btn{width:33px;height:33px;border-radius:50%;background:#f9f7f4;color:#897261}.option-title-group{display:flex;align-items:center;gap:15px}.option-title-group .eyebrow{font-size:10px;letter-spacing:1px;color:#8f715c}.option-title-group .dialog-icon{width:55px;height:55px;border-radius:17px;margin:0;color:#a66e45;background:linear-gradient(145deg,#fbf7f1,#f6efe4)}.option-title-group .dialog-icon svg{width:25px;height:25px}.options-modal{padding:27px}.options-footer{margin-top:23px;display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid #f4f0ea;padding-top:20px}.options-footer>span{font-size:13px;color:#877364;line-height:1.6}.options-footer .primary-wide{width:auto;min-width:160px;padding:13px 22px;font-size:15px;min-height:46px;border-radius:12px}.primary-wide{background:linear-gradient(110deg,#d6a785,#b06c3b);font-size:16px}
.size-preview{display:flex;align-items:center;gap:24px;background:linear-gradient(120deg,#fcfaf6,#fcf9f4);border:1px solid #f6f0e8;border-radius:17px;padding:20px 25px;margin-bottom:22px}.size-preview-canvas{display:grid;place-items:center;width:135px;height:92px;flex-shrink:0}.size-preview-canvas>span{border:1px solid #e4d2b6;border-radius:8px;display:grid;place-items:center;background:linear-gradient(140deg,#f9f2e7,#f0e6d8);box-shadow:0 7px 20px #93715718;color:#977053}.size-preview-canvas svg{width:24px;height:24px}.size-preview small{font-size:12px;color:#8d715d}.size-preview strong{display:block;font-size:26px;color:#867161;white-space:nowrap;margin:8px 0 6px;font-weight:600;letter-spacing:.5px}.size-preview strong span{color:#c3b7a5;margin:0 4px;font-size:20px}.size-preview p{font-size:13px;color:#877364;margin:0}.option-section-label{font-size:13px;font-weight:650;color:#847366;margin:20px 0 12px}.segmented{padding:5px;background:#f8f5f0;border-radius:13px;gap:5px;margin-bottom:20px}.segmented button{padding:12px;border-radius:10px;color:#bcaea4;line-height:1.6}.segmented button strong{font-size:16px;display:block;font-weight:650}.segmented button small{font-size:11px;display:block;color:inherit;opacity:.8}.segmented button.active{color:#aa6d41;background:#fff;box-shadow:0 3px 12px #94705714}.ratio-grid{grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:0}.ratio-grid .option-item{padding:15px 6px 12px;gap:7px;font-size:14px;border-radius:13px;min-width:0;background:#fefdfc}.ratio-visual{height:47px;display:grid;place-items:center;margin-bottom:3px}.ratio-shape{border:1.5px solid #cfc0a9;border-radius:4px;background:linear-gradient(135deg,#fdfbf9,#fbf7f0)}.ratio-grid strong{font-size:14px;font-weight:600;color:#877263}.ratio-grid small{font-size:11px;color:#bcada2}.ratio-grid .active{background:#fcf9f4;border-color:#e6cba2;box-shadow:0 0 0 1px #f3e8d7}.ratio-grid .active strong{color:#a96d41}.ratio-grid .active .ratio-shape{background:#f7efe3;border-color:#d6ba90}.option-item.active:after{content:'✓';font-size:12px;top:7px;right:8px;color:#d0a688}.size-description{font-size:12px;color:#bcaea4;margin:17px 0 0;line-height:1.8}.original-size{padding:14px;border-radius:13px;font-size:15px;background:#fdfbf9;margin-bottom:20px}.original-size small{font-size:12px;color:#8a7261}
.option-item{border:1px solid #efe9df;background:#fefdfc;box-shadow:none;border-radius:15px;padding:18px;color:#837367}.option-item.active{background:#fcfaf6;border-color:#dfc6a0;box-shadow:0 0 0 1px #f6ecdc;color:#9f6f4b}.option-grid.models{gap:12px}.models .option-item{display:flex;gap:17px;padding:20px;min-height:90px;flex-wrap:nowrap}.model-symbol{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#f8f2ea;color:#c4a792;flex-shrink:0}.model-symbol svg{width:24px;height:24px}.model-description{flex:1;min-width:0}.model-description strong{display:block;font-size:17px;font-weight:600;overflow-wrap:anywhere}.models .option-item small{margin:7px 0 0;font-size:13px;color:#bcaca1;width:auto}.model-badge{font-size:12px;color:#c4b6a2;background:#faf6f0;border-radius:7px;padding:6px 8px}.option-note{font-size:13px;line-height:1.8;color:#bba89b;margin:20px 0 0;text-align:center}.quality-grid{gap:12px}.quality-grid .option-item{padding:22px;min-height:175px}.quality-visual{display:flex;gap:5px;align-items:flex-end;height:43px;margin-bottom:18px}.quality-visual i{display:block;width:9px;border-radius:3px;background:#f5efe6;height:15px}.quality-visual i:nth-child(2){height:23px}.quality-visual i:nth-child(3){height:31px}.quality-visual i:nth-child(4){height:39px}.quality-visual i.lit{background:linear-gradient(#e7cda7,#c6a389)}.quality-grid strong{display:block;font-size:18px}.quality-grid strong span{margin-left:8px;font-weight:400;font-size:13px;color:#c0aea1}.quality-grid small{font-size:13px;line-height:1.8;color:#c1b6a5;margin-top:10px}.count-intro{display:flex;align-items:center;gap:20px;background:#fcf8f3;border:1px solid #f7efe3;padding:20px 26px;border-radius:17px;margin-bottom:23px;color:#987053}.count-number{font-size:58px;line-height:1;font-weight:300}.count-intro>span:last-child{font-size:18px}.count-intro small{display:block;font-size:13px;color:#c3afa0;margin-top:7px}.count-grid{gap:10px;grid-template-columns:repeat(5,1fr)}.count-grid .option-item{padding:17px 8px}.count-grid strong{font-size:24px;font-weight:500}.count-grid small{font-size:12px;margin-top:7px;color:#c0ab9b}
.settings-modal .dialog-icon{background:#faf4eb;color:#caa386}.connection-info{background:#fdfbf7;border:1px solid #f4efe8;color:#887262}.guide-note,.recovery-note{background:#fcf8f3;color:#90715b}.key-field{background:#fefdfc;border-color:#ece6dd}.field-help{font-size:13px;color:#837368}.guide-step h3{font-size:17px;color:#837368}.guide-step p{font-size:14px;color:#877264}.icon-btn:hover{background:#fbf7f1}.preview-modal{width:calc(100vw / var(--ui-scale) - 36px);max-width:1400px;max-height:calc(100vh / var(--ui-scale) - 32px);padding:18px;border-radius:20px}.preview-stage{min-height:0}.preview-stage img{max-height:calc(100vh / var(--ui-scale) - 165px);max-width:calc(100% - 96px)}.preview-caption p{font-size:14px}.preview-caption>div{font-size:13px}.preview-nav{width:36px;height:36px}.toast{font-size:15px;top:95px;background:#fff;max-width:calc(100vw / var(--ui-scale) - 32px)}
.empty-state{min-height:calc(100vh / var(--ui-scale) - 230px);padding:40px 20px}.empty-state h1{font-size:28px}.empty-state p{font-size:15px;line-height:1.9}
body.compact-layout{grid-template-columns:minmax(0,1fr)}body.compact-layout .topbar{padding:15px 18px;position:relative}body.compact-layout .live-status{display:none}body.compact-layout .toolbar{width:100%;margin:0;gap:6px;justify-content:flex-start}body.compact-layout .toolbar .pill{padding:10px}body.compact-layout .toolbar .pill span{display:none}body.compact-layout .toolbar #settings-btn span{display:inline}body.compact-layout .display-scale{margin-right:auto}body.compact-layout .composer-wrap{position:relative;top:auto;grid-column:1;grid-row:2;margin:20px auto;width:calc(100% - 32px);max-width:600px}body.compact-layout main{grid-column:1;grid-row:3;padding:8px 16px 30px}body.compact-layout .composer-heading{display:none}body.compact-layout .composer-options{grid-template-columns:1fr 1fr}body.compact-layout .chip[data-dialog=model],body.compact-layout .chip[data-dialog=size]{grid-column:auto}body.compact-layout .chip{font-size:13px;padding:10px;gap:8px}body.compact-layout .option-symbol{width:30px;height:30px}body.compact-layout .option-text small{font-size:11px}body.compact-layout .card-images.single{height:500px;max-height:calc(100vh / var(--ui-scale) - 120px);min-height:300px}body.compact-layout .gallery{grid-template-columns:minmax(0,1fr)}body.compact-layout .ratio-grid{grid-template-columns:repeat(3,1fr)}body.compact-layout .size-preview{padding:17px;gap:12px}body.compact-layout .size-preview-canvas{width:110px}body.compact-layout .size-preview strong{font-size:20px}body.compact-layout .options-modal{padding:22px}body.compact-layout .quality-grid .option-item{padding:15px}body.compact-layout .models .option-item{padding:16px;gap:12px}body.compact-layout .model-badge{display:none}body.compact-layout .model-description strong{font-size:15px}body.compact-layout .count-grid{grid-template-columns:repeat(5,1fr)}body.compact-layout .option-title-group .dialog-icon{display:none}body.compact-layout .options-footer{gap:10px}body.compact-layout .options-footer .primary-wide{min-width:140px}body.compact-layout .powered{display:none}

body.medium-layout .live-status{display:none}body.medium-layout .toolbar .pill span{display:none}body.medium-layout .toolbar #settings-btn span{display:inline}body.medium-layout .toolbar{gap:6px}.toolbar .pill{flex-shrink:0}
.composer{max-height:calc(100vh / var(--ui-scale) - 118px);overflow:auto;scrollbar-width:thin}.composer-wrap{top:100px}.composer-heading h2{font-size:24px;margin:6px 0 17px}.composer-heading p{display:none}.composer-options{gap:9px;margin-bottom:18px}.chip{min-height:57px;padding:10px 12px}.option-symbol{width:32px;height:32px}.option-text{gap:4px}.option-text small{font-size:11px}#upload-btn{min-height:46px}.prompt-row textarea{min-height:130px;max-height:260px;padding:8px 10px}.composer-footer{margin-top:12px}.powered{display:none}
.card-images.single{height:clamp(360px,calc(100vh / var(--ui-scale) - 300px),700px)}.pending-art{min-height:320px}
.options-modal[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;max-height:calc(100vh / var(--ui-scale) - 32px)}.options-modal .modal-head{margin-bottom:19px}.options-modal #options-content{overflow:auto;min-height:0;max-height:calc(100vh / var(--ui-scale) - 230px);scrollbar-width:thin;padding:1px 3px 1px 1px}.options-footer{margin-top:17px;padding-top:16px}.size-preview{padding:14px 20px;margin-bottom:17px;gap:18px}.size-preview-canvas{width:125px;height:75px}.size-preview strong{font-size:25px;margin:6px 0}.size-preview-canvas>span{max-height:70px;max-width:100px}.option-section-label{margin:16px 0 10px}.segmented button{padding:9px}.segmented{margin-bottom:16px}.ratio-grid .option-item{padding:11px 6px 10px;gap:6px}.ratio-visual{height:42px;margin-bottom:0}.size-description{margin-top:13px}.original-size{padding:12px;margin-bottom:15px}.original-size small{margin-top:5px}.options-modal .option-item:focus-visible{outline:2px solid #e2c8a2;outline-offset:1px}
.option-item small,.quality-grid small{color:#867365}.ratio-grid small{color:#877364}.option-note,.size-description{color:#887263}.segmented button{color:#8b7260}.modal-head p{color:#837368}.size-preview small,.size-preview p{color:#897261}.model-description strong{color:#897262}.option-item.active .model-description strong{color:#a06e4b}.models .option-item small{color:#8a7261}
body.compact-layout .composer{max-height:none;overflow:visible}body.compact-layout .topbar{min-width:0}body.compact-layout .toolbar{flex-wrap:wrap;min-width:0}body.compact-layout .toolbar #settings-btn span{display:none}body.compact-layout .toolbar .pill{padding:9px;min-height:40px}.display-scale{font-size:12px}.gallery-section{scroll-margin-top:90px}
body.compact-layout .composer-options{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body.compact-layout .chip{min-width:0}.option-text>span{font-size:14px}body.compact-layout .option-text>span{font-size:13px}body.compact-layout .composer-footer{flex-wrap:wrap}.brand{min-width:0}.toolbar .pill svg{width:17px;height:17px}

/* Station branding and clearer creation controls. */
:root{--muted:#7b6e64;--purple:#b06c3b}
.topbar{gap:14px}.brand strong{color:#49382b}.brand small{color:#817369}.brand em{color:#987053}
.station-header{display:inline-flex;align-items:center;gap:8px;background:#f9f3eb;border:1px solid #f2e6d4;color:#926341;border-radius:24px;padding:10px 13px;font-size:12px;font-weight:650;white-space:nowrap;margin-right:auto}
.station-light{width:6px;height:6px;background:#b06c3b;box-shadow:0 0 0 3px #b06c3b12;border-radius:50%}.station-header>span:last-child{font-size:16px}
.live-status{margin-right:0}.toolbar{margin-left:auto}
.composer-wrap{top:calc(var(--header-height,82px) + 16px)}.composer{max-height:calc(100vh / var(--ui-scale) - var(--header-height,82px) - 32px)}
.station-banner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;overflow:hidden;padding:21px 25px;margin-bottom:17px;border-radius:19px;background:radial-gradient(ellipse at 85% 0,#e1c19175,transparent 58%),linear-gradient(115deg,#664934,#9c6f4e);color:#fff;box-shadow:0 8px 24px #76574016;border:1px solid #98705320}
.station-banner-copy{position:relative;z-index:1;min-width:0}.station-kicker{font-size:10px;letter-spacing:1.5px;color:#f3e7d5}.station-banner h2{font-size:23px;line-height:1.4;font-weight:700;margin:5px 0 8px}.station-banner h2 span{font-weight:500;color:#faf5ed}.station-domain{font-size:14px;letter-spacing:.2px;color:#fbf7f1;display:inline-flex;align-items:center;gap:14px;line-height:1.5;border-bottom:1px solid #f3e7d566;padding-bottom:2px}
.station-banner-action{position:relative;display:flex;align-items:center;gap:20px;z-index:1;flex-shrink:0}.station-mark{display:grid;place-items:center;width:63px;height:63px;border:1px solid #f5ebdc3b;border-radius:20px;background:#ffffff0d;transform:rotate(10deg)}.station-mark svg{width:32px;height:32px;stroke-width:1.2;color:#f6ecdc;transform:rotate(-10deg)}
.station-visit{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:42px;padding:11px 17px;border-radius:11px;background:#fff;color:#845a3b;font-weight:650;font-size:13px;box-shadow:0 4px 14px #38251827}.station-visit:hover{background:#fcf8f3;box-shadow:0 7px 18px #38251830}
.settings-station{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;background:linear-gradient(115deg,#fcf9f5,#f9f4ed);border:1px solid #f2e8d9;border-radius:13px;font-size:15px;color:#8f6546;font-weight:650}.settings-station small{display:block;margin-top:6px;color:#847367;font-weight:400;font-size:12px}.settings-station>span:last-child{font-size:24px}.connection-info{margin:17px 0 22px}.connection-info>span{color:#807268}.connection-info>code,.connection-info>strong{color:#6d5d52}
.prompt-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.prompt-label-row .field-label{margin:0}#prompt-count{color:#7f746c;font-size:10px;font-variant-numeric:tabular-nums}.prompt-row textarea::placeholder{color:#7e746c}.option-text small{color:#7e746c}.composer-footer{color:#7e746c}.composer-heading .eyebrow,.gallery-heading .eyebrow{color:#827369}
.chip:hover{box-shadow:0 3px 10px #9470570b}.chip:active{background:#f8f1e7}.send-btn:not(:disabled):hover,.primary-wide:not(:disabled):hover{box-shadow:0 7px 22px #ad6c3d38;filter:brightness(1.035)}
.card-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.task-state{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;font-size:11px;line-height:1.4;border-radius:7px;font-weight:600}.task-state i{width:5px;height:5px;border-radius:50%;background:currentColor}.task-state.saved{color:#34755d;background:#edf7f1}.task-state.processing{color:#a16e4a;background:#faf6ef}.task-state.processing i{animation:pulse 1.5s infinite}.task-state.attention{color:#9a6b32;background:#fff4e8}.image-amount,.task-time{font-size:11px;color:#7e746d;font-variant-numeric:tabular-nums}.model-tag{color:#8c725e;background:#f9f5ee;font-size:11px}.card-detail{color:#807267;font-size:12px}.card-prompt{color:#5d4e43;font-size:15px;line-height:1.85}.card-info{padding:19px 22px}.card-actions{align-items:center;gap:4px}.card-actions .icon-btn{color:#877263;width:32px;height:34px}.card-actions .icon-btn[data-remove]:hover{background:#fff0ee;color:#b66359}
.card-download{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;min-height:35px;background:#f9f2e7;color:#926646;border:1px solid #f2e6d5;border-radius:9px;font-size:12px;font-weight:650;white-space:nowrap}.card-download:hover{background:#f5ebdc;border-color:#e8d3b3}.card-download svg{width:15px;height:15px}.card-bottom{padding-top:14px}
.modal-head p,.field-help{color:#827368}.option-title-group .eyebrow{color:#8c725e}.option-item{color:#7d6859}.option-item small,.quality-grid small,.models .option-item small{color:#837367}.option-item.active{color:#9e6a45}.option-item.active:after{color:#a06e4a}.model-description strong{color:#7d6553}.option-item.active .model-description strong{color:#a26e49}.model-badge{color:#8c725f}.ratio-grid strong{color:#8b7260}.ratio-grid small{color:#857366}.ratio-grid .active strong{color:#9e6f4d}.option-note,.size-description{color:#857365}.size-preview strong{color:#7e6553}.size-preview small,.size-preview p{color:#887262}.segmented button{color:#8d725e}.segmented button.active{color:#9d6f4e}.option-section-label{color:#897261}.quality-grid strong span,.count-grid small,.count-intro small{color:#8c725f}.options-footer>span{color:#877364}.text-btn{color:#887262}.guide-step h3{color:#725f51}.guide-step p{color:#847367}.guide-note,.recovery-note{color:#8c725f}
.empty-state{min-height:calc(100vh / var(--ui-scale) - 370px)}.empty-state .eyebrow{color:#877364}.empty-state p{color:#827369}
body.medium-layout .station-mark{display:none}
body.medium-layout .topbar{padding:16px 20px;gap:12px}body.medium-layout .brand-icon{width:42px;height:42px;border-radius:14px}body.medium-layout .brand{gap:10px}body.medium-layout .brand strong{font-size:20px}body.medium-layout .toolbar{gap:5px}body.medium-layout .toolbar .pill{padding:9px 10px;min-height:40px}
body.compact-layout .station-header{margin-left:auto;margin-right:0;padding:9px 11px;font-size:11px}
body.compact-layout .station-banner{padding:19px 20px;gap:12px;border-radius:17px;flex-wrap:wrap}body.compact-layout .station-banner h2{font-size:21px}body.compact-layout .station-mark{display:none}body.compact-layout .station-visit{padding:10px 12px;gap:8px;font-size:12px}body.compact-layout .station-domain{font-size:13px}
body.compact-layout .brand{white-space:normal}body.compact-layout .brand strong{overflow-wrap:anywhere}body.compact-layout .brand small{line-height:1.5}
body.compact-layout .card-info{padding:18px}body.compact-layout .card-bottom{align-items:flex-start}body.compact-layout .empty-state{min-height:350px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
