:root{--ink:#172d29;--muted:#61736b;--green:#276653;--line:#dce5df;--bg:#f6f8f7;--soft:#e7efeb;--paper:#fff;--radius:14px;--display:"Songti SC","SimSun",serif;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #83bba7;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}small{display:block}.hidden{display:none!important}.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}
.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:var(--paper);border-right:1px solid var(--line);padding:30px 20px 24px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;white-space:nowrap}.brand-mark{width:36px;height:42px;background:var(--green);color:#fff;border-radius:8px 8px 15px 15px;display:grid;place-items:center;font-family:var(--display);font-size:23px;flex-shrink:0}.brand small{font-size:10px;font-weight:400;color:var(--muted);margin-top:5px}.workspace-label{margin:43px 12px 13px;font-size:11px;color:var(--muted)}nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;text-align:left;gap:11px;border-radius:8px;padding:13px 14px;min-height:48px;font-size:13px;color:var(--muted)}.nav-item:hover{background:var(--bg)}.nav-item.active{color:var(--green);background:var(--soft);font-weight:600}.nav-item>span{display:flex}.nav-item b{margin-left:auto;font-size:11px;font-weight:400}.sidebar-note{margin:40px 12px 20px}.small-title{font-size:11px;color:var(--green)}.sidebar-note p{font-family:var(--display);font-size:18px;line-height:1.8;margin:9px 0 12px}.sidebar-note .text-button{font-size:11px}.side-bottom{margin-top:auto}.connection{display:flex;gap:9px;padding:14px 9px 20px;align-items:center;font-size:11px;border-bottom:1px solid var(--line)}.connection i{width:6px;height:6px;background:#56816a;border-radius:50%;flex-shrink:0}.connection small{font-size:10px;color:var(--muted);margin-top:4px}.account{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:17px 8px 4px;font-size:12px;border-radius:8px}.account:hover,.account.active{background:var(--bg)}.account>span:last-child{margin-left:auto;display:flex;color:var(--muted)}.avatar{width:33px;height:33px;display:grid;place-items:center;background:var(--soft);border-radius:50%;flex-shrink:0;color:var(--green);font-size:14px}.account small{font-size:10px;color:var(--muted);margin-top:2px}#account-label{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
main{margin-left:224px;min-height:100vh}.topbar{min-height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:15px 40px;gap:16px;font-size:12px}.location{color:var(--muted)}.slash{margin:0 12px;color:#94a59b}.top-actions{display:flex;gap:18px;align-items:center}.budget{color:var(--muted);font-size:11px;white-space:nowrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 17px;min-height:40px;border:1px solid var(--line);border-radius:7px;background:#fff;font-weight:500;font-size:13px}.button:hover{background:var(--soft)}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.primary:hover{background:#1e5343}.button.quiet{background:transparent}.button.small{padding:8px 13px;font-size:12px;min-height:36px}.button.wide{width:100%;justify-content:center}.button.wide>span{margin-left:auto}.text-button{display:inline-flex;align-items:center;gap:9px;font-size:12px;color:var(--green);padding:8px 0;text-align:left;min-height:36px}.text-button:hover{text-decoration:underline}.text-button .icon{width:16px;height:16px}.view{padding:34px 40px 0;max-width:1380px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:29px}.eyebrow{font-size:11px;color:var(--green);margin-bottom:9px}h1{font-family:var(--display);font-size:33px;line-height:1.4;letter-spacing:.015em;font-weight:600}.intro-copy{font-size:13px;color:var(--muted);margin-top:9px;line-height:1.8}.intro .button{flex-shrink:0}.tag{font-size:10px;border:1px solid #c0d0c7;border-radius:4px;padding:4px 7px;color:var(--green);white-space:nowrap}.flow{display:flex;align-items:center;gap:17px;margin:0 0 25px;color:var(--muted);font-size:12px}.flow span{display:flex;gap:9px;align-items:center}.flow b{width:25px;height:25px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:400}.flow .active{color:var(--green)}.flow .active b{background:var(--green);color:white;border-color:var(--green)}.flow i{width:37px;height:1px;background:var(--line)}
.editor-layout{display:grid;grid-template-columns:minmax(340px,1.35fr) minmax(280px,.9fr);gap:26px;align-items:start}.brief-panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:25px}.panel-heading h2{font-size:18px;font-weight:600}.panel-heading p{font-size:12px;color:var(--muted);margin-top:5px}.form-section{padding:24px 0 7px;border-top:1px solid var(--line)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-head h2{font-size:15px;font-weight:600}.section-head h3,.output-head h3{font-size:14px;font-weight:600}.section-head>span:not(.tag){font-size:11px;color:var(--muted)}.brief-panel label,dialog label,.profile-edit label{display:block;font-size:12px;line-height:1.7;margin-bottom:18px}.optional{color:var(--muted);font-size:10px;margin-left:5px}input:not([type=checkbox]):not([type=file]),select,textarea{border:1px solid #ccd8d0;border-radius:6px;background:#fff;padding:11px 12px;width:100%;color:var(--ink);margin-top:7px;min-height:44px}input::placeholder,textarea::placeholder{color:#73817a;font-size:12px}input:focus,select:focus,textarea:focus{border-color:var(--green)}textarea{resize:vertical;line-height:1.9;min-height:110px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.idea-label>span{float:right;font-size:10px;color:var(--muted);margin-top:3px}.idea-prompts{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin:-7px 0 24px}.idea-prompts b{font-weight:400}.idea-prompts b:before{content:'·';margin-right:8px;color:#94a59b}.upload-label{margin-bottom:7px!important}.upload-zone{display:flex!important;align-items:center;gap:12px;border:1px dashed #bfcfc5;border-radius:7px;padding:17px 14px;background:#fafcfb;cursor:pointer;min-height:79px}.upload-zone:hover{background:var(--soft)}.upload-zone input{position:absolute;width:1px;height:1px;opacity:0}.upload-zone:focus-within{outline:3px solid #83bba7;outline-offset:3px}.upload-icon{color:var(--green);display:flex}.upload-zone small{font-size:10px;color:var(--muted);margin-top:3px}.upload-action{margin-left:auto;color:var(--green);font-size:11px;flex-shrink:0}.process-options{padding:12px 14px;margin:21px 0 17px;background:var(--bg);border-radius:6px}.process-options summary{font-size:12px;cursor:pointer}.process-options summary span{float:right;color:var(--muted);font-size:10px}.process-options p{font-size:11px;line-height:1.8;margin-top:10px}.output-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.output-head p{font-size:11px;color:var(--muted);margin-top:4px}.output-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.output-options label{display:flex;align-items:center;gap:10px;margin:0;font-size:12px;cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:12px 10px;min-height:66px}.output-options label:has(input:checked){background:#f0f6f2;border-color:#b5cfc0}.output-options label small{font-size:10px;color:var(--muted);margin-top:2px}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px;margin:0;flex-shrink:0}.generate-footer{margin-top:20px}.generate-footer p{font-size:11px;color:var(--muted);margin-bottom:12px;line-height:1.8}.generate-footer .button{padding:14px 18px;min-height:48px}
.preview-panel{position:sticky;top:24px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px;overflow:hidden}.preview-panel .section-head{margin-bottom:17px}.vessel-stage{display:block;aspect-ratio:1;overflow:hidden;border-radius:8px;background:#edf1ee}.vessel-stage img{display:block;width:100%;height:100%;object-fit:cover}.preview-caption{margin-top:20px}.preview-caption p{font-family:var(--display);font-size:23px;line-height:1.6;overflow-wrap:anywhere}.preview-caption span{display:block;font-size:12px;margin-top:5px;color:var(--muted)}.preview-note{font-size:10px;color:var(--muted);line-height:1.8;margin:12px 0 22px}.preview-brief{margin:0;padding:0 0 20px;border-bottom:1px solid var(--line);font-size:12px}.preview-brief>div{display:grid;grid-template-columns:76px 1fr;gap:12px;margin-top:12px}.preview-brief dt{color:var(--muted)}.preview-brief dd{margin:0;overflow-wrap:anywhere}.next-preview{padding-top:22px;display:flex;gap:11px;align-items:flex-start}.next-preview>span{color:var(--green);display:flex;margin-top:2px}.next-preview h3{font-size:12px;font-weight:500}.next-preview p{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.9}.next-preview .text-button{font-size:11px;margin-top:6px}.reference-preview{text-align:center;margin:20px 0}.reference-preview img{max-width:100%;max-height:170px;object-fit:contain;border-radius:6px}.reference-preview small{color:var(--muted);margin-top:8px;font-size:10px}footer{font-size:10px;max-width:1380px;margin:30px auto 0;padding:20px 40px 28px;color:var(--muted);display:flex;justify-content:space-between;gap:15px}
.generation-status{background:var(--soft);padding:20px 24px;margin-bottom:24px;border-radius:10px;line-height:1.8;color:#244e3e}.generation-status.has-error{background:#fff2e8;color:#793b24}.generation-status p{margin:10px 0}.generation-status .button{margin-top:10px}.status-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.status-line>span:last-child{font-size:12px;margin-left:auto}.loading-mark{display:inline-block;width:14px;height:14px;border:2px solid #d4e3db;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.results{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.result-header{padding:28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:22px}.result-header>div:first-child{max-width:58%;min-width:0}.result-header h2{font-size:27px;font-family:var(--display);margin-top:12px;line-height:1.6}.result-header p{color:var(--muted);font-size:13px;line-height:1.9;margin-top:8px}.actions{display:flex;gap:8px;flex-wrap:wrap}.result-cover{display:grid;grid-template-columns:minmax(200px,1.2fr) minmax(180px,.8fr);gap:32px;align-items:center;padding:28px;background:#edf3ef}.cover-image{padding:0;width:100%;border-radius:9px;overflow:hidden}.cover-image img{display:block;width:100%;max-height:400px;object-fit:contain;background:#e4eae6}.result-cover h3{font-size:25px;line-height:1.6;font-family:var(--display)}.result-cover p:not(.eyebrow){color:#4e6559;line-height:1.9;margin:12px 0;font-size:13px;max-width:35ch}.result-tabs{display:flex;gap:26px;padding:0 28px;border-bottom:1px solid var(--line);overflow:auto;white-space:nowrap}.result-tabs button{padding:17px 0;font-size:13px;border-bottom:2px solid transparent;color:var(--muted)}.result-tabs button.active{border-color:var(--green);color:var(--green);font-weight:600}.result-content{padding:28px;min-height:300px;overflow-wrap:anywhere}.result-content label{display:block;font-size:13px}.notice{background:#f0f5f2;color:#3e5b4e;font-size:12px;padding:13px 15px;line-height:1.9;border-radius:6px;margin-bottom:22px}.result-content h3{font-size:15px;margin-bottom:12px}.concept-item{display:grid;grid-template-columns:140px 1fr;gap:26px;padding:22px 0;border-bottom:1px solid var(--line)}.concept-item:last-child{border:0}.concept-item h3{font-size:13px;color:var(--green);margin:0}.concept-item p{font-size:14px;line-height:2;white-space:pre-wrap}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.content-list{padding-left:20px;font-size:13px;line-height:2}.content-list li{margin-bottom:12px}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:14px 10px;line-height:1.8}th{background:var(--bg);font-size:11px;color:var(--muted);font-weight:500}.result-image{background:#eef3f0;border-radius:8px;height:320px;display:grid;place-items:center}.result-image svg{width:100%;height:100%;max-width:470px}.image-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.image-gallery figure{margin:0;min-width:0}.image-gallery figure>button{display:block;padding:0;width:100%;background:#eef2ef;border-radius:9px;overflow:hidden}.image-gallery img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.image-gallery figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;font-size:13px}.refine-area{padding:28px;border-top:1px solid var(--line);background:#fafcfb}.refine-area h3{font-size:16px}.refine-area>div p{color:var(--muted);line-height:1.8;margin:8px 0 20px;font-size:13px}.refine-area textarea{min-height:86px}.refine-area label{font-size:13px}.refine-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px}.refine-actions label,.check-label{display:flex;align-items:center;gap:9px;line-height:1.7}.version-area{padding:22px 28px;border-top:1px solid var(--line)}.version-area summary{cursor:pointer;font-size:14px;color:var(--green)}#version-list{margin-top:18px;line-height:1.8;color:var(--muted)}.version-row{display:flex;gap:16px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0;font-size:13px}.version-row>span{flex:1;min-width:0;overflow-wrap:anywhere}.version-row small{font-size:11px;margin-top:4px}.cost-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.cost-fields label{font-size:11px;color:var(--muted)}.cost-total{margin:25px 0;font-size:21px;color:var(--green)}.cost-total small{font-size:11px;color:var(--muted);margin-top:10px}
.empty{text-align:center;padding:60px 24px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.empty h2{font-family:var(--display);font-size:24px;margin:10px 0}.empty p{line-height:1.9;color:var(--muted);margin-bottom:20px;font-size:13px}.empty .symbol{color:var(--green)}.empty .symbol .icon{width:30px;height:30px}.project-list{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.project-row{display:flex;align-items:center;gap:16px;padding:22px;border-bottom:1px solid var(--line);width:100%;text-align:left}.project-row:last-child{border:0}.project-row:hover{background:#f0f5f2}.project-symbol{width:48px;height:52px;background:var(--soft);display:grid;place-items:center;border-radius:8px;flex-shrink:0;color:var(--green)}.project-row>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.project-row h3{font-size:15px;font-weight:500}.project-row p{font-size:11px;color:var(--muted);margin-top:6px}.project-row .arrow{margin-left:auto}.history-search{display:block;margin:0 0 22px;max-width:420px;font-size:12px}
.template-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:22px}.filter-group{display:flex;gap:6px;flex-wrap:wrap}.filter-group button{padding:7px 15px;border-radius:6px;min-height:36px;font-size:12px;color:var(--muted)}.filter-group button:hover{background:var(--soft)}.filter-group button.active{background:var(--green);color:#fff}.template-search{position:relative;width:260px;flex-shrink:0}.template-search>span{position:absolute;left:12px;top:14px;color:var(--muted);width:17px;height:17px;display:flex}.template-search input{margin:0!important;padding-left:38px!important;font-size:12px}.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.catalog-heading p{font-size:13px}.catalog-heading>span{font-size:10px;color:var(--muted)}.template-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.template{border:1px solid var(--line);background:#fff;border-radius:11px;overflow:hidden;min-width:0}.template-stage{display:block;position:relative;padding:0;width:100%;aspect-ratio:1.08;background:#edf1ee;overflow:hidden}.template-stage img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}.template-stage:hover img{transform:scale(1.025)}.template-group{position:absolute;left:13px;top:13px;padding:3px 8px;background:#ffffffed;font-size:10px;border-radius:4px;color:var(--green)}.template-content{padding:20px}.template-content h2{font-family:var(--display);font-size:21px;line-height:1.6;font-weight:600}.template-content p{font-size:12px;color:var(--muted);line-height:1.9;margin:7px 0 13px}.template-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:17px}.template-tags span{font-size:10px;color:var(--muted);background:var(--bg);padding:3px 7px;border-radius:4px}.template-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:14px;border-top:1px solid var(--line)}.template-actions .text-button{font-size:11px}.template-actions .button{font-size:12px;padding:8px 11px}.template-detail{position:relative;display:grid;grid-template-columns:.8fr 1.2fr;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin:0 0 26px}.template-detail>img{display:block;width:100%;height:100%;min-height:360px;object-fit:cover}.template-detail-copy{padding:30px}.template-detail-copy h2{font-family:var(--display);font-size:28px;margin-bottom:9px;line-height:1.5}.template-detail-copy>p{color:var(--muted);font-size:13px}.template-detail-copy ul{padding-left:19px;font-size:13px;line-height:1.9;margin:17px 0}.template-detail-copy li{margin:7px 0}.template-detail-meta{font-size:12px;line-height:1.9;padding-top:16px;border-top:1px solid var(--line)}.template-detail-meta p{margin-bottom:6px}.template-detail .notice{margin:18px 0;font-size:11px}.template-close{position:absolute;right:12px;top:12px;width:34px;height:34px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:50%}
.account-hero{display:flex;align-items:center;gap:20px;background:#eaf1ed;border:1px solid #d8e4dc;border-radius:var(--radius);padding:28px 30px;margin-bottom:25px}.profile-avatar{width:68px;height:68px;flex-shrink:0;display:grid;place-items:center;background:#d7e6dc;color:var(--green);font-family:var(--display);font-size:29px;border-radius:50%}.account-identity{min-width:0;overflow-wrap:anywhere}.account-identity h2{font-family:var(--display);font-size:28px;line-height:1.5}.account-identity p{font-size:13px;color:var(--muted);margin:4px 0 6px}.account-identity small{font-size:11px;color:var(--muted)}.account-hero>.button{margin-left:auto;flex-shrink:0;background:transparent}.account-tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:25px}.account-tabs button{padding:10px 0 14px;font-size:13px;border-bottom:2px solid transparent;color:var(--muted)}.account-tabs button.active{border-color:var(--green);color:var(--green);font-weight:600}.account-panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:27px 30px}.account-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:8px}.account-panel-heading h2{font-size:18px}.account-panel-heading p{font-size:12px;color:var(--muted);margin-top:5px}.account-panel-heading .button{flex-shrink:0}.profile-data{margin:8px 0 0}.profile-data>div{display:grid;grid-template-columns:140px 1fr;gap:22px;padding:20px 0;border-bottom:1px solid var(--line);font-size:13px}.profile-data>div:last-child{border:0}.profile-data dt{color:var(--muted)}.profile-data dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.not-set{color:var(--muted);font-size:12px}.profile-meta{display:flex;gap:9px;align-items:flex-start;background:var(--bg);padding:13px 15px;border-radius:6px;font-size:11px;color:var(--muted);line-height:1.9;margin-top:10px}.profile-meta>.icon{width:17px;height:17px;margin-top:2px;color:var(--green)}.profile-edit{max-width:740px;margin:25px 0 0}.profile-edit textarea{min-height:120px}.form-help{font-size:11px;color:var(--muted);margin-top:7px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.form-actions>span{margin-right:auto;font-size:11px;color:var(--muted)}.form-message{font-size:12px;color:#923b2c;line-height:1.8;margin:10px 0}.profile-edit .check-label{display:flex;padding:14px;background:var(--bg);border-radius:7px;margin-top:7px;margin-bottom:25px}.status-badge{display:inline-flex;gap:6px;align-items:center;color:var(--green);font-size:12px}.status-badge .icon{width:15px;height:15px}.security-row{display:flex;justify-content:space-between;gap:25px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line)}.security-row:last-child{border:0}.security-row h3{font-size:13px;font-weight:500}.security-row p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:7px}.security-row>.button{flex-shrink:0}.password-edit{background:var(--bg);padding:22px;border-radius:7px;margin:15px 0}.password-edit .profile-edit{margin:0;max-width:100%}.account-footnote{font-size:11px;line-height:1.9;color:var(--muted);margin:18px 0 0}.account-welcome{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.account-welcome>img{width:100%;height:100%;max-height:500px;object-fit:cover;display:block}.account-welcome>div{padding:42px 34px;align-self:center}.account-welcome h2{font-family:var(--display);font-size:29px;line-height:1.5}.account-welcome p{font-size:13px;color:var(--muted);line-height:1.9;margin:13px 0 25px}.account-benefits{margin-bottom:26px;padding:0;list-style:none;font-size:13px;line-height:2.4}.account-benefits li{display:flex;align-items:center;gap:10px}.account-benefits .icon{width:17px;height:17px;color:var(--green)}
.toast{position:fixed;bottom:28px;left:calc(50% + 112px);transform:translateX(-50%);background:var(--ink);color:#fff;padding:14px 22px;border-radius:8px;z-index:99;font-size:12px;max-width:88vw;line-height:1.8}dialog{border:0;border-radius:16px;width:min(440px,calc(100% - 32px));padding:32px;box-shadow:0 20px 65px #172d2930;color:var(--ink)}dialog::backdrop{background:#172d2960}dialog .close{position:absolute;right:14px;top:12px;font-size:27px;color:var(--muted)}dialog .brand-mark{margin-bottom:23px}dialog h2{font-family:var(--display);font-size:26px}dialog form>p{font-size:12px;color:var(--muted);line-height:1.8;margin:12px 0 22px}dialog .error{color:#923b2c;margin:8px 0;min-height:15px;font-size:12px}.auth-note{font-size:10px;color:var(--muted);line-height:1.9;margin-top:17px}.image-dialog{width:min(1000px,94vw);padding:40px 24px 20px}.image-dialog img{display:block;width:100%;max-height:76vh;object-fit:contain}.image-dialog p{margin-top:16px;font-size:12px;color:var(--muted);text-align:center}
@media(max-width:1180px){.sidebar{width:206px;padding:27px 16px}.brand{font-size:13px}.brand small{font-size:9px}main{margin-left:206px}.view{padding:30px 26px 0}.topbar{padding:15px 26px}.editor-layout{gap:20px;grid-template-columns:minmax(320px,1.25fr) minmax(255px,.85fr)}.brief-panel{padding:24px}.preview-panel{padding:19px}.template-list{grid-template-columns:repeat(2,minmax(0,1fr))}.result-header{align-items:flex-start;flex-direction:column;gap:18px}.result-header>div:first-child{max-width:100%}.template-detail-copy{padding:26px}.toast{left:calc(50% + 103px)}}
@media(max-width:850px){main{margin:0}.sidebar{position:static;width:100%;padding:19px 22px 14px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{font-size:14px}.brand small{display:none}.brand-mark{width:30px;height:34px;font-size:20px}.workspace-label,.sidebar-note,.connection{display:none}nav{flex-direction:row;gap:7px;margin-top:16px}.nav-item{font-size:12px;padding:10px 13px;min-height:42px;gap:8px;flex:1}.side-bottom{position:static;margin-top:13px;border-top:1px solid var(--line);padding-top:9px;display:flex;justify-content:flex-end}.account{padding:5px 8px;width:auto;gap:9px}.account small{display:none}.avatar{width:27px;height:27px;font-size:12px}.account>span:last-child>.icon{width:14px;height:14px}#account-label{max-width:230px}.topbar{min-height:58px;padding:12px 22px}.topbar .location,.slash{display:none}.top-actions{gap:12px}.view{padding:29px 22px 0}.editor-layout{grid-template-columns:minmax(300px,1.25fr) minmax(240px,.8fr);gap:18px}.intro h1{font-size:31px}.intro .button{font-size:12px}.template-toolbar{align-items:flex-start;gap:12px;flex-wrap:wrap}.template-search{width:100%;max-width:330px}.template-detail{grid-template-columns:.8fr 1fr}.template-detail-copy h2{font-size:24px}.template-detail>img{min-height:300px}.result-cover{gap:23px}.result-cover h3{font-size:22px}.cost-fields{grid-template-columns:1fr 1fr}.toast{left:50%}footer{padding:20px 22px}.account-panel{padding:25px}.account-hero{padding:25px}.profile-data>div{grid-template-columns:115px 1fr;gap:20px}}
@media(max-width:620px){.sidebar{padding:17px 16px 11px}nav{gap:3px;margin-top:14px}.nav-item{font-size:11px;padding:10px 8px;min-height:42px;gap:6px;justify-content:center}.nav-item .icon{width:16px;height:16px}.nav-item b{margin-left:3px}.side-bottom{margin-top:11px;padding-top:8px}.account{font-size:11px}.account .avatar{width:25px;height:25px}.account .avatar .icon{width:15px;height:15px}.topbar{padding:11px 16px;min-height:57px;gap:10px}.breadcrumb{font-size:11px}.top-actions{gap:9px}.budget{font-size:10px}.topbar .button{font-size:11px;padding:7px 10px;min-height:33px}.topbar .button .icon{display:none}.view{padding:24px 16px 0}.intro{gap:12px;align-items:flex-start;margin-bottom:22px}.intro h1{font-size:28px}.intro-copy{font-size:12px;line-height:1.8;max-width:30ch}.intro .button{font-size:10px;padding:8px 10px;min-height:35px;margin-top:5px;gap:5px}.intro .button .icon{width:14px;height:14px}.eyebrow{font-size:10px;margin-bottom:7px}.flow{gap:10px;font-size:10px;margin-bottom:20px}.flow span{gap:6px}.flow b{width:22px;height:22px;font-size:10px}.flow i{width:18px}.editor-layout{display:flex;flex-direction:column;gap:18px}.brief-panel{width:100%;padding:23px 19px}.panel-heading h2{font-size:17px}.panel-heading p{font-size:11px}.section-head>span:not(.tag){font-size:10px}.field-row{gap:12px}.form-section{padding-top:21px}.brief-panel label,.profile-edit label,dialog label{font-size:13px}.brief-panel input:not([type=checkbox]),.brief-panel select,.brief-panel textarea,.profile-edit input:not([type=checkbox]),.profile-edit select,.profile-edit textarea,dialog input,.refine-area textarea,.result-content input,.result-content textarea,.history-search input,.template-search input{font-size:16px}.brief-panel input::placeholder,.profile-edit input::placeholder{font-size:12px}.upload-zone{padding:15px 10px;gap:10px}.upload-action{font-size:10px}.upload-zone small{font-size:9px}.output-options{gap:9px}.output-options label{font-size:12px;padding:11px 8px;gap:7px}.output-options label small{font-size:9px}.idea-prompts{gap:8px;font-size:9px}.preview-panel{position:static;order:-1;width:100%;padding:17px;display:grid;grid-template-columns:115px 1fr;column-gap:17px}.preview-panel>.section-head{grid-column:1/-1;margin-bottom:14px}.preview-panel .section-head h2{font-size:13px}.vessel-stage{grid-column:1;grid-row:2/5;width:115px;height:115px;aspect-ratio:1;border-radius:6px}.preview-caption{grid-column:2;margin:3px 0 0;align-self:start}.preview-caption p{font-size:20px;line-height:1.5}.preview-caption span{font-size:10px;margin-top:5px}.preview-note{grid-column:2;font-size:9px;margin:9px 0 0;align-self:end}.preview-brief{grid-column:1/-1;display:grid;grid-template-columns:1.6fr 1fr .7fr;gap:13px;margin-top:17px;padding:15px 0 0;border:0;border-top:1px solid var(--line);font-size:11px}.preview-brief>div{display:block;margin:0}.preview-brief dd{margin-top:5px}.next-preview{display:none}.reference-preview{grid-column:1/-1;margin:12px 0}.reference-preview img{max-height:130px}.template-toolbar{margin-bottom:17px;gap:14px}.filter-group{gap:3px}.filter-group button{font-size:11px;padding:7px 13px}.template-search{max-width:none}.catalog-heading{gap:10px;align-items:flex-start}.catalog-heading p{font-size:12px;white-space:nowrap}.catalog-heading>span{font-size:9px;max-width:22ch;text-align:right}.template-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.template-group{left:9px;top:9px;font-size:9px;padding:3px 6px}.template-content{padding:13px}.template-content h2{font-size:18px;line-height:1.6}.template-content p{font-size:10px;line-height:1.9;margin:7px 0 10px;min-height:38px}.template-tags{gap:5px;margin-bottom:13px}.template-tags span{font-size:9px;padding:2px 5px}.template-actions{gap:6px;padding-top:10px;flex-wrap:wrap}.template-actions .button{width:100%;font-size:11px;padding:7px 10px;min-height:35px}.template-actions .text-button{font-size:10px;min-height:30px}.template-detail{grid-template-columns:1fr;margin-bottom:22px}.template-detail>img{height:240px;min-height:0}.template-detail-copy{padding:23px 20px}.template-detail-copy h2{font-size:24px}.template-detail-copy>p,.template-detail-copy ul{font-size:12px}.template-detail-meta{font-size:11px}.account-hero{gap:14px;padding:23px 19px;flex-wrap:wrap;margin-bottom:20px}.profile-avatar{width:53px;height:53px;font-size:24px}.account-identity{flex:1;flex-basis:calc(100% - 67px)}.account-identity h2{font-size:24px}.account-identity p{font-size:11px}.account-identity small{font-size:10px}.account-hero>.button{margin-left:67px;font-size:11px;min-height:34px;padding:7px 11px}.account-tabs{gap:27px;margin-bottom:20px}.account-tabs button{font-size:12px;padding-bottom:12px}.account-panel{padding:23px 19px}.account-panel-heading{gap:13px}.account-panel-heading h2{font-size:17px}.account-panel-heading p{font-size:11px}.account-panel-heading .button{font-size:11px;padding:8px 10px;min-height:35px}.account-panel-heading .icon{width:15px;height:15px}.profile-data>div{grid-template-columns:82px 1fr;gap:13px;padding:18px 0;font-size:12px}.profile-meta{font-size:10px;padding:12px;gap:8px}.profile-edit{margin-top:22px}.form-actions{gap:8px;flex-wrap:wrap}.form-actions>span{flex-basis:100%;margin-bottom:5px}.form-actions .button{font-size:12px}.security-row{gap:14px;align-items:flex-start;flex-wrap:wrap;padding:21px 0}.security-row p{font-size:11px}.security-row>.button{font-size:11px;min-height:35px}.password-edit{padding:18px 13px}.account-footnote{font-size:10px}.account-welcome{grid-template-columns:1fr}.account-welcome>img{height:230px;max-height:230px;object-position:center 55%}.account-welcome>div{padding:27px 23px}.account-welcome h2{font-size:26px}.account-welcome p{font-size:12px}.account-benefits{font-size:12px}.result-header,.result-content,.refine-area{padding:22px 19px}.result-header h2{font-size:24px}.result-header p{font-size:12px}.result-header .actions{gap:7px}.result-header .button{font-size:11px;padding:8px 11px}.result-tabs{padding:0 19px;gap:21px}.result-tabs button{font-size:12px}.concept-item{grid-template-columns:1fr;gap:8px;padding:18px 0}.concept-item p{font-size:13px}.concept-item h3{font-size:12px}.result-cover{grid-template-columns:1fr;padding:19px;gap:19px}.result-cover h3{font-size:22px}.result-cover p:not(.eyebrow){font-size:12px;max-width:none}.result-cover .eyebrow{margin-bottom:7px}.image-gallery{grid-template-columns:1fr}.image-actions .button{font-size:11px;padding:9px 11px}.refine-area>div p{font-size:12px}.refine-actions{align-items:flex-start;flex-direction:column;gap:14px}.refine-actions label{font-size:11px}.refine-actions .button{width:100%;font-size:12px}.version-area{padding:20px 19px}.version-area summary{font-size:13px}.version-row{flex-wrap:wrap;gap:10px}.version-row>span{flex-basis:100%}.version-row{font-size:12px}.version-row .text-button{font-size:11px}.notice{font-size:11px}.generation-status{padding:18px;font-size:12px}.status-line>span:last-child{margin-left:0;width:100%;font-size:11px}table{font-size:11px}th,td{padding:11px 7px}.cost-fields{grid-template-columns:1fr 1fr;gap:12px}.content-list{font-size:12px}.project-row{padding:18px 15px;gap:13px}.project-row h3{font-size:14px}.project-row p{font-size:10px}.project-symbol{width:40px;height:46px}.empty{padding:45px 20px}.empty h2{font-size:23px}.empty p{font-size:12px}.toast{font-size:11px;bottom:20px}footer{padding:20px 16px;flex-direction:column;gap:5px;font-size:9px}.image-dialog{padding:40px 12px 20px}.image-dialog img{max-height:70vh}.image-dialog p{font-size:10px}}
@media(max-width:360px){.template-list{grid-template-columns:1fr}.template-content h2{font-size:21px}.template-actions .button{width:auto}.preview-panel{grid-template-columns:95px 1fr;gap:13px}.vessel-stage{width:95px;height:95px}.preview-caption p{font-size:18px}.topbar .budget{font-size:9px}.flow{gap:8px}.flow i{width:12px}.intro .button{font-size:9px;padding:7px}.nav-item{font-size:10px;gap:4px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff}.sidebar,.topbar,.intro,.flow,#editor,footer,.result-tabs,.actions,.toolbar button,.toast,dialog,.notice,.cost-fields,.refine-area,.version-area{display:none!important}main{margin:0}.view{padding:0}.results{border:0}.result-header{padding:0 0 20px}.result-content{padding:0}h2,h3{break-after:avoid}table,tr,.concept-item{break-inside:avoid}.print-section{margin-bottom:25px}}
