:root{--ink:#172d35;--muted:#64757b;--line:#dce5e5;--accent:#087f72;--soft:#edf5f2;--paper:#f6f8f7;font-family:Inter,'Segoe UI','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.app-header{height:88px;padding:0 max(24px,calc((100vw - 1480px)/2));background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:11px;align-items:center;font-weight:800;letter-spacing:1px}.brand-symbol{display:grid;place-items:center;background:var(--accent);color:white;width:39px;height:39px;border-radius:11px;font-size:25px}.brand small{display:block;font-size:11px;font-weight:500;letter-spacing:2px;margin-top:4px;color:var(--muted)}nav{display:flex;align-items:center;gap:30px;font-size:14px}.text-button{border:0;background:none;color:var(--accent);padding:6px 0}.intro{max-width:1480px;margin:auto;padding:54px 24px 34px;display:flex;align-items:flex-end;justify-content:space-between;gap:40px}.eyebrow{color:var(--accent);font-size:11px;font-weight:750;letter-spacing:2px}h1{font-size:clamp(28px,3vw,43px);line-height:1.3;letter-spacing:-1px;margin:14px 0}p{color:var(--muted);line-height:1.75}.intro p{font-size:15px;margin:0;max-width:750px}.intro-note{min-width:250px;border-left:3px solid var(--accent);padding:6px 0 6px 18px}.intro-note strong,.intro-note span{display:block}.intro-note span{font-size:11px;color:var(--muted);margin-top:9px}.workspace{max-width:1480px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:410px minmax(0,1fr);gap:24px;align-items:start}.brief-panel{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 24px 12px}.panel-heading h2{font-size:18px;margin:0}.panel-heading button{font-size:12px}.engine-note{font-size:11px;margin:0 24px 22px;padding:12px;background:var(--soft);border-radius:6px;line-height:1.6}fieldset{border:0;border-top:1px solid var(--line);margin:0;padding:24px}legend{float:left;width:100%;font-weight:700;font-size:14px;margin-bottom:21px}legend+*{clear:both}legend span{font-size:11px;color:var(--accent);margin-right:10px}legend small{font-size:11px;font-weight:400;color:var(--muted);margin-left:7px}label,.field-label{display:block;font-size:12px;font-weight:600;margin:0 0 17px}label b{color:var(--accent)}input:not([type=radio]):not([type=checkbox]):not([type=file]),select,textarea{display:block;width:100%;margin-top:8px;border:1px solid #cddadb;background:#fff;border-radius:6px;padding:11px 12px;color:var(--ink);font-size:12px;line-height:1.6}textarea{resize:vertical;min-height:75px}input::placeholder,textarea::placeholder{color:#849398;font-weight:400}input:focus,select:focus,textarea:focus{border-color:var(--accent)}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-fields label{min-width:0}.goal-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:8px}.goal-grid label{margin:0;font-weight:400;font-size:11px;display:flex;align-items:center;gap:6px}.goal-grid input{accent-color:var(--accent);margin:0}.palette-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.palette-grid label{border:1px solid var(--line);padding:9px;border-radius:6px;margin:0;display:flex;align-items:center;gap:6px;font-weight:400;font-size:11px}.palette-grid label:has(input:checked){border-color:var(--swatch);background:var(--soft)}.palette-grid input{width:12px;height:12px;accent-color:var(--swatch);margin:0}.palette-grid span:before{content:'';display:inline-block;background:var(--swatch);width:9px;height:9px;border-radius:50%;margin-right:5px}.hint{font-size:10px;line-height:1.7;margin-top:-6px}.file-label{font-weight:400}.file-label input{font-size:11px;width:100%;margin-top:10px}.form-errors{margin:0 24px 18px;border:1px solid #b3344c;padding:12px;color:#a21d37;background:#fff6f7;font-size:12px;line-height:1.7}.form-actions{padding:20px 24px 24px;background:var(--soft)}.form-actions .button{width:100%;justify-content:space-between}.form-actions p{font-size:10px;margin:12px 0 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 17px;border-radius:6px;border:1px solid transparent;font-size:12px;font-weight:650;min-height:44px}.primary{background:var(--accent);color:white}.primary:hover{background:#066759}.secondary{background:white;color:var(--ink);border-color:var(--line)}.secondary:hover{border-color:var(--accent)}.preview-panel{position:sticky;top:20px;min-width:0}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;background:white;border:1px solid var(--line);padding:16px 20px;border-radius:12px 12px 0 0}.preview-toolbar strong{font-size:13px;display:block}.preview-toolbar small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.device-switch{background:var(--paper);padding:3px;border-radius:6px;display:flex;flex-shrink:0}.device-switch button{border:0;background:none;color:var(--muted);border-radius:4px;font-size:11px;padding:8px 14px}.device-switch button.active{background:var(--ink);color:white}.preview-stage{height:650px;background:#e7eeec;border:1px solid var(--line);border-top:0;display:flex;align-items:stretch;justify-content:center;overflow:hidden;border-radius:0 0 12px 12px;padding:0;transition:padding .2s}.preview-stage.mobile{padding:18px}.preview-stage iframe{width:100%;height:100%;border:0;background:white;display:block}.preview-stage iframe[hidden]{display:none}.preview-stage.mobile iframe{width:375px;max-width:100%;border-radius:16px;box-shadow:0 15px 40px #183c2a1f;border:4px solid #223c3b}.empty-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;max-width:520px}.empty-preview[hidden]{display:none}.empty-preview h2{font-size:26px;line-height:1.4;margin:17px 0 0}.empty-preview p{font-size:13px;margin-bottom:25px}.empty-art{width:190px;height:130px;border:1px solid #b6ccc5;border-radius:10px;background:#ffffffae;transform:rotate(-5deg);padding:19px;box-shadow:12px 15px 0 #cfddd5;margin-bottom:45px;display:flex;flex-wrap:wrap;gap:9px}.empty-art i:first-child{background:var(--accent);width:96px;height:8px;border-radius:5px}.empty-art i:nth-child(2){background:#d2e4db;width:100%;height:17px;border-radius:5px}.empty-art i:last-child{background:linear-gradient(90deg,#bcd3c9 48%,transparent 48%,transparent 52%,#e1ebe6 52%);width:100%;height:37px;border-radius:5px}.output-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.output-actions .button{font-size:11px;padding:10px 14px;min-height:40px}.privacy-note{font-size:10px;margin:15px 0 9px}.status{font-size:12px;color:var(--accent);line-height:1.6;min-height:20px}.status.error{color:#a21d37}.history-box{margin-top:16px;border-top:1px solid var(--line);padding-top:16px;font-size:12px}.history-box summary{cursor:pointer}.history-box summary span{background:#e0ebe7;border-radius:20px;padding:2px 7px;margin-left:7px}.history-item{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:7px;background:white;display:flex;justify-content:space-between;align-items:center;gap:12px}.history-item strong,.history-item small{display:block}.history-item small{color:var(--muted);font-size:10px;margin-top:5px}.history-item button{font-size:11px}.next-step{max-width:1432px;margin:58px auto 0;padding:35px 24px;border-top:1px solid var(--line);display:flex;align-items:center;gap:24px}.next-step h2{font-size:18px;flex-shrink:0}.next-step p{font-size:12px;flex:1}.next-step a{color:var(--accent);font-size:12px;flex-shrink:0}footer{text-align:center;font-size:10px;color:var(--muted);padding:24px;border-top:1px solid var(--line)}dialog{max-width:470px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:18px;padding:36px;color:var(--ink)}dialog::backdrop{background:#0b252bbc}dialog h2{margin:13px 0;font-size:27px}dialog p{font-size:12px}.dialog-close{position:absolute;right:16px;top:12px;border:0;background:none;font-size:28px;color:var(--muted)}.contact-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.contact-line strong{color:var(--accent)}dialog img{display:block;margin:25px auto 14px;width:180px;height:180px;object-fit:contain}dialog .hint{text-align:center}@media(min-width:1700px){.preview-stage{height:730px}}@media(max-width:1050px){.workspace{grid-template-columns:340px minmax(0,1fr)}.brief-panel fieldset,.panel-heading{padding-left:18px;padding-right:18px}.intro-note{display:none}.preview-stage{height:600px}.next-step{flex-wrap:wrap}.next-step p{min-width:300px}.palette-grid{gap:5px}.palette-grid label{padding:8px 4px}}@media(max-width:760px){.app-header{height:72px;padding:0 18px}.app-header nav{gap:14px;font-size:11px}.app-header nav a:first-child{display:none}.brand-symbol{width:33px;height:33px;font-size:21px}.brand{font-size:14px}.brand small{font-size:9px}.intro{padding:32px 18px 25px}.intro h1{font-size:29px}.intro p{font-size:12px}.eyebrow{font-size:9px;letter-spacing:1.6px}.workspace{grid-template-columns:1fr;padding:0 14px;gap:22px}.preview-panel{position:static}.preview-stage{height:600px}.empty-preview{padding:25px}.empty-preview h2{font-size:23px}.preview-toolbar{padding:15px}.device-switch button{padding:8px 10px}.next-step{margin-top:32px;gap:0;padding:20px}.next-step p{min-width:100%}.privacy-note{font-size:10px}.output-actions .button{flex:1;white-space:nowrap}.two-fields{gap:10px}.brief-panel fieldset{padding:22px}.next-step h2{font-size:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.quick-generate{width:100%;margin:20px 0 12px}
