/* Xiaoqi brand: a bright flag, a focused workspace. */
:root{--ink:#17243b;--muted:#6c7688;--line:#e5e9f0;--green:#ed6436;--mint:#fff1e9;--canvas:#f5f7fb;--font:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;--orange:#ed6436;--navy:#17243b}
body{color:var(--ink);font-size:16px;background:var(--canvas)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#e98860}.sidebar{width:224px;padding:32px 18px 20px;background:var(--navy);border:0;color:white}.brand{padding:0 10px;gap:12px;letter-spacing:0;font-size:30px;color:white;justify-content:flex-start}.flag-logo{width:46px;height:46px;flex:none}.brand-wordmark{font-weight:750;line-height:1.15;letter-spacing:2px}.brand-wordmark small{display:block;font-size:12px;font-weight:400;letter-spacing:1px;color:#a9b3c4;margin-top:9px}.sidebar-description{color:#acb7c9;font-size:15px;line-height:1.9;margin:34px 12px 42px;display:block}.workspace-label{font-size:12px;letter-spacing:1px;color:#8a99b2;margin:0 12px 13px}.sidebar .nav-item{display:flex;font-size:15px;color:#acb7ca;border-radius:10px;padding:13px 14px;margin-bottom:8px;justify-content:flex-start;gap:11px}.sidebar .nav-item.active{background:#ffffff10;color:#fff;box-shadow:inset 3px 0 var(--orange)}.sidebar .nav-item:hover{background:#ffffff12}.sidebar .nav-item.active .icon{color:#ff976d}.nav-count{background:#ffffff10;color:#b8c4d5;font-size:12px}.sidebar-bottom .nav-item{display:flex;font-size:14px}.session-note{color:#8e9bb1;font-size:12px;margin:20px 12px 0;padding-top:18px;border-top:1px solid #ffffff12}.shell{margin-left:224px;padding-bottom:0}.topbar{height:76px;padding:0 40px;background:#ffffffd9;gap:20px}.breadcrumb{font-size:14px;color:#7b8596;gap:12px}.breadcrumb strong{color:#26354b}.compact-brand{display:none}.user-access{margin-left:auto}.user-access>span{color:#536175}.button{border-radius:9px;font-size:14px;padding:11px 17px;font-weight:550}.button.small{font-size:13px;padding:8px 13px}.secondary{border-color:#dfe4ec;color:#45516a;background:white}.secondary:hover{background:#f2f5fa;border-color:#c5cedc}.primary{background:var(--orange);color:white;box-shadow:0 4px 12px #ed64361a}.primary:hover{background:#d9552a}.primary:disabled{background:#f3ad94;color:white;opacity:1;box-shadow:none;cursor:not-allowed}.button:disabled{cursor:not-allowed}.topbar #userLogin{background:var(--navy);color:white;border-color:var(--navy);padding:9px 18px}main{padding:36px 40px 0;max-width:1540px}.page-intro{align-items:center;margin-bottom:25px;gap:18px}.eyebrow{color:#8c624b;font-size:12px;letter-spacing:1.8px;font-weight:600;margin-bottom:12px}.eyebrow:before{content:'';display:inline-block;width:17px;height:2px;background:var(--orange);vertical-align:middle;margin-right:8px}.page-intro h1{font-size:38px;line-height:1.35;letter-spacing:-1px;font-weight:750;margin:0 0 14px;color:var(--navy)}.hero-emphasis{color:var(--orange)}.page-intro p{font-size:15px;line-height:1.9;color:#697588;margin:0;max-width:650px}.hero-tags{display:flex;gap:10px;margin-top:16px}.hero-tags span{font-size:12px;letter-spacing:.3px;color:#66748a;border:1px solid #e1e7ef;border-radius:5px;padding:3px 9px;background:#fff}.page-intro>.button{color:#59677e;font-size:14px;flex-shrink:0}.workflow-strip{display:flex;align-items:center;gap:16px;padding:17px 0 23px;margin-bottom:6px;border-top:1px solid var(--line)}.workflow-strip>span{font-size:13px;color:#68768a;display:flex;align-items:center;gap:8px;white-space:nowrap}.workflow-strip b{font-size:11px;display:grid;place-items:center;width:22px;height:22px;border:1px solid #d7dee8;border-radius:50%;font-weight:600;background:white;color:#718099}.workflow-strip>span:first-child{color:#27364e}.workflow-strip>span:first-child b{color:white;background:var(--navy);border-color:var(--navy)}.workflow-strip i{height:1px;width:42px;background:#dce2eb}.studio{display:grid;grid-template-columns:340px minmax(0,1fr);gap:28px;align-items:start}.configuration{border:1px solid var(--line);border-radius:16px;box-shadow:0 6px 22px #17243b04;background:white;overflow:hidden}.config-title{padding:19px 21px;gap:9px;background:white;border-color:#edf0f5}.config-title>.icon{color:var(--orange);width:19px;height:19px}.config-title h2{font-size:16px;font-weight:650}.config-title>span{font-size:12px;color:#8a94a3;margin-left:auto}.config-body{padding:0 21px}.field-heading{margin:23px 0 11px}.field-heading h3{font-size:14px;font-weight:600;color:#354158}.field-heading>span{font-size:12px;color:#8c97a8}.photo-upload{height:205px;border:1.5px dashed #d9dfe8;border-radius:12px;background:linear-gradient(150deg,#fffaf6,#fafbfd);transition:background .2s,border-color .2s}.photo-upload:hover,.photo-upload.dragover{border-color:#ed956e;background:#fff4ed;outline:0}.upload-placeholder{color:#536378;gap:9px}.upload-placeholder>.icon{width:40px;height:40px;color:var(--orange);padding:9px;background:#fff;border:1px solid #f7dccd;border-radius:12px;box-sizing:content-box;margin-bottom:7px}.upload-placeholder>b{font-size:16px;font-weight:600;color:#2b3b53}.photo-upload .upload-placeholder>span{color:#8d97a6;font-size:13px}.upload-hint{font-size:12px;line-height:1.85;color:#8a93a1;margin:12px 0 0}.upload-filename{font-size:12px;color:#7c8999;line-height:1.8}.image-purpose{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;background:transparent}.image-purpose button{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:13px 10px;background:#fff;border:1px solid #e2e7ef;border-radius:10px;text-align:left;color:#6c798b;font-size:14px;box-shadow:none}.image-purpose button small{display:block;font-size:11px;color:#929dad;font-weight:400;margin-top:3px}.image-purpose .icon{width:19px;height:19px}.image-purpose button.selected{background:#fff5ee;border-color:#f09772;color:#bf542d;box-shadow:0 0 0 1px #f0977210}.image-purpose button.selected small{color:#b88065}.image-output-settings{font-size:13px;color:#69778a;gap:12px;margin-top:23px}.image-output-settings select{background:#fafbfd;border-color:#e2e7ee;color:#35445d;font-size:14px;padding:10px;border-radius:8px}.style-options .style{font-size:12px;color:#748096}.style.selected{color:#c3613c}.style.selected .style-thumb{outline-color:#ed956e}.reference-note{color:#8b95a2;font-size:12px}.scene-reference{background:#f3f5f9}.scene-reference p{color:#69788d}.prompt-wrap{background:#fafbfd;border-color:var(--line)}.prompt-wrap textarea{font-size:14px;color:#41516a}.retouch-setting{background:#f7f8fb;border:1px solid #edf0f5;color:#40506a;padding:13px;border-radius:10px}.retouch-setting input{accent-color:var(--orange)}.retouch-setting b{font-size:14px;font-weight:600}.retouch-setting small{color:#8a94a4;font-size:12px;line-height:1.8}.quality-setting{background:white;border:1px solid #e6ebf2;color:#53657d;border-radius:10px;padding:13px}.quality-setting>b{font-size:14px;color:#465770;font-weight:600}.quality-setting p{font-size:12px;color:#8a94a4;line-height:1.85}.quality-setting small{font-size:12px;color:#a0816b}.identity-note{font-size:12px;color:#8a94a4;line-height:1.8}.identity-note .tiny-icon{color:#8a94a4}.generate-footer{background:#fff;border-color:#edf0f5;padding:18px 21px}.generate-footer .primary{font-size:15px;padding:13px}.generate-footer p{font-size:11px;color:#939bab;line-height:1.8;text-align:left;display:block;margin-top:11px}.results-toolbar{margin:0 0 15px;min-height:40px;height:auto}.results-heading h2{font-size:16px;font-weight:650;color:#354158}.results-heading>span{font-size:12px;color:#8a96a8}.image-empty-state{display:block;min-height:0;padding:26px 24px 22px;border:1px solid #e2e7f0;border-radius:16px;background:linear-gradient(160deg,#fff,#f9faff);text-align:center;overflow:hidden}.example-label{font-size:11px;letter-spacing:1px;color:#9a745e;background:#fff3e9;border:1px solid #fae1d0;padding:4px 8px;border-radius:4px}.image-empty-state h2{font-size:24px;letter-spacing:-.5px;color:#293c59;line-height:1.5;margin:17px 0 7px;font-weight:650}.image-empty-state .empty-heading p{font-size:13px;color:#8994a6;line-height:1.8;margin:0}.example-gallery{display:flex;gap:14px;position:relative;margin:34px auto 18px;max-width:560px;align-items:center;padding:8px}.example-card{width:50%;min-width:0;margin:0;padding:7px;background:#fff;border:1px solid #e9eaf0;border-radius:12px;box-shadow:0 13px 24px #283b5b0b;text-align:left}.example-white{transform:rotate(-5deg) translateY(5px)}.example-scene{transform:rotate(5deg) translateY(-6px)}.example-photo{aspect-ratio:1;background-size:200% 200%;border-radius:7px}.example-card figcaption{display:flex;flex-direction:column;gap:4px;padding:10px 7px 8px}.example-card figcaption span{font-size:13px;font-weight:600;color:#3c4e68}.example-card figcaption small{font-size:11px;color:#a1aaba}.example-stamp{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%) rotate(-8deg);width:46px;height:46px;box-shadow:0 4px 12px #26395725;border:3px solid white;border-radius:14px;overflow:hidden}.example-stamp img{width:100%;height:100%}.image-empty-state .example-disclaimer{font-size:11px;color:#a1aaba;margin:17px 0 23px;line-height:1.7}.empty-next{padding-top:20px;border-top:1px solid #e7ebf2}.empty-step{font-size:11px;letter-spacing:1px;color:#a0a9b7}.image-empty-state .empty-next p{font-size:14px;color:#66778f;margin:7px 0 15px;line-height:1.8}.empty-next .button{font-size:13px;background:#fff;border-color:#dce3ed;color:#435774}.result-card{border-color:#e3e8f0;border-radius:14px;display:block!important}.result-image{background:#fafbfd}.image-card-bottom{padding:14px;color:#33455f}.retouch-label{color:#8b97a8}.quality-result.passed{background:#f2f6fb;color:#56728b}.quality-result{font-size:12px}.text-button{color:#b86e4e}.image-status{background:#f0f4fa;border-color:#e1e7f2}.image-status b{color:#435d81}.image-status p{color:#7b8fa9}.agent-symbol{background:#fff;border-color:#dfe7f3;color:#e57d56}.generation-availability{background:#fff4e9;border-color:#f0d9c5;color:#9c704c}.gallery-view{border-color:#e2e7f0;border-radius:16px}.app-footer{font-size:12px;color:#98a2b3;padding:0 40px 24px;margin-top:30px;gap:15px}.app-footer a{font-size:11px;white-space:nowrap}.toast{background:var(--navy)}.modal{border-radius:18px}.modal-header{border-color:var(--line)}.modal-header h2{color:#354966}.modal-header .icon-button{color:#778ba5}#modalBody{color:#75859a}.modal-hint{background:#f5f7fb}.email-backdrop{background:#101c325c;backdrop-filter:blur(5px)}.email-dialog{border-color:#e7eaf1;border-radius:20px;box-shadow:0 25px 70px #17243b20}.email-brand{display:flex;gap:10px;align-items:center;font-size:14px;color:#53647d}.email-brand:before{content:'';width:30px;height:30px;background:url('/brand/flag.svg') center/contain no-repeat}.email-dialog h2{color:var(--navy)}.email-dialog>p,.email-dialog .email-foot{color:#8a96a7}.email-dialog label{color:#4c5d76}.email-dialog input{border-color:#dce2ec;background:#fafbfd;color:#293c56}.email-dialog input:focus{outline-color:#eaa282}.email-message{color:#6f829e}.email-close{color:#8190a4}.email-message.is-error{color:#b65f40}
@media(min-width:1500px){main{padding:42px 48px 0}.studio{grid-template-columns:360px minmax(0,1fr);gap:32px}.image-empty-state{padding:36px 32px 26px}.example-gallery{margin-top:44px;margin-bottom:28px}.page-intro h1{font-size:42px}}
@media(max-width:1200px){.sidebar{width:190px;padding:28px 12px 20px}.shell{margin-left:190px}.brand{padding:0 8px;font-size:28px;gap:8px}.flag-logo{width:39px;height:39px}.brand-wordmark small{font-size:11px}.topbar{padding:0 28px}main{padding:28px 28px 0}.studio{grid-template-columns:310px minmax(0,1fr);gap:20px}.config-body{padding:0 18px}.page-intro h1{font-size:34px}.example-gallery{gap:8px;padding:0}.image-empty-state{padding:23px 16px}.image-empty-state h2{font-size:21px}.example-card figcaption small{font-size:10px}.example-stamp{width:36px;height:36px;border-radius:11px}.app-footer{padding:0 28px 24px}.sidebar-description{display:block}.session-note{display:block}}
@media(max-width:1050px){.sidebar{display:none}.shell{margin-left:0;padding-bottom:72px}.compact-brand{display:flex;align-items:center;gap:9px;font-size:21px;color:var(--navy);flex-shrink:0}.compact-brand img{width:33px;height:33px}.topbar{height:68px;padding:0 26px}.breadcrumb{margin-left:5px;padding-left:22px;border-left:1px solid #e6eaf1}.breadcrumb>span{display:none}main{padding:28px 26px 0}.studio{grid-template-columns:320px minmax(0,1fr)}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fffffff5;border-top:1px solid #e5e9f0;backdrop-filter:blur(12px);padding:8px 20px calc(8px + env(safe-area-inset-bottom));gap:20px}.mobile-nav .nav-item{display:flex;flex-direction:row;gap:8px;justify-content:center;font-size:13px;padding:9px;margin:0;color:#8995a7}.mobile-nav .nav-item.active{background:#fff1e9;color:#c65d36}.mobile-nav .nav-item .icon{width:17px;height:17px}.results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-card:nth-child(n+3){display:block}}
@media(max-width:760px){main{padding:26px 20px 0}.topbar{padding:0 20px;height:65px}.breadcrumb{font-size:12px;padding-left:16px}.page-intro{align-items:flex-start;margin-bottom:23px}.page-intro h1{font-size:33px;margin-bottom:12px;line-height:1.35;letter-spacing:-.7px}.page-intro p{font-size:14px;max-width:490px;line-height:1.8}.eyebrow{font-size:11px;letter-spacing:1.1px;margin-bottom:12px}.page-intro>.button{font-size:0;padding:10px;margin-top:36px}.page-intro>.button .icon{width:18px;height:18px}.hero-tags{margin-top:14px;gap:8px}.hero-tags span{font-size:11px;padding:2px 8px}.workflow-strip{gap:10px;padding:15px 0 19px}.workflow-strip i{width:20px}.workflow-strip>span{font-size:12px;gap:6px}.workflow-strip b{width:20px;height:20px;font-size:10px}.studio{display:flex;flex-direction:column;gap:28px}.configuration,.results-workspace{width:100%}.config-body{padding:0 21px}.config-title{padding:18px 21px}.photo-upload{height:195px}.image-purpose button{padding:14px 12px;gap:10px}.image-purpose button small{font-size:12px}.image-empty-state{padding:25px 22px 23px}.image-empty-state h2{font-size:24px}.example-gallery{max-width:420px;gap:16px;margin-top:32px;padding:8px}.example-card figcaption small{font-size:11px}.example-stamp{width:43px;height:43px;border-radius:13px}.results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-card-bottom .button{width:auto}.app-footer{padding:0 20px 24px;font-size:11px}.email-dialog{padding:29px 26px}.retouch-setting,.quality-setting{padding:14px}.retouch-setting small,.quality-setting p{font-size:13px}.upload-hint{font-size:13px}.identity-note{font-size:12px}}
@media(max-width:430px){.breadcrumb{display:none}.page-intro h1{font-size:27px}.page-intro p{font-size:13px}.eyebrow{font-size:10px}.workflow-strip{gap:8px}.workflow-strip i{width:9px}.workflow-strip>span{font-size:11px;gap:5px}.workflow-strip b{width:18px;height:18px}.hero-tags{gap:7px}.hero-tags span{font-size:10px}.results-grid{grid-template-columns:1fr}.image-purpose button{padding:13px 9px;font-size:13px}.image-purpose button small{font-size:11px}.image-empty-state h2{font-size:21px}.image-empty-state .empty-heading p{font-size:12px}.example-gallery{gap:10px}.example-card figcaption{padding:8px 4px 6px}.example-card figcaption small{font-size:10px}.app-footer{flex-wrap:wrap}.user-access>span{max-width:100px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.quality-setting summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;gap:12px}.quality-setting summary::-webkit-details-marker{display:none}.quality-setting summary>span{font-size:14px;font-weight:600;color:#4b5d77}.quality-setting summary>small{font-size:11px;color:#8b9ab0;display:flex;gap:8px;align-items:center}.quality-setting summary>small:after{content:'+';font-size:16px;font-weight:400;color:#8b9ab0}.quality-setting[open] summary>small:after{content:'−'}.quality-setting[open] summary{margin-bottom:10px}
/* Current platform focus; labels belong to the UI, not downloaded image pixels. */
.amazon-badge{display:inline-flex;align-items:center;gap:6px;background:#17243b;color:#fff;border:1px solid #17243b;border-radius:5px;padding:4px 8px;font-size:11px;font-weight:600;letter-spacing:.2px;white-space:nowrap;line-height:1.5}.amazon-badge:before{content:'';width:4px;height:10px;background:#ff9b59;border-radius:2px}.hero-tags{flex-wrap:wrap}.hero-tags .amazon-badge{color:#fff;background:#17243b;border-color:#17243b;font-size:12px;letter-spacing:.2px;padding:3px 9px}.image-labels{position:absolute;top:10px;left:10px;right:10px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;pointer-events:none}.image-labels .image-type{position:static;font-size:11px;padding:4px 7px;line-height:1.5;white-space:nowrap}.image-labels .amazon-badge{font-size:10px;padding:4px 7px;box-shadow:0 2px 8px #17243b12}
