:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#24332e;background:#f5f7f6;font-synthesis:none;--green:#19735c;--border:#e2e9e5;--muted:#7b8882;--ink:#24332e}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{text-decoration:none;color:inherit}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #97c5b4;outline-offset:3px}[hidden]{display:none!important}#user-label{font-size:12px;color:#7a897e}main{padding:34px 38px 18px;max-width:1760px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:15px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;color:#8f9f95;margin:0 0 9px}h1{font-size:27px;letter-spacing:-.7px;font-weight:670;margin:0 0 12px}.page-heading p:not(.eyebrow){font-size:12px;color:#839087;margin:0}.button{border-radius:7px;padding:11px 18px;border:1px solid transparent;font-size:12px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;min-height:39px}.button.primary{color:#fff;background:var(--green);box-shadow:0 3px 6px #19735c14}.button.primary:hover{background:#105c47}.button.secondary{background:#fff;border-color:#dbe4de;color:#4f6557}.button.secondary:hover{background:#f5f8f5}.text-button{border:0;background:none;color:var(--green);padding:3px 0;font-size:11px;font-weight:550}.text-button:hover{text-decoration:underline}.danger{color:#bd5a50}.notice{background:#fffcf4;border:1px solid #eadfc4;border-radius:8px;display:flex;gap:12px;align-items:center;padding:14px 17px;margin-bottom:22px;color:#887042}.notice strong{font-size:12px;font-weight:600}.notice p{font-size:11px;line-height:1.7;margin:4px 0 0;color:#9b8965}.notice .text-button{margin-left:auto;color:#90713d}.notice-symbol{display:grid;place-items:center;border:1px solid #b9a16c;border-radius:50%;height:16px;width:16px;font-size:10px;flex-shrink:0}.notice.error{color:#a23f37;background:#fff5f2;border-color:#f3d3cd;font-size:12px}.studio-grid{display:grid;grid-template-columns:minmax(340px,.97fr) minmax(360px,1.03fr);gap:22px;align-items:start}.panel{border:1px solid var(--border);border-radius:11px;background:#fff;box-shadow:0 2px 3px #273c2e02}.panel-header{padding:20px 22px;border-bottom:1px solid #edf1ee;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:65px}.panel-header>div{display:flex;align-items:center;gap:10px}h2{font-size:13px;font-weight:650;margin:0}h3{font-size:14px;font-weight:600}.step-label{font-size:10px;letter-spacing:.4px;color:#81a18c;background:#f1f6f2;padding:5px 6px;border-radius:4px;line-height:1}.editor form{padding:23px 22px 16px}.field{display:block;font-size:11px;font-weight:550;color:#52685a;margin:0 0 21px;line-height:1.5}.field>label{display:block;margin-bottom:8px}.field input:not([type=file]),.field select,.field textarea{display:block;width:100%;margin-top:8px;border:1px solid #dfe6e1;border-radius:6px;padding:11px 12px;color:#3c5043;background:#fff;font-weight:400;font-size:12px;outline-offset:1px}.field input::placeholder,.field textarea::placeholder{color:#a5b0a8;font-size:11px}.field textarea{resize:vertical;line-height:1.8;min-height:80px}.field select{height:40px;padding-top:8px;padding-bottom:8px}.required{color:#b66a5b;margin-left:3px}.optional{float:right;color:#9da89f;font-size:10px;font-weight:400}.field-hint{color:#9aa79e;font-size:10px;font-weight:400;line-height:1.75;margin:9px 0 0}.dropzone{border:1px dashed #cadbd0;border-radius:8px;background:#fafcfb;padding:24px 12px 21px;text-align:center;position:relative}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.dropzone:focus-within{outline:3px solid #97c5b4;outline-offset:2px}.dropzone.dragging{border-color:var(--green);background:#edf6ef}.upload-icon{display:grid;place-items:center;height:31px;width:31px;background:#edf4ee;border-radius:8px;color:#74a087;font-size:21px;margin:0 auto 11px}.dropzone strong{font-size:11px;font-weight:550;color:#657f6c}.dropzone p{font-size:9px;color:#9caaa0;font-weight:400;margin:8px 0 0}.source-previews{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.source-previews:empty{margin-top:0}.source-thumb{position:relative;border:1px solid var(--border);border-radius:6px;overflow:hidden;background:#f7f9f7;aspect-ratio:1}.source-thumb img{width:100%;height:100%;object-fit:contain}.source-thumb span{position:absolute;left:4px;bottom:4px;background:#ffffffed;border-radius:3px;padding:2px 4px;font-size:8px;color:#627368}.source-thumb button{position:absolute;top:4px;right:4px;background:#ffffffef;border:1px solid #d9e2db;border-radius:50%;width:20px;height:20px;padding:0;color:#66786d;line-height:15px}.section-divider{height:1px;background:#edf1ee;margin:22px 0}.subheading{display:flex;align-items:center;gap:10px;margin:0 0 22px}.template-summary{background:#f8faf8;border:1px solid #e8eee9;border-radius:7px;padding:15px;display:flex;gap:11px;margin-top:-10px;margin-bottom:20px}.template-icon{color:#94af9c;font-size:24px;line-height:26px}.template-summary strong{font-size:11px;font-weight:600;color:#5c7364}.template-summary p{font-size:10px;color:#93a096;line-height:1.75;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.template-summary img{width:52px;height:68px;border:1px solid var(--border);object-fit:cover;border-radius:4px;flex-shrink:0}.template-summary small{font-size:9px;color:#8c9c92}.generation-settings{display:flex;align-items:center;gap:18px;margin:0 0 14px}.generation-settings .field{width:103px;flex-shrink:0;margin:0}.generation-settings>div{padding-top:21px}.generation-settings strong{font-size:10px;color:#82948a;font-weight:550}.generation-settings p{font-size:9px;color:#a0aca3;line-height:1.75;margin:5px 0}.generation-disclosure{font-size:9px;line-height:1.7;color:#a2aca5;margin:20px 0 12px}.form-actions{display:flex;gap:10px}.form-actions .secondary{flex:1}.form-actions .primary{flex:1.7}.save-status{text-align:center;font-size:9px;color:#a4aea7;margin:11px 0 0;min-height:14px}.results-panel{min-height:620px;position:sticky;top:20px}.badge{font-size:9px;border:1px solid #e5ebe6;border-radius:5px;padding:4px 8px;white-space:nowrap}.badge.neutral{color:#98a399;background:#f8faf8}.badge.success{color:#378362;background:#ecf6ed;border-color:#d8e9db}.badge.pending{color:#9d803b;background:#fcf8ec;border-color:#eee5c8}.badge.failure{color:#b46054;background:#fdf1ee;border-color:#efd9d3}.result-content{padding:22px;min-height:550px}.result-empty{height:493px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#a3afa5}.empty-art{position:relative;width:75px;height:91px;border:1px solid #d9e4db;border-radius:9px;display:grid;place-items:center;font-size:41px;color:#c2d6c7;background:linear-gradient(150deg,#fafcfa,#f1f6f2);transform:rotate(-5deg);margin:0 0 18px}.empty-art i{font-size:22px;position:absolute;top:14px;right:-13px;background:#fff;border:1px solid #e1ebe3;border-radius:8px;width:32px;height:32px;line-height:31px;color:#a6c6af;font-style:normal}.result-empty h3{font-size:12px;font-weight:550;color:#84978a;margin:10px 0}.result-empty p{font-size:11px;line-height:1.9;color:#a1afa4;margin:0}.empty-steps{display:flex;gap:10px;font-size:8px;margin-top:27px;align-items:center;color:#9faea4}.empty-steps span{border:1px solid #e3ebe5;padding:6px 8px;border-radius:4px;background:#fcfdfc}.empty-steps i{color:#bdcec2;font-style:normal}.result-top{display:flex;align-items:start;justify-content:space-between;margin-bottom:18px;gap:12px}.result-top h3{font-size:13px;margin:0 0 7px;overflow-wrap:anywhere}.result-top p{font-size:10px;color:#a1ada4;margin:0;line-height:1.8}.output-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.output-grid.single{grid-template-columns:1fr}.output-card{border:1px solid var(--border);border-radius:7px;overflow:hidden}.output-card.selected{border-color:#83b396}.output-image{background:#f7f9f7;display:block;width:100%;padding:0;border:0;cursor:zoom-in}.output-image img{width:100%;height:270px;object-fit:contain;display:block}.single .output-image img{height:440px}.output-actions{padding:11px 9px;display:flex;justify-content:space-between;align-items:center;gap:8px}.output-actions button,.output-actions a{font-size:10px}.output-actions button{color:#748c7b;background:#fff;border:1px solid #dce5de;border-radius:4px;padding:5px 8px}.output-card.selected .output-actions button{color:var(--green);background:#eff7f0;border-color:#9cc7a9}.output-actions a{color:#86988c}.job-message{min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.job-message h3{font-size:13px;line-height:1.8}.job-message p{font-size:11px;line-height:1.9;color:#97a69b;max-width:310px;overflow-wrap:anywhere}.job-message .spinner{width:32px;height:32px;border:2px solid #e3eee5;border-top-color:#699a78;border-radius:50%;animation:spin 1.2s linear infinite;margin-bottom:13px}@keyframes spin{to{transform:rotate(360deg)}}.job-message .error-icon{font-size:25px;color:#c28d7c}.records{margin-top:23px}.records .panel-header{padding-top:18px;padding-bottom:18px}.count{font-size:10px;font-weight:400;color:#a5afa7}.records-empty{padding:30px;text-align:center;font-size:11px;color:#a5b1a8}.records-table-wrap{overflow:auto}.records table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:11px}.records th{font-size:9px;font-weight:500;color:#9baa9e;background:#fafcfb;padding:12px 20px;border-bottom:1px solid #edf1ee}.records td{padding:15px 20px;border-bottom:1px solid #f0f3f0;color:#758c7c}.records tr:last-child td{border-bottom:0}.record-title{display:flex;align-items:center;gap:11px}.record-title img{width:35px;height:42px;object-fit:cover;background:#f5f8f5;border:1px solid #e5ece6;border-radius:4px}.record-title strong{font-size:11px;color:#58705f;font-weight:550;max-width:210px;overflow:hidden;text-overflow:ellipsis;display:block}.record-title small{font-size:9px;color:#a5b1a8;display:block;margin-top:5px}.record-actions{display:flex;gap:13px}.empty-page{padding:80px 30px;background:#fff;border:1px solid var(--border);border-radius:10px;text-align:center}.empty-page h2{font-size:18px}.empty-page p{font-size:13px;color:var(--muted);margin:17px 0 27px}footer{display:flex;justify-content:space-between;align-items:center;padding:24px 38px;color:#a8b3aa;font-size:9px;max-width:1760px;margin:auto}dialog{border:1px solid #dae4dc;border-radius:13px;padding:0;width:min(700px,calc(100vw - 32px));max-height:90vh;color:var(--ink);box-shadow:0 22px 80px #19332433}dialog::backdrop{background:#1d32274d;backdrop-filter:blur(2px)}.template-dialog{width:min(900px,calc(100vw - 32px))}.dialog-header{padding:24px 27px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}.dialog-header h2{font-size:18px}.dialog-header .eyebrow{font-size:9px;margin-bottom:8px}.close-button{border:0;background:#f2f6f3;border-radius:6px;color:#7d9384;font-size:21px;width:28px;height:28px;line-height:26px}.template-layout{display:grid;grid-template-columns:210px minmax(0,1fr)}.template-library{background:#f7faf8;padding:22px 16px;border-right:1px solid var(--border)}.template-library>.button{width:100%;padding:9px 12px;font-size:11px;margin-bottom:17px}.template-library p{font-size:11px;line-height:1.8;color:#9aaa9e;padding:10px}.library-template{display:block;width:100%;text-align:left;border:1px solid transparent;border-radius:7px;padding:12px 10px;margin-bottom:7px;background:none;color:#768d7d}.library-template.active{background:#fff;border-color:#d4e3d9;color:#327453}.library-template strong{font-size:11px;display:block;font-weight:550;overflow-wrap:anywhere}.library-template small{font-size:9px;display:block;margin-top:6px;color:#9aad9f}#template-form{padding:23px 28px}.two-fields{display:grid;grid-template-columns:1.5fr 1fr;gap:16px}.two-fields .field{margin-bottom:8px}.sample-upload{height:140px;border:1px dashed #ceddd2;border-radius:7px;background:#f9fcfa;position:relative;text-align:center;display:flex;justify-content:center;align-items:center}.sample-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.sample-upload:focus-within{outline:3px solid #97c5b4}.sample-upload span{font-size:25px;color:#b1cbb8;display:block;margin-bottom:7px}.sample-upload strong{font-size:10px;color:#839d8b;font-weight:550}.sample-upload p{font-size:9px;color:#a6b5aa;margin:7px}.sample-upload img{max-width:100%;max-height:128px;object-fit:contain}.dialog-actions{display:flex;justify-content:flex-end;padding-top:20px}#detail-content{padding:24px 27px;overflow-wrap:anywhere}#detail-content pre{font:12px/1.9 inherit;white-space:pre-wrap;font-family:inherit;color:#6c8374;margin:0}#detail-content img{max-width:100%;max-height:72vh;display:block;margin:auto}#detail-content p{font-size:12px;line-height:1.9;color:#7a9081}.toast{position:fixed;bottom:28px;left:calc(50% + 116px);transform:translateX(-50%);background:#2f4b3c;color:#fff;border:1px solid #44614d;border-radius:8px;padding:13px 22px;font-size:12px;box-shadow:0 8px 28px #29433126;z-index:10;max-width:min(620px,90vw);line-height:1.7}.toast.error{background:#925e50;border-color:#a36f61}@media(min-width:1600px){.studio-grid{grid-template-columns:minmax(430px,.9fr) minmax(480px,1.1fr)}}@media(max-width:1120px){main{padding:28px 25px 15px}.studio-grid{grid-template-columns:minmax(290px,1fr) minmax(290px,1fr);gap:16px}.panel-header{padding:18px}.editor form{padding:20px 18px 15px}.generation-settings{gap:11px}.generation-settings p{font-size:8px}.toast{left:calc(50% + 95px)}.empty-steps{gap:6px;font-size:7px}.empty-steps span{padding:5px}.result-content{padding:18px}footer{padding-left:25px;padding-right:25px}}@media(max-width:900px){.studio-grid{grid-template-columns:1fr}.results-panel{position:static;min-height:410px}.result-content{min-height:345px}.result-empty{height:345px}.page-heading{align-items:flex-start}.page-heading>.button{font-size:10px;padding:9px 11px;margin-top:9px}.page-heading h1{font-size:24px}.page-heading p:not(.eyebrow){font-size:11px}.single .output-image img{height:430px}.toast{left:calc(50% + 85px)}}@media(max-width:600px){main{padding:23px 16px 10px}.page-heading{gap:10px;flex-wrap:wrap;margin-bottom:20px}.page-heading>.button{margin-top:0}.eyebrow{font-size:8px}.page-heading h1{font-size:23px}.notice{padding:12px;align-items:flex-start;gap:8px}.notice .text-button{flex-shrink:0;font-size:9px}.notice p{font-size:10px}.notice strong{font-size:11px}.notice-symbol{margin-top:2px;width:14px;height:14px}.template-layout{grid-template-columns:1fr}.template-library{border-right:0;border-bottom:1px solid var(--border);padding:14px;max-height:160px;overflow:auto}.template-library>.button{width:auto;margin-bottom:7px}.library-template{display:inline-block;width:auto;min-width:135px;margin-right:6px;padding:9px}.template-library p{margin:0;padding:5px}.template-library #template-list{white-space:nowrap;overflow:auto}.library-template strong{font-size:10px}.library-template small{font-size:8px}#template-form{padding:20px}.dialog-header{padding:20px}.dialog-header h2{font-size:17px}.source-previews{grid-template-columns:repeat(4,1fr)}.generation-settings p{font-size:9px}.toast{left:50%;max-width:calc(100vw - 28px);width:max-content}.single .output-image img{height:400px}.output-image img{height:220px}footer{padding:20px 18px}.records th,.records td{padding-left:15px;padding-right:15px}.template-summary p{-webkit-line-clamp:3}}@media(prefers-reduced-motion:reduce){.spinner{animation:none!important}}

