:root{--bg:#f7f8f5;--rail:#f0f2ed;--ink:#242c27;--muted:#747d76;--line:#e1e6df;--blue:#315a6d;--white:#fff;--serif:'Songti SC','STSong',Georgia,serif;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #7096a4;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #b0c8cf;outline-offset:1px}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.5;fill:none;flex-shrink:0}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}
.sidebar{position:fixed;inset:0 auto 0 0;width:224px;height:100dvh;padding:30px 18px 20px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--rail);z-index:10;overflow:auto}.rail-brand{padding:7px 15px 27px}.brand{display:inline-flex;align-items:center;gap:13px;white-space:nowrap}.brand img{width:28px;height:28px}.brand strong{font-family:var(--serif);font-size:27px;font-weight:600;letter-spacing:2px}.nav{display:grid;gap:9px;margin-top:16px}.nav a{position:relative;display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:7px;min-height:47px;font-size:14px;color:#78817b}.nav a svg{width:18px;height:18px;stroke-width:1.4}.nav a.active{background:#e3e9e1;color:#2f493d;font-weight:500}.nav a:hover{background:#e8ede5;color:var(--ink)}.rail-bottom{margin-top:auto;padding-top:36px}.rail-admin{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;padding:12px 13px;margin-bottom:12px}.rail-admin svg{width:17px;height:17px}.rail-admin:hover,.rail-admin.active{color:var(--blue)}.rail-account{display:grid;grid-template-columns:32px minmax(0,1fr) 16px;gap:10px;align-items:center;padding:16px 11px;background:#ffffff85;border:1px solid #dfe5db;border-radius:10px}.rail-account strong{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rail-account small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.rail-account>svg{width:15px;height:15px;color:#8d978e}.rail-account.guest{grid-template-columns:32px minmax(0,1fr)}.rail-account .text-button{font-size:11px;padding:6px 0 0}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#dce6db;color:#4d6657;font-size:12px}.workspace{margin-left:224px;min-height:100vh}.main{max-width:1640px;padding:35px 48px 60px;margin:auto}.main.gallery-page{padding-top:18px}.topbar{display:none}
/* A quiet gallery: the work carries the color. */
.collection-head{display:flex;align-items:center;gap:28px;min-height:70px}.collection-head h1{font-size:27px;font-weight:550;letter-spacing:-.5px;margin:0 auto 0 0}.tabs{display:flex;align-items:center;gap:25px}.tab{position:relative;font-size:13px;color:#879087;padding:13px 0}.tab.active{color:var(--ink);font-weight:550}.tab.active:after{content:'';position:absolute;left:0;right:0;bottom:4px;height:2px;background:#537160;border-radius:2px}.search{display:flex;align-items:center;gap:9px;width:156px;padding:9px 12px;background:#fff;border:1px solid #e6eae3;border-radius:7px;color:#929b92}.search svg{width:16px;height:16px}.search input{width:100%;min-width:0;padding:0;font-size:12px;background:transparent;border:0;color:var(--ink)}.categories{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:17px 0 25px}.chip{font-size:12px;padding:7px 14px;border-radius:5px;border:1px solid transparent;color:#849080}.chip.active{background:#e7ede3;color:#41563f}.chip:hover{color:var(--ink)}.result-count{font-size:11px;color:#98a091;margin-left:auto}.gallery{columns:3;column-gap:22px}.style-card{break-inside:avoid;margin:0 0 24px}.art{position:relative;display:block;width:100%;padding:0;aspect-ratio:1;overflow:hidden;border-radius:10px;background:#e6ebe1;isolation:isolate}.art-visual,.art-image{position:absolute;inset:0;width:100%;height:100%;display:block;stroke:none;object-fit:cover;transition:transform .3s}.art:hover .art-visual,.art:hover .art-image{transform:scale(1.018)}.art:after{content:'';position:absolute;inset:55% 0 0;pointer-events:none;background:linear-gradient(transparent,#1023197a);opacity:0;transition:opacity .2s}.art:hover:after,.art:focus-visible:after{opacity:1}.art .try{position:absolute;bottom:19px;left:19px;right:19px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#fff;z-index:1;opacity:0;transition:opacity .2s}.art:hover .try,.art:focus-visible .try{opacity:1}.art .try>span{font-size:18px}#style-grid .style-card:nth-child(6n+1) .art{aspect-ratio:4/3}#style-grid .style-card:nth-child(6n+2) .art{aspect-ratio:3/4}#style-grid .style-card:nth-child(6n+3) .art{aspect-ratio:4/5}#style-grid .style-card:nth-child(6n+4) .art{aspect-ratio:1}#style-grid .style-card:nth-child(6n+5) .art{aspect-ratio:3/4}#style-grid .style-card:nth-child(6n+6) .art{aspect-ratio:4/3}.card-info{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:13px 1px 0}.card-info h2{font-size:15px;font-weight:500;line-height:1.5;margin:0}.card-info h2 button{padding:0}.card-info .arrow{padding:0 3px;color:#70816f;font-size:17px}.gallery-footer{margin-top:20px;padding-top:17px;font-size:10px;color:#a0a99a;line-height:1.8}.small-cover{width:44px;height:50px;aspect-ratio:auto;border-radius:5px;flex-shrink:0}.style-cell{display:flex;gap:12px;align-items:center}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 19px;border-radius:6px;font-size:13px;font-weight:500}.primary{background:var(--blue);border:1px solid var(--blue);color:#fff}.primary:hover{background:#264c5d}.secondary{background:#fff;border:1px solid #dce3d8}.secondary.subtle{font-size:12px;padding:9px 14px;background:transparent}.text-button{padding:8px;font-size:12px;color:var(--blue)}.danger{color:#b65f53!important}.muted{color:var(--muted)}.notice{font-size:11px;line-height:1.8;color:var(--muted)}.error{padding:11px 13px;border-radius:5px;background:#faeeea;color:#a35245;font-size:12px;line-height:1.7;margin-bottom:13px}.empty{text-align:center;padding:75px 20px;color:var(--muted)}.empty h2{font-size:23px;font-weight:500;color:var(--ink)}.empty p{font-size:13px;line-height:1.8}.empty .primary,.empty .secondary{margin-top:12px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 29px}.page-head h1{font-size:28px;font-weight:550;letter-spacing:-.6px;margin:0 0 11px}.page-head p{font-size:12px;color:var(--muted);margin:0}.history-head{margin-bottom:27px}.history-head h1{margin:0}.page-count{font-size:13px;font-weight:400;color:#a0aa9b;margin-left:11px;letter-spacing:0;vertical-align:middle}
/* One image, category, time, status, then the actions menu. */
.record-head,.record-row{display:grid;grid-template-columns:100px minmax(130px,1fr) 155px 110px 40px;gap:20px;align-items:center}.record-head{min-height:43px;padding:0 19px;border-bottom:1px solid var(--line);font-size:11px;color:#8e978b}.record-row{position:relative;min-height:116px;padding:19px;border-bottom:1px solid #e7ebe3;background:#ffffff70;transition:background .15s}.record-row:hover{background:#fff}.record-thumb{display:flex;align-items:center;justify-content:center;width:88px;height:74px;padding:0;border-radius:5px;background:#edf1e9;overflow:hidden}.record-thumb img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.record-kind{font-size:14px;font-weight:500;line-height:1.6}.record-date{font-size:12px;color:#899284;font-variant-numeric:tabular-nums}.status{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#6e8568;white-space:nowrap}.status:before{content:'';width:5px;height:5px;border-radius:50%;background:#7f9b75}.status.failed{color:#bd7968}.status.failed:before{background:#c58a7a}.status.running,.status.queued{color:#8c9366}.status.running:before,.status.queued:before{background:#a6ae81}.record-options{justify-self:end}.row-menu{position:relative}.row-menu>summary{display:grid;place-items:center;width:32px;height:32px;border-radius:5px;color:#858f7e}.row-menu>summary:hover,.row-menu[open]>summary{background:#e9eee5;color:#3b5140}.row-menu svg{width:19px;height:19px;fill:currentColor;stroke:none}.row-menu-content{position:absolute;right:0;top:38px;min-width:135px;background:#fff;border:1px solid #e1e7dc;border-radius:7px;padding:6px;box-shadow:0 8px 30px #354b3b16;z-index:40}.row-menu-content button,.row-menu-content a{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:4px;font-size:12px;white-space:nowrap}.row-menu-content button:hover,.row-menu-content a:hover{background:#f0f4ec}.menu-note{display:block;padding:9px;font-size:11px;color:var(--muted);white-space:nowrap}
.panel{padding:25px;border:1px solid var(--line);border-radius:9px;background:#fff9;margin-bottom:22px}.panel h2{font-size:16px;font-weight:500;margin:0 0 22px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:26px}.stat{padding:23px;border:1px solid var(--line);border-radius:8px;background:#fff9}.stat span{font-size:12px;color:var(--muted)}.stat b{display:block;font-size:34px;font-weight:450;margin:13px 0 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th,td{padding:16px 13px;border-bottom:1px solid var(--line)}th{font-size:11px;font-weight:400;color:var(--muted);background:#f0f4ed}td small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.admin-tabs .secondary{padding:10px 14px;font-size:12px}.admin-tabs .active{background:#e4ebe0;border-color:#d5e0ce;color:#435b3b}.account-layout{display:grid;grid-template-columns:1fr 1.5fr;gap:22px}.credit-number{font-size:62px;font-weight:350;line-height:1.2;margin:20px 0;color:var(--blue)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#707d69;margin-bottom:21px;min-width:0}.field input,.field textarea,.field select{width:100%;min-width:0;padding:12px;border:1px solid #dfe6d9;border-radius:5px;background:#fff;color:var(--ink);font-size:13px}.field textarea{resize:vertical;min-height:90px;line-height:1.7}.check{display:flex;gap:9px;align-items:center;font-size:12px;margin-bottom:16px}.check input{accent-color:var(--blue)}.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.cover-editor{display:flex;align-items:center;gap:22px;margin-bottom:21px}.cover-editor #cover-preview{width:100px;flex-shrink:0}.cover-editor .field{flex:1;min-width:0}.model-permissions{border:1px solid var(--line);border-radius:5px;padding:17px 14px 4px;margin:0 0 17px}.model-permissions legend{font-size:12px;padding:0 6px;color:var(--muted)}
dialog{position:fixed;padding:0;width:min(870px,calc(100% - 36px));max-height:92dvh;overflow:auto;background:var(--bg);color:var(--ink);border:1px solid #e0e6d9;border-radius:14px;box-shadow:0 25px 100px #17362b20}dialog::backdrop{background:#23342a6b;backdrop-filter:blur(5px)}dialog .close{position:absolute;top:17px;right:17px;width:30px;height:30px;display:grid;place-items:center;z-index:5;border-radius:50%;background:#f3f6f0de;color:#87917f}dialog .close:hover{background:#e5ecde}dialog .close svg{width:18px;height:18px}.modal-body{padding:35px}.modal-body h2{font-size:25px;font-weight:500;margin:0 0 13px}.modal-body>p{font-size:12px;line-height:1.8;color:var(--muted)}.auth-body{max-width:420px;padding:41px 35px;margin:auto}.auth-body h2{font-size:26px;font-weight:500;margin:0 0 15px}.auth-body>p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:25px}.auth-body .primary{width:100%}.auth-switch{text-align:center;margin-top:15px}.full-image{display:block;max-width:100%;max-height:75dvh;object-fit:contain;margin:0 auto}
/* Creation opens as a workspace with a generous image canvas. */
dialog.creation-dialog{width:min(1080px,calc(100% - 64px));background:#fff}.creation-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);min-height:570px}.creation-preview{background:#f0f3ed;display:flex;flex-direction:column;padding:25px 27px 21px;min-width:0}.preview-top,.preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#8b9585}.preview-top{margin-bottom:23px}.preview-top>span:first-child{color:#596b50;font-size:12px}.preview-bottom{margin-top:18px;min-height:27px}.preview-bottom>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.preview-bottom .text-button{padding:3px 0;font-size:11px;white-space:nowrap}.photo-stage{position:relative;flex:1;display:flex;align-items:center;justify-content:center;width:100%;min-height:390px;border:1px dashed #cbd6c2;border-radius:8px;overflow:hidden;background:#f8faf5;cursor:pointer}.photo-stage.has-photo{background:#e8eee1;border-style:solid;border-color:#e1e8da}.photo-stage.dragging{outline:2px solid #819e72;outline-offset:-3px}.photo-stage>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-stage>img{display:block;width:100%;height:100%;max-height:530px;object-fit:contain;position:absolute;inset:0}.upload-message{display:flex;flex-direction:column;align-items:center;gap:12px;color:#929e87;text-align:center;padding:25px}.upload-message svg{width:29px;height:29px;margin-bottom:4px}.upload-message strong{font-size:15px;font-weight:500;color:#6f8061}.upload-message span{font-size:12px}.upload-message small{font-size:10px;margin-top:9px;color:#a7b19d}.creation-controls{padding:43px 30px 25px;min-width:0}.creation-title{margin-bottom:30px}.section-label{font-size:10px;color:#92a087}.creation-title h2{font-size:25px;font-weight:500;letter-spacing:-.4px;margin:9px 0 0}.creation-controls .field{margin-bottom:26px}.ratio-selector{border:0;padding:0;margin:0 0 25px;min-width:0}.ratio-selector legend{font-size:12px;color:#707d69;padding:0;margin-bottom:13px}.ratio-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ratio-option{position:relative;display:block}.ratio-option input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.ratio-option span{display:flex;align-items:center;justify-content:center;height:35px;border:1px solid #e5eadf;border-radius:5px;font-size:11px;color:#86927c;cursor:pointer;white-space:nowrap}.ratio-option:has(input:checked) span{border-color:#92aa84;background:#eff5e9;color:#587047}.ratio-option:has(input:focus-visible) span{outline:2px solid #94ac86;outline-offset:2px}.ratio-option:has(input:disabled){opacity:.6}.style-reference{margin-bottom:26px}.style-reference>summary{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid #edf0e8;border-bottom:1px solid #edf0e8;font-size:11px;color:#929d87}.style-reference>summary>span{font-size:15px}.style-reference[open]>summary>span{transform:rotate(45deg)}#style-reference-image{margin-top:13px}#style-reference-image .art{aspect-ratio:16/9;border-radius:5px}.creation-submit{padding-top:5px}.creation-submit .primary{width:100%;height:45px;font-size:13px}.creation-submit .primary svg{width:17px;height:17px}.creation-submit .notice{text-align:center;margin:12px 0 0}.data-note{text-align:center;font-size:9px;color:#a4ad9a;margin:13px 0 0;line-height:1.7}
.spinner{display:inline-block;width:23px;height:23px;border:2px solid #d0dccc;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}.initial{font-size:32px;padding:80px}.initial span{display:block;font-size:13px;color:var(--muted);margin-top:20px}#toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%,18px);opacity:0;pointer-events:none;z-index:100;max-width:90vw;padding:13px 20px;border-radius:7px;background:#354a38;color:white;font-size:12px;box-shadow:0 5px 30px #1733241a;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.main{padding-left:60px;padding-right:60px}.gallery{columns:4;column-gap:24px}}
@media(max-width:1100px) and (min-width:761px){.sidebar{width:200px;padding:27px 14px 18px}.workspace{margin-left:200px}.main{padding:30px 30px 50px}.main.gallery-page{padding-top:16px}.gallery{column-gap:16px}.collection-head{gap:19px}.search{width:127px}.tabs{gap:18px}.record-head,.record-row{grid-template-columns:80px minmax(100px,1fr) 122px 82px 32px;gap:12px;padding-left:12px;padding-right:12px}.record-thumb{width:72px;height:65px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.account-layout{grid-template-columns:1fr 1.2fr}.creation-workspace{grid-template-columns:minmax(0,1.3fr) 310px}.creation-preview{padding:22px}.creation-controls{padding-left:24px;padding-right:24px}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin:0}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;border-bottom:1px solid var(--line)}.brand{gap:10px}.brand img{width:24px;height:24px}.brand strong{font-size:22px}.userbar{display:flex;align-items:center;gap:8px}.pill{font-size:10px;border:1px solid var(--line);border-radius:20px;padding:7px 10px}.userbar .avatar{width:29px;height:29px;font-size:11px}.main{padding:27px 20px 95px}.main.gallery-page{padding-top:12px}.collection-head{min-height:59px;gap:15px;flex-wrap:wrap}.collection-head h1{font-size:23px}.tabs{gap:14px}.tab{font-size:11px;padding:12px 0}.search{width:30px;height:32px;padding:6px;position:relative;justify-content:center}.search input{position:absolute;width:100%;height:100%;inset:0;opacity:0;padding:6px;background:#fff;border-radius:5px}.search:focus-within{width:100%;order:4;justify-content:start;margin-bottom:5px}.search:focus-within input{opacity:1;width:100%;padding-left:31px;font-size:12px}.search:focus-within svg{z-index:1}.categories{margin:15px 0 20px;gap:4px}.chip{font-size:11px;padding:6px 10px}.result-count{display:none}.gallery{columns:2;column-gap:13px}.style-card{margin-bottom:21px}.art{border-radius:8px}.card-info{margin-top:10px}.card-info h2{font-size:13px}.card-info .arrow{font-size:15px}.gallery-footer{font-size:9px}.page-head{margin-bottom:23px}.page-head h1{font-size:24px}.page-count{font-size:11px}.record-head,.record-row{grid-template-columns:57px minmax(70px,1fr) 77px 58px 25px;gap:8px;padding-left:0;padding-right:0}.record-head{font-size:10px;min-height:36px}.record-row{min-height:89px;padding-top:14px;padding-bottom:14px;background:transparent}.record-thumb{width:52px;height:58px}.record-kind{font-size:12px}.record-date{font-size:10px;line-height:1.8}.status{font-size:10px;gap:4px}.status:before{width:4px;height:4px}.row-menu>summary{width:25px;height:30px}.row-menu-content{min-width:125px}.panel{padding:18px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:18px}.stat b{font-size:29px}.account-layout{display:block}.admin-tabs{gap:5px}.admin-tabs .secondary{padding:8px 10px;font-size:10px}.form-grid{gap:13px}.modal-body{padding:32px 22px}.auth-body{padding:35px 26px}.auth-body h2{font-size:24px}dialog.creation-dialog{width:calc(100% - 24px);max-height:94dvh}.creation-workspace{display:flex;flex-direction:column;min-height:0}.creation-preview{padding:20px 18px 13px}.preview-top{margin-bottom:15px;padding-right:30px}.photo-stage{min-height:210px;height:210px;flex:auto}.photo-stage>img{max-height:210px}.preview-bottom{margin-top:9px;font-size:10px}.creation-controls{padding:24px 22px}.creation-title{margin-bottom:22px}.creation-title h2{font-size:23px}.section-label{font-size:10px}.creation-controls .field{margin-bottom:22px}.ratio-selector{margin-bottom:20px}.style-reference{margin-bottom:17px}.upload-message{gap:9px}.upload-message strong{font-size:14px}.upload-message small{font-size:9px}.data-note{font-size:9px}#toast{bottom:85px}}
/* Prompt creation keeps the controls quiet and gives the image the room. */
.prompt-head{margin-bottom:27px}.prompt-head h1{margin:0}.prompt-workspace{display:grid;grid-template-columns:minmax(270px,330px) minmax(0,1fr);gap:28px;min-height:min(690px,calc(100dvh - 150px));align-items:stretch}.prompt-controls{padding:26px 25px;background:#fff;border:1px solid var(--line);border-radius:10px;align-self:start}.prompt-field{position:relative;margin-bottom:27px}.prompt-field>span{color:#465448;font-size:13px}.prompt-field textarea{height:235px;min-height:170px;padding:15px 14px 28px;resize:vertical;background:#fcfdfb;border-color:#dfe5da;font-size:14px;line-height:1.9}.prompt-field textarea::placeholder{color:#a1a99c}.prompt-field>small{position:absolute;right:11px;bottom:10px;color:#a7afa1;font-size:10px;pointer-events:none}.model-current{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px;border:1px solid #e4e9df;border-radius:5px;color:#4d5c4d;font-size:12px}.model-current small{font-size:10px;color:#899581}.prompt-controls .ratio-options{grid-template-columns:repeat(4,minmax(0,1fr))}.prompt-controls .ratio-selector{margin-top:25px;margin-bottom:28px}.prompt-submit{display:grid;gap:12px}.prompt-submit .primary{height:46px;width:100%}.prompt-submit>span{color:#97a08e;font-size:10px;text-align:center}.prompt-preview{min-width:0;display:flex;flex-direction:column;background:#eef1eb;border:1px solid #e2e7dc;border-radius:11px;padding:20px;overflow:hidden}.prompt-preview-top{display:flex;align-items:center;justify-content:space-between;color:#86917d;font-size:11px;gap:15px}.local-badge{font-size:10px;color:#95a08c}.prompt-stage{flex:1;display:flex;justify-content:center;align-items:center;min-height:425px;margin:20px 0;min-width:0}.prompt-empty,.prompt-wait{display:flex;flex-direction:column;gap:14px;align-items:center;text-align:center;padding:24px;color:#a3ad99}.prompt-empty svg{width:110px;height:100px;color:#b9c5af;stroke-width:1; margin-bottom:5px}.prompt-empty strong,.prompt-wait strong{font-size:16px;color:#7c8c70;font-weight:450;letter-spacing:.3px}.prompt-empty span,.prompt-wait>span:last-child{font-size:11px;line-height:1.9}.prompt-empty p{font-size:12px;line-height:1.8;max-width:300px;margin:0}.generation-orbit{width:43px;height:43px;border:1px solid #cbd6c0;border-top-color:#69865b;border-radius:50%;animation:spin 1.6s linear infinite;margin-bottom:6px}.prompt-result-image{display:flex;justify-content:center;align-items:center;padding:0;width:100%;min-height:420px;cursor:zoom-in}.prompt-result-image img{display:block;max-width:100%;max-height:min(620px,calc(100dvh - 230px));height:auto;width:auto;object-fit:contain;border-radius:4px;box-shadow:0 12px 30px #21351b12}.prompt-result-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:35px;font-size:10px;color:#92a085}.prompt-result-actions>div{display:flex;gap:7px}.prompt-result-actions .secondary{background:#f9fbf7;border-color:#d8e1cf;padding:9px 12px;font-size:11px}.record-missing{color:#a5b19b}.record-missing svg{width:21px;height:21px}
@media(max-width:1100px) and (min-width:761px){.prompt-workspace{grid-template-columns:280px minmax(0,1fr);gap:18px}.prompt-controls{padding:22px 19px}.prompt-preview{padding:16px}.prompt-stage{min-height:380px}.prompt-result-image{min-height:360px}}
@media(max-width:760px){.prompt-head{margin-bottom:21px}.prompt-workspace{display:flex;flex-direction:column;gap:18px;min-height:0}.prompt-controls{padding:22px;width:100%}.prompt-field textarea{height:170px;min-height:140px}.prompt-controls .field{margin-bottom:20px}.prompt-controls .ratio-selector{margin:21px 0}.prompt-preview{padding:17px;min-height:330px}.prompt-stage{min-height:270px;margin:15px 0}.prompt-result-image{min-height:270px}.prompt-result-image img{max-height:65dvh}.prompt-result-actions{flex-wrap:wrap;line-height:1.7}.prompt-result-actions>div{margin-left:auto}.prompt-empty svg{width:86px;height:80px}}
.console-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.console-segments{display:flex;gap:5px;background:#ebefe7;border-radius:6px;padding:4px}.console-segments button{padding:9px 14px;border-radius:4px;font-size:12px;color:#84917b}.console-segments .active{background:#fff;color:#3f5940;box-shadow:0 1px 3px #243a2810}.console-panel{padding:0;overflow:visible}.console-panel>h2{padding:22px 25px 0;margin-bottom:14px}.console-panel .pricing-form{padding:25px;max-width:650px}.endpoint-cell{max-width:230px;overflow:hidden;text-overflow:ellipsis}.inline-checks{display:flex;flex-wrap:wrap;gap:5px 18px}.inline-checks .check{white-space:nowrap}.cost-row{display:grid;grid-template-columns:100px 1fr;gap:18px;align-items:center;margin-bottom:15px}.cost-row .check{margin:0}.cost-row input[type=number]{padding:10px;border:1px solid var(--line);border-radius:5px;width:100%;background:white;font-size:12px}.user-console-sections{display:grid;gap:25px}.user-console-sections section+section{border-top:1px solid var(--line);padding-top:22px}.user-console-sections h3{font-size:14px;font-weight:500;margin:0 0 20px}.credit-number small{font-size:15px}.prompt-controls{padding:23px}.prompt-field textarea{height:180px;min-height:135px}.prompt-model-fields{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:12px}.prompt-model-fields .field{margin-bottom:0}.reference-zone{margin-bottom:22px;padding:12px;border:1px dashed #d5dfcc;border-radius:7px;background:#fafcf8;transition:background .15s,border-color .15s}.reference-zone.dragging{background:#e9f0e2;border-color:#698e57;outline:2px solid #b7cba7;outline-offset:3px}.reference-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#687b5b;margin-bottom:5px}.reference-heading small{font-size:10px;color:#a0ac96;margin-left:4px}.reference-heading .text-button{font-size:10px;padding:4px 0}.reference-upload{display:flex;align-items:center;justify-content:center;gap:7px;min-height:50px;width:100%;font-size:11px;color:#9aa88e}.reference-upload svg{width:17px;height:17px}.reference-previews{display:flex;gap:8px;flex-wrap:wrap}.reference-item{position:relative;width:calc((100% - 16px)/3);height:72px;margin:6px 0}.reference-item img{width:100%;height:100%;object-fit:contain;border-radius:5px;background:#e8eee1}.reference-order{position:absolute;left:4px;bottom:4px;background:#fbfdf7df;color:#637451;border-radius:3px;font-size:9px;padding:2px 4px}.reference-remove{position:absolute;right:-4px;top:-4px;width:19px;height:19px;background:#fff;border:1px solid #dde5d5;border-radius:50%;color:#78896b;padding:0;font-size:14px;line-height:1}.reference-move{position:absolute;right:4px;bottom:3px}.reference-move button{padding:0 3px;border-radius:3px;background:#fbfdf7df;color:#637451;font-size:11px}.local-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.local-picker button{padding:0;text-align:left;min-width:0}.local-picker img{width:100%;height:120px;object-fit:contain;background:#eaf0e3;border-radius:5px}.local-picker span{display:block;font-size:11px;margin-top:8px;color:#7c8d6e}.prompt-result-actions{min-height:40px}
@media(max-width:760px){.console-toolbar{gap:10px}.console-toolbar>.primary{padding:10px;font-size:11px;white-space:nowrap}.console-segments button{padding:8px 9px;font-size:11px}.console-panel .pricing-form{padding:20px}.local-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-controls{padding:21px}.reference-item{height:80px}.reference-upload{min-height:45px}.reference-zone{margin-bottom:20px}.prompt-field textarea{height:150px}.user-console-sections{gap:20px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
