@font-face{font-family:LocalSans;src:local("Microsoft YaHei"),local("PingFang SC");font-display:swap}
:root{--ink:#242e2b;--muted:#7a8580;--green:#176b56;--green-dark:#12523f;--green-tint:#edf5f0;--line:#e5e9e6;--paper:#fff;--bg:#f6f8f6;--rail:#26332f;--amber:#9c7536;--font:LocalSans,"Segoe UI",sans-serif}
*{box-sizing:border-box;letter-spacing:0}body{margin:0;background:var(--paper);color:var(--ink);font:13px/1.6 var(--font)}button,input,textarea,select{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible{outline:2px solid #368c73;outline-offset:4px}button{border:0;background:none}a{text-decoration:none;color:inherit}h1,h2,h3,p,figure{margin:0}svg{width:18px;height:18px;stroke-width:1.65;flex-shrink:0}button svg{pointer-events:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.rail{width:66px;background:var(--rail);position:fixed;inset:0 auto 0 0;z-index:20;display:flex;align-items:center;flex-direction:column;gap:12px;padding:23px 0 20px}.brand{width:42px;height:42px;display:grid;place-items:center;margin-bottom:21px;border-radius:6px;color:#eef4f0;overflow:hidden}.brand img{width:58px;height:58px;object-fit:contain;filter:brightness(0) invert(1);opacity:.94}.rail-button{width:40px;height:42px;display:grid;place-items:center;color:#9bada5;border-radius:6px;position:relative}.rail-button svg{width:21px;height:21px}.rail-button:hover{color:#fff;background:#34443d}.rail-button.selected{background:#43584d;color:#e2f1e5}.rail-button.selected:before{content:"";position:absolute;left:-13px;top:13px;height:16px;width:3px;background:#aacdb5;border-radius:2px}.rail-spacer{flex:1}.rail-avatar{border-radius:50%;background:#53635a;color:#eef3ed;width:31px;height:31px;display:grid;place-items:center;font-size:12px;margin-top:8px}.app{margin-left:66px;min-width:0}.topbar{height:64px;border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumbs,.topbar-end{display:flex;align-items:center;gap:13px}.breadcrumbs{color:var(--muted);font-size:12px}.breadcrumbs svg{width:13px;height:13px;color:#a7aea9}.crumb-current{color:#4b5851}.prototype-badge{font-size:10px;border:1px solid #d9e2dc;padding:2px 7px;border-radius:4px;color:#718176;white-space:nowrap}.save-state{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}.save-state svg{width:13px;height:13px;color:#689980}.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:5px;color:#6d7973;position:relative;flex-shrink:0}.icon-button:hover{background:#edf2ee;color:var(--green)}.icon-button.active{background:#e9f1ec;color:var(--green)}.icon-button.small{width:27px;height:27px}.icon-button.small svg{width:15px;height:15px}[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);white-space:nowrap;background:#283a31;color:white;font-size:11px;font-weight:400;padding:4px 8px;border-radius:4px;z-index:60;pointer-events:none}.rail [data-tooltip]:hover:after{left:calc(100% + 10px);bottom:50%;transform:translateY(50%)}
.project-header{display:flex;justify-content:space-between;align-items:center;padding:25px 32px 21px;gap:20px}.project-kicker{font:10px/1.5 "Segoe UI",sans-serif;color:#8b9890;margin-bottom:5px}.title-line{display:flex;gap:20px;align-items:center}h1{font-size:25px;font-weight:600;line-height:1.5}h1>span{font-size:16px;font-weight:400;margin-left:12px;color:#58665e}.project-slogan{margin-top:2px;color:#87938c;font-size:10px}.status-pill{display:inline-flex;gap:6px;align-items:center;background:#f3f5ec;color:#78804f;border:1px solid #e9ecd9;padding:3px 9px;border-radius:4px;font-size:10px;white-space:nowrap}.status-pill>span{width:5px;height:5px;border-radius:50%;background:#939958}.project-actions{display:flex;gap:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 14px;border-radius:5px;font-size:12px;line-height:1.5;transition:background .15s}.button svg{width:15px;height:15px}.button.secondary{border:1px solid #dce3dd;background:white}.button.secondary:hover{background:#f3f7f4}.button.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.button.primary:hover{background:var(--green-dark)}.workflow{padding:15px 32px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px}.step{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:12px;color:#929d96;padding:2px 0}.step-number{width:23px;height:23px;border-radius:50%;background:#f1f3f1;color:#919c95;display:grid;place-items:center;font:11px "Segoe UI",sans-serif;border:1px solid #e9ede9}.step-number svg{height:13px;width:13px}.step.done{color:#576b5f}.step.done .step-number{background:#edf5ef;color:#5f8b73;border-color:#e3eee5}.step.current{color:var(--green);font-weight:600}.step.current .step-number{background:var(--green);color:#fff;border-color:var(--green)}.step small{font-size:10px;color:#a0aaa3;font-weight:400;margin-left:5px}.step.current small{color:#6b9a80}.step-line{height:1px;background:#dce5de;flex:1;max-width:130px;min-width:10px}.step-line.pending{background:#edf0ed}
.workspace{display:grid;grid-template-columns:252px minmax(360px,1fr) 268px;min-height:calc(100vh - 253px);align-items:stretch}.material-panel{padding:20px 21px 14px;border-right:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;min-height:27px;margin-bottom:15px}h2{font-size:13px;font-weight:600}h3{font-size:12px;font-weight:600}.material-preview{height:146px;width:100%;position:relative;border-radius:5px;overflow:hidden;background:#f0f1ec;border:1px solid #e6e9e4}.material-preview>img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.material-preview>span{position:absolute;right:8px;bottom:8px;width:24px;height:24px;background:#ffffffde;border-radius:4px;display:grid;place-items:center;color:#697b6c}.material-preview>span svg{width:13px;height:13px}.file-info{display:flex;align-items:center;gap:6px;font-size:10px;margin:10px 0 12px;color:#59675f;min-width:0}.file-info svg{width:12px;height:12px;color:#7d8b81}.file-info>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.file-info>span:last-child{font-size:9px;color:#a1aaa4;white-space:nowrap}.upload-button{height:31px;border:1px dashed #cbd6ce;border-radius:4px;color:#6d7c72;display:flex;justify-content:center;align-items:center;gap:7px;font-size:11px;flex-shrink:0}.upload-button:hover{background:#f1f6f2;border-color:#769e85}.upload-button svg{height:13px;width:13px}.detail-section{padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}.detail-section h3{display:flex;align-items:center;gap:8px}.tiny-tag{background:#f3f5f2;color:#8a948b;font-size:9px;padding:1px 5px;font-weight:400;border-radius:3px}.observations{margin:11px 0 0;font-size:10px;line-height:1.8}.observations>div{display:flex;gap:12px;margin:6px 0}.observations dt{color:#929b95;min-width:30px}.observations dd{margin:0;color:#58665d}.observations dd.unknown{color:#9d895f}.requirement-copy{font-size:11px;line-height:1.9;color:#69766e;margin-top:10px}.constraint-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.constraint-tags>span{font-size:9px;display:inline-flex;align-items:center;gap:3px;background:#f1f5f1;border-radius:3px;padding:3px 5px;color:#627c69}.constraint-tags svg{width:10px;height:10px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:5px}.section-title>span{font-size:10px;color:#99a29b}.text-button{font-size:10px;color:#668a75;display:flex;align-items:center;gap:2px;padding:0}.text-button svg{height:11px;width:11px}.motif{display:flex;align-items:center;gap:10px;margin:13px 0 9px}.motif-icon{height:34px;width:34px;display:grid;place-items:center;background:#edf3ec;border-radius:5px;color:#6e8c64}.motif-icon svg{width:20px;height:20px}.motif>div{display:flex;flex-direction:column;gap:1px}.motif strong{font-size:12px;font-weight:500}.motif>div>span{font-size:9px;color:#98a096}.plan-section>p{font-size:10px;line-height:1.9;color:#869086}.source-note{margin-top:auto;padding-top:24px;display:flex;gap:6px;align-items:center;font-size:9px;color:#a0a9a2}.source-note svg{width:11px;height:11px}
.design-panel{min-width:0;background:var(--bg);display:flex;flex-direction:column}.design-toolbar{display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line);padding:0 22px;height:57px;flex-shrink:0}.view-tabs{display:flex;gap:23px;height:100%;align-items:stretch}.view-tabs>button{padding:0;position:relative;display:flex;align-items:center;gap:6px;font-size:12px;color:#9aa49d;white-space:nowrap}.view-tabs>button.active{color:var(--green);font-weight:600}.view-tabs>button.active:after{content:"";height:2px;background:var(--green);position:absolute;bottom:0;left:0;right:0}.view-tabs>button>span{background:#eff4ef;color:#6e8c78;font:9px "Segoe UI",sans-serif;padding:2px 4px;border-radius:3px}.view-tabs>button>svg{height:11px;width:11px}.view-tools{display:flex;gap:7px}.canvas{margin:20px 20px 0;background:#eef1ed;border:1px solid #e0e5df;border-radius:6px;position:relative;overflow:hidden}.image-panes{display:grid;grid-template-columns:1fr 1.08fr;min-width:0}.image-pane{position:relative;min-width:0;display:flex;flex-direction:column;overflow:hidden}.original-pane{border-right:1px solid #dee4dd}.output-pane{background:#f8f9f6}.image-pane figcaption{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:15px 16px 0;height:37px;position:relative;z-index:1}.image-label{font-size:10px;color:#617365}.image-code{font:8px "Segoe UI",sans-serif;color:#9aa69b}.version-tag{font:9px "Segoe UI",sans-serif;border:1px solid #d9e5da;color:#72957c;border-radius:3px;padding:1px 4px}.image-area{height:352px;padding:9px 11px 4px;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-area img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .18s ease}.image-bottom-label{text-align:center;font-size:9px;color:#95a08f;margin:5px 0 16px}.canvas-footer{height:40px;border-top:1px solid #dfe6dd;padding:0 12px;display:flex;align-items:center;justify-content:space-between;background:#f5f7f3}.canvas-footer>span{font-size:9px;color:#8c9a8e;display:flex;align-items:center;gap:5px}.canvas-footer>span>svg{width:12px;height:12px}.zoom-controls{display:flex;gap:3px;align-items:center}.zoom-value{font:10px "Segoe UI",sans-serif;color:#6e7a70;width:37px;padding:0}.image-panes.single{grid-template-columns:1fr}.image-panes.single .original-pane{display:none}.design-caption{display:flex;gap:12px;margin:19px 23px 23px;align-items:flex-start}.caption-index{font:10px "Segoe UI",sans-serif;color:#8ca594;padding:5px 8px;border:1px solid #dce5dc;border-radius:3px}.design-caption strong{font-size:12px;font-weight:500;color:#52685b}.design-caption p{font-size:10px;color:#8b968e;line-height:1.8;margin-top:4px}.feedback-section{border-top:1px solid var(--line);padding:18px 22px 21px;background:white;margin-top:auto}.feedback-heading{display:flex;align-items:center;justify-content:space-between}.feedback-heading>span{font-size:9px;color:#96a199}.suggestions{display:flex;flex-wrap:wrap;gap:13px;margin:10px 0 12px}.suggestions>button{padding:0;font-size:10px;color:#7b9082}.suggestions>button:hover{color:var(--green);text-decoration:underline}.suggestions>button+button:before{content:"·";margin-right:13px;color:#b5c2b6}#feedback-form{border:1px solid #dce5dd;border-radius:6px;background:#fbfcfa;transition:border-color .15s}#feedback-form:focus-within{border-color:#75a78a;box-shadow:0 0 0 2px #176b5609}#feedback-input{width:100%;display:block;resize:vertical;min-height:63px;max-height:140px;padding:12px 12px 2px;border:0;background:transparent;color:#465c4d;font-size:11px;outline:none;line-height:1.8}#feedback-input::placeholder{color:#a1aba3}.composer-bottom{display:flex;align-items:center;justify-content:space-between;padding:1px 8px 8px 12px}.composer-bottom>span{font-size:9px;color:#a3ada4;display:flex;align-items:center;gap:4px}.composer-bottom>span svg{height:11px;width:11px}.send-button{width:28px;height:28px;display:grid;place-items:center;background:var(--green);color:white;border-radius:5px;position:relative}.send-button svg{width:15px;height:15px}.send-button:hover{background:var(--green-dark)}
.review-panel{border-left:1px solid var(--line);padding:20px 20px 13px;display:flex;flex-direction:column;min-width:0}.live-indicator{width:6px;height:6px;background:#7fa58b;border-radius:50%}.current-stage{padding:9px 0 19px;border-bottom:1px solid var(--line)}.eyebrow{font:9px "Segoe UI",sans-serif;color:#87a491;margin-bottom:9px}.current-stage h3{font-size:17px;font-weight:500;line-height:1.5}.current-stage>p{font-size:11px;color:#87938a;line-height:1.9;margin:8px 0 17px}.confirm-button{width:100%;font-size:11px;min-height:37px;padding:8px}.demo-note{text-align:center;font-size:9px;color:#a4ada5;margin-top:8px}.review-section{padding:19px 0 17px;border-bottom:1px solid var(--line)}.check-list{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:16px}.check-list>li{display:flex;gap:9px}.check-icon{width:17px;height:17px;background:#edf5ee;color:#699778;border-radius:50%;display:grid;place-items:center;flex-shrink:0;margin-top:1px}.check-icon svg{width:11px;height:11px}.check-list strong{font-size:11px;font-weight:400;color:#5c6c60}.check-list p{font-size:9px;color:#9ba49a;line-height:1.7;margin-top:2px}.pending-check .check-icon{background:#f6f1e7;color:#a58b55}.pending-check strong{color:#948460}.history-section{padding-top:18px}.timeline{margin-top:18px;padding-left:5px}.timeline-entry{position:relative;border-left:1px solid #e0e6df;padding:0 0 20px 16px}.timeline-entry:before{content:"";position:absolute;left:-4px;top:6px;height:7px;width:7px;background:#d6dfd6;border:2px solid white;border-radius:50%}.timeline-entry.current:before{background:var(--green);box-shadow:0 0 0 2px #e9f1e9}.timeline-entry:last-child{border-color:transparent;padding-bottom:0}.timeline-entry button{padding:0;display:block;text-align:left;width:100%;font-size:11px;color:#5f7263}.timeline-entry button:hover{color:var(--green)}.timeline-entry .timeline-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.timeline-entry .timeline-top>span{font-size:9px;color:#799680}.timeline-entry p{font-size:9px;color:#9da69c;margin-top:4px;overflow-wrap:anywhere}.timeline-entry time{font-size:9px;color:#b1b9b0;display:block;margin-top:5px}.right-footer{display:flex;gap:7px;align-items:center;border-top:1px solid var(--line);padding-top:13px;margin-top:auto;color:#a0aba1;font-size:9px}.right-footer svg{width:13px;height:13px}.local-dot{width:4px;height:4px;border-radius:50%;background:#adc1ac;margin-left:auto}.app-footer{min-height:33px;display:flex;gap:15px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:8px 24px;font-size:9px;color:#9ca79e;background:#fff}.app-footer>span{display:flex;gap:6px;align-items:center}.connected-dot{width:5px;height:5px;background:#8aaf92;border-radius:50%}.footer-divider{color:#ccd4cc;margin:0 4px}
.loading-overlay{position:absolute;inset:0;background:#f7faf5f2;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:5;gap:12px}.loading-overlay strong{font-size:15px;font-weight:500}.loading-overlay p{font-size:11px;color:#879487}.loading-overlay button{margin-top:12px}.spinner{width:29px;height:29px;border:2px solid #d7e4d8;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
dialog{border:1px solid #dae4db;border-radius:8px;padding:0;background:#fff;max-width:560px;width:calc(100% - 32px);max-height:85vh;box-shadow:0 24px 80px #18302126;color:var(--ink)}dialog::backdrop{background:#172c2466;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.modal-header h2{font-size:16px}#modal-body{padding:22px}.modal-copy{font-size:12px;color:#718076;line-height:1.9;margin-bottom:18px}.field-label{display:block;font-size:12px;color:#53685a;margin-bottom:7px}.modal-textarea{width:100%;min-height:120px;resize:vertical;border:1px solid #d7e2d8;border-radius:5px;padding:11px;outline-color:#76a58a;font-size:12px;line-height:1.9}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.modal-list{margin:0;padding:0;list-style:none}.modal-list>li{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;color:#637567}.modal-list strong{display:block;font-size:13px;margin-bottom:4px;color:#354e3e;font-weight:500}.export-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.export-options select{width:100%;border:1px solid #dce4db;border-radius:4px;background:white;padding:8px;font-size:12px}.export-preview{display:flex;align-items:center;gap:15px;background:#f4f7f2;padding:12px;border-radius:5px}.export-preview img{width:60px;height:77px;object-fit:contain}.export-preview strong{font-size:12px;font-weight:500}.export-preview p{font-size:10px;color:#879486;margin-top:5px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.archive-item{border:1px solid #e1e7df;border-radius:5px;overflow:hidden;text-align:left;padding:0}.archive-item img{display:block;height:150px;width:100%;object-fit:contain;background:#f1f4ee}.archive-item span{display:block;padding:9px;font-size:11px}.history-modal-entry{padding:13px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px}.history-modal-entry img{width:45px;height:61px;object-fit:contain;background:#f0f3ec;border-radius:3px}.history-modal-entry>div{flex:1}.history-modal-entry strong{font-size:12px;font-weight:500}.history-modal-entry p{font-size:10px;color:#8d9b90;overflow-wrap:anywhere}.history-modal-entry button{font-size:11px;color:var(--green)}.danger-link{color:#a65349}.info-grid{display:grid;grid-template-columns:80px 1fr;gap:12px;font-size:12px}.info-grid dt{color:#96a296}.info-grid dd{margin:0;overflow-wrap:anywhere;color:#596e5e}.lightbox-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 17px;font-size:12px;color:#69816f}#lightbox{max-width:900px;background:#f4f6f0}#lightbox>img{display:block;max-width:100%;height:calc(85vh - 68px);object-fit:contain;margin:auto;padding:0 15px 15px}.toast{position:fixed;left:calc(50% + 33px);bottom:25px;transform:translateX(-50%);z-index:100;background:#294637;color:#f3f8f1;border-radius:6px;padding:12px 18px;box-shadow:0 6px 24px #173e2526;font-size:12px;display:flex;gap:9px;align-items:center;max-width:calc(100% - 100px)}.toast svg{width:16px;height:16px;flex-shrink:0}.attention{animation:attention 1s ease}@keyframes attention{50%{background:#e8f2e8}}
@media(min-width:1600px){.workspace{grid-template-columns:285px minmax(450px,1fr) 310px}.material-panel,.review-panel{padding-left:26px;padding-right:26px}.image-area{height:440px}.canvas{margin:25px 30px 0}.design-toolbar,.feedback-section{padding-left:30px;padding-right:30px}.design-caption{margin-left:32px}.material-preview{height:169px}.requirement-copy,.current-stage>p{font-size:12px}.observations,.plan-section>p{font-size:11px}.check-list p{font-size:10px}}
@media(max-width:1200px){.workspace{grid-template-columns:210px minmax(320px,1fr) 230px}.material-panel,.review-panel{padding-left:15px;padding-right:15px}.topbar,.project-header{padding-left:24px;padding-right:24px}.workflow{padding-left:24px;padding-right:24px;gap:10px}.step small{display:none}.design-toolbar{padding-left:15px;padding-right:15px}.canvas{margin:15px 12px 0}.image-area{height:335px;padding-left:6px;padding-right:6px}.image-pane figcaption{padding-left:10px;padding-right:10px}.image-code{display:none}.feedback-section{padding-left:15px;padding-right:15px}.title-line{gap:12px}.current-stage h3{font-size:16px}.confirm-button{font-size:10px}.view-tabs{gap:16px}}
@media(max-width:1020px){.workspace{grid-template-columns:215px minmax(0,1fr)}.review-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px;border-top:1px solid var(--line);border-left:0;padding:22px}.review-panel>.panel-heading,.right-footer{display:none}.review-section,.current-stage,.history-section{padding:0;border:0}.review-section{border-left:1px solid var(--line);border-right:1px solid var(--line);padding:0 20px}.check-list{gap:12px}.project-actions .button{padding:7px 10px}.project-actions{gap:6px}h1{font-size:23px}h1>span{font-size:16px}.status-pill{font-size:9px}.image-area{height:365px}.app-footer{font-size:8px}}
@media(max-width:740px){.rail{width:50px;padding-top:17px}.brand{width:30px;height:30px;margin-bottom:20px}.brand span{font-size:21px}.rail-button{width:34px;height:37px}.rail-button.selected:before{left:-8px}.app{margin-left:50px}.topbar{height:51px;padding:0 15px}.breadcrumbs{font-size:10px;gap:5px}.breadcrumbs>span:first-child{display:none}.breadcrumbs>svg{display:none}.topbar-end{gap:6px}.save-state{display:none}.prototype-badge{font-size:9px}.project-header{padding:20px 15px 16px;align-items:flex-start;gap:10px}.project-kicker{font-size:8px}.title-line{flex-wrap:wrap;gap:7px}.title-line h1{font-size:22px;width:100%}h1>span{font-size:12px;margin-left:9px}.project-actions{padding-top:13px}.project-actions .button{width:33px;height:33px;padding:0;min-height:33px}.project-actions .button span{display:none}.workflow{padding:9px 15px 17px;gap:5px}.step{flex-direction:column;font-size:9px;gap:6px;white-space:normal;text-align:center;min-width:45px}.step-number{height:22px;width:22px}.step-line{margin-bottom:20px;min-width:5px}.workspace{display:flex;flex-direction:column}.design-panel{order:0}.material-panel{order:2;border-right:0;border-top:1px solid var(--line);display:grid;grid-template-columns:100px 1fr;gap:12px 16px;padding:20px 17px}.material-panel>.panel-heading{grid-column:1/-1;margin:0}.material-preview{height:129px;grid-row:2/5}.file-info{margin:0;align-self:end;font-size:11px}.upload-button{height:32px;width:100%;align-self:start}.detail-section{grid-column:1/-1;margin:0;padding-top:16px}.observations{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;font-size:10px}.observations>div{gap:8px}.requirement-copy{font-size:12px}.source-note{grid-column:1/-1;padding-top:0}.design-toolbar{height:51px;padding:0 13px}.canvas{margin:14px 12px 0}.image-area{height:285px;padding:7px 4px}.image-pane figcaption{padding:10px 8px 0;height:31px;align-items:flex-start}.image-label{font-size:9px}.version-tag{font-size:8px}.image-bottom-label{font-size:8px;margin:4px 0 12px}.design-caption{margin:15px 15px 19px;gap:9px}.design-caption strong{font-size:11px}.design-caption p{font-size:9px}.feedback-section{padding:16px 15px}.suggestions{gap:7px}.suggestions>button{font-size:9px}.suggestions>button+button:before{margin-right:7px}.composer-bottom>span{font-size:8px}.review-panel{order:1;display:grid;grid-template-columns:1fr;padding:20px 17px;gap:20px}.review-panel>.panel-heading{display:flex;margin:0}.current-stage{border-bottom:1px solid var(--line);padding-bottom:18px}.current-stage>p{margin-bottom:13px}.current-stage h3{font-size:18px}.confirm-button{font-size:12px}.review-section{padding:0 0 18px;border:0;border-bottom:1px solid var(--line)}.check-list{display:grid;grid-template-columns:1fr 1fr;gap:16px 12px}.check-list strong{font-size:10px}.check-list p{font-size:9px}.check-list>li{gap:6px}.history-section{padding:0}.timeline{display:flex;gap:12px;overflow:auto}.timeline-entry{min-width:110px;border-left:0;border-top:1px solid #e0e6df;padding:14px 0 0}.timeline-entry:before{left:0;top:-4px}.timeline-entry:last-child{border-color:#e0e6df}.app-footer{padding:10px 15px;flex-wrap:wrap;gap:6px}.app-footer>span:nth-child(2){display:none}.toast{left:calc(50% + 25px);max-width:calc(100% - 75px);width:max-content;font-size:11px}.archive-grid{gap:7px}.archive-item img{height:110px}.archive-item span{font-size:9px;padding:7px}#modal-body{padding:18px}.modal-header{padding:14px 18px}}
@media(max-width:380px){.image-area{height:235px}.view-tabs{gap:11px}.view-tabs>button{font-size:11px}.view-tools{gap:2px}.design-caption p{font-size:9px}.observations{grid-template-columns:1fr}.check-list{grid-template-columns:1fr}.export-options{grid-template-columns:1fr}}
.timeline-entry .timeline-top>button{width:auto;flex:1;min-width:0}.timeline-entry .timeline-top>span{white-space:nowrap;flex-shrink:0}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important}}
@media print{.rail,.topbar,.project-actions,.workflow,.material-panel,.review-panel,.feedback-section,.app-footer,.view-tools,.canvas-footer,dialog,.toast{display:none!important}.app{margin:0}.workspace{display:block}.design-panel{background:white}.image-area{height:600px}.canvas{border:0}.project-header{padding:10px 20px}}

/* 2026 workstation visual refresh */
:root{
  --ink:#17221e;
  --muted:#6f7b75;
  --green:#12664f;
  --green-dark:#0b4b3a;
  --green-tint:#eaf3ef;
  --line:#dfe4e1;
  --paper:#fff;
  --bg:#f3f5f3;
  --rail:#182722;
  --amber:#aa7448;
}
body{background:var(--bg);font-size:14px;color:var(--ink)}
.rail{width:60px;padding:18px 0 16px;background:var(--rail);gap:10px}
.brand{width:42px;height:42px;margin-bottom:20px;background:#20352e}
.brand img{width:58px;height:58px}
.rail-button{width:40px;height:40px;color:#91a69d}
.rail-button:hover{background:#263b34;color:#f6faf8}
.rail-button.selected{background:#365048;color:#fff}
.rail-button.selected:before{left:-10px;top:11px;height:18px;background:#8dc2ad}
.app,.tasks-expanded .app{margin-left:60px!important}
.topbar{height:52px;padding:0 28px;background:#fff}
.breadcrumbs{font-size:12px;color:#7d8882}
.prototype-badge{font-size:10px;color:#64756c;background:#f8faf8}
.project-header{padding:20px 28px 17px;background:#fff}
.project-kicker{font-size:10px;color:#77877f;letter-spacing:.04em}
.title-line{gap:14px}
h1{font-size:28px;line-height:1.25;letter-spacing:0;font-weight:650}
.status-pill{padding:4px 9px;background:#f4f1e9;border-color:#e7dfce;color:#856c41}
.project-actions{gap:8px}
.button{min-height:40px;padding:9px 15px;font-size:13px;border-radius:6px}
.button.secondary{border-color:#d7ddda}
.button.secondary:hover{background:#f4f7f5}
.workflow{padding:13px 28px 15px;background:#fff;gap:13px}
.step{font-size:13px;gap:8px}
.step-number{width:25px;height:25px;font-size:11px}
.step small{font-size:11px;margin-left:4px}
.step-line{max-width:180px;background:#d9dfdc}
.panel-heading{margin-bottom:18px}
.panel-heading h2,.section-title h3{font-size:14px}
.material-panel,.review-panel{background:#f8faf8}
.material-panel{padding:24px 19px 18px}
.review-panel{padding:24px 19px 18px}
.material-preview{height:176px;background:#eef1ee;border-color:#dfe4e1}
.detail-section{padding-top:20px;margin-top:20px}
.observations,.requirement-copy{font-size:12px}
.observations dt{color:#7c8982}
.observations dd{color:#3f5048}
.constraint-tags>span{font-size:10px;padding:4px 7px;background:#edf2ef;color:#536a5e}
.current-stage{padding:8px 0 22px}
.eyebrow{font-size:10px;letter-spacing:.04em}
.current-stage h3{font-size:19px;font-weight:560}
.current-stage>p{font-size:12px;line-height:1.75;color:#738079}
.review-section{padding:22px 0}
.check-list{gap:17px}
.check-list strong{font-size:12px;color:#425249}
.check-list p{font-size:10px;color:#849089}
.timeline-entry button{font-size:12px}
.timeline-entry p,.timeline-entry time{font-size:10px}
.app-footer{min-height:36px;padding:8px 22px;font-size:10px;background:#fff}
.toast{left:calc(50% + 30px);bottom:28px;background:#1c2d27;padding:13px 18px;font-size:13px;box-shadow:0 12px 34px rgba(16,34,27,.2)}
dialog{border-color:#d8dfdb;box-shadow:0 28px 90px rgba(14,35,27,.22)}

/* The task list behaves like a utility drawer and never shrinks the artwork. */
#task-sidebar{left:60px;width:286px;padding:22px 17px;background:#f9fbfa;box-shadow:12px 0 34px rgba(18,38,30,.14);border-color:#d8dfdb}
.task-sidebar-heading h2{font-size:16px}
.task-search{padding:10px 4px}
.task-search input{font-size:13px}
.task-item{padding:15px 12px;border-radius:6px}
.task-item-title strong{font-size:13px}
.task-item-meta{font-size:11px}
body.tasks-expanded #task-summary{display:flex}
body.tasks-expanded .stage-workspace,
body:not([data-stage="requirements"]).tasks-expanded .stage-workspace{grid-template-columns:220px minmax(0,1fr) 250px}
body[data-stage="requirements"] .stage-workspace{grid-template-columns:minmax(0,1fr) 250px}
body[data-stage="requirements"] #task-summary{display:none!important}

@media(min-width:1500px){
  .topbar,.project-header,.workflow{padding-left:34px;padding-right:34px}
  body.tasks-expanded .stage-workspace,
  body:not([data-stage="requirements"]).tasks-expanded .stage-workspace{grid-template-columns:236px minmax(0,1fr) 270px}
  body[data-stage="requirements"] .stage-workspace{grid-template-columns:minmax(0,1fr) 270px}
}
@media(max-width:1200px){
  .topbar,.project-header,.workflow{padding-left:22px;padding-right:22px}
  h1{font-size:25px}
  body.tasks-expanded .stage-workspace,
  body:not([data-stage="requirements"]).tasks-expanded .stage-workspace{grid-template-columns:190px minmax(0,1fr)}
  body.tasks-expanded .review-panel{grid-column:1/-1}
}
@media(max-width:1020px){
  body.tasks-expanded .stage-workspace,
  body:not([data-stage="requirements"]).tasks-expanded .stage-workspace{grid-template-columns:190px minmax(0,1fr)}
  #task-sidebar{box-shadow:12px 0 36px rgba(18,38,30,.2)}
}
@media(max-width:740px){
  .rail{width:50px}
  .app,.tasks-expanded .app{margin-left:50px!important}
  #task-sidebar{left:50px;width:min(286px,calc(100vw - 50px))}
  .topbar{height:50px;padding:0 14px}
  .project-header{padding:17px 15px 14px}
  h1{font-size:23px}
  .workflow{padding:11px 15px 15px}
  .step{font-size:10px}
  .toast{left:calc(50% + 25px)}
}