.notice.codex{background:#f0f7f2;border-color:#d4e5d9;color:#3f7453}.notice.codex p{color:#7f9b87}.notice.codex .text-button{color:#3f7453}.notice.codex .notice-symbol{border-color:#83ac91}

.output-dimensions{padding:8px 11px 0;font-size:9px;color:#9aaba0;line-height:1.5}
.design-completion{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin-top:18px;border:1px solid #d7e6dd;background:#f4faf6;border-radius:9px}
.design-completion strong{font-size:12px;color:#426b56}.design-completion p{font-size:11px;color:#8b9f93;line-height:1.7;margin:7px 0 0}.design-completion>.button{min-width:100px;flex-shrink:0;text-align:center}
@media(max-width:600px){.design-completion{flex-direction:column;align-items:stretch;gap:12px}.design-completion>.button{width:100%}}

/* Store selection accompanies the business handoff. */
.shop-record-filter {display:flex;gap:12px;align-items:center;padding:18px 24px;border-bottom:1px solid var(--line,#dce6df);color:#71887d;font-size:13px;}
.shop-record-filter select {min-width:230px;max-width:65%;padding:9px 12px;border:1px solid #dce6df;border-radius:6px;background:white;color:#29463b;}
.completion-shop-field {margin:20px 0 0;}
