:root{--paper:#FBF7F0;--orange:#ED6A2C;--ink:#3B221B;--sand:#F5E7D1;--gold:#C99A43;--muted:#79685e;--line:#e6dcd0}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:15px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}header{max-width:1240px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}a{color:inherit;text-decoration:none}header div{display:flex;align-items:center;gap:16px}header img{width:84px;height:34px;object-fit:contain}header small{color:var(--muted)}main{max-width:1180px;margin:auto;padding:0 32px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:"Songti SC","Noto Serif SC",serif}h1{font-size:54px;line-height:1.22;letter-spacing:2px;margin-bottom:22px}h2{font-size:28px;line-height:1.35;margin:0 0 7px}h3{font-size:19px;margin-bottom:10px}.eyebrow{color:var(--orange);font-size:12px;letter-spacing:3px}.intro{padding:58px 0 20px}.intro>p:not(.eyebrow){max-width:530px;color:var(--muted)}.steps{padding:22px 0;list-style:none;display:flex;gap:40px;border-top:1px solid var(--line);margin-top:34px;font-size:13px}.steps li:first-child{color:var(--orange)}#status{padding:14px 18px;border-left:3px solid var(--orange);background:#fff;font-size:14px;white-space:pre-line}.section{padding:35px 0;border-top:1px solid var(--line)}.section-title{display:flex;gap:22px;margin-bottom:27px}.section-title>span{font:italic 35px Georgia,serif;color:var(--orange)}.section-title p,.angle-heading p{color:var(--muted);margin-bottom:0}.input-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:44px}label{display:block;font-weight:600;margin:0 0 8px}textarea,input[type=file]{font:inherit;width:100%;color:var(--ink)}textarea{padding:12px;border:1px solid #d8ccc0;resize:vertical;background:white;border-radius:3px;margin-bottom:17px}textarea:focus{outline:2px solid var(--orange);outline-offset:2px}.hint{font-size:12px;color:var(--muted)}.original-preview{width:180px;max-height:230px;object-fit:contain;margin-top:10px}.front-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.two-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.asset{min-width:0}.asset h3{font-size:17px}.asset-image{display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;background:var(--sand);color:var(--muted);border:1px solid var(--line);overflow:hidden;margin:10px 0}.two-grid .asset-image{aspect-ratio:4/3}.asset-image img{width:100%;height:100%;object-fit:contain}.asset button{margin:8px 0;width:100%}.asset input[type=file]{font-size:12px;margin:5px 0 9px}.asset .hint{min-height:40px}.inline{font-size:13px;font-weight:400;display:flex;align-items:flex-start;gap:8px}.inline input{margin-top:5px;accent-color:var(--orange)}.angle-heading{margin:35px 0 22px;border-top:1px solid var(--line);padding-top:24px}.angle-heading .inline{margin-top:15px}button{padding:12px 21px;background:var(--orange);border:1px solid var(--orange);color:white;font:600 14px/1.35 inherit;cursor:pointer;border-radius:3px}button.secondary{background:transparent;color:var(--ink);border-color:#cdbda9}button:disabled{opacity:.4;cursor:not-allowed}.action-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:25px 0 12px}#editor{margin-top:25px}#editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}#editor-fields textarea{font-size:14px;min-height:115px}#report-preview{margin-top:30px;overflow:auto;background:#e8e4df;padding:24px}.sheet{background:var(--paper);color:var(--ink);width:210mm;height:297mm;padding:14mm 14mm 13mm;margin:0 auto 24px;overflow:hidden;position:relative;font:10pt/1.65 "PingFang SC","Microsoft YaHei",sans-serif}.sheet .kicker{font-size:8pt;letter-spacing:2px;color:var(--orange);margin-bottom:6mm}.sheet h2{font-size:23pt;margin-bottom:5mm}.sheet h3{font-size:12pt;margin-bottom:2mm}.sheet p{margin-bottom:3mm;white-space:pre-wrap}.sheet .foot{position:absolute;bottom:7mm;left:14mm;right:14mm;font-size:7pt;color:var(--muted);border-top:1px solid var(--line);padding-top:2mm}.sheet img{object-fit:contain;background:#eee6db}.cover-layout{display:grid;grid-template-columns:63mm 1fr;gap:8mm}.cover-layout img{width:63mm;height:86mm}.copy-block{margin:6mm 0;border-top:1px solid var(--line);padding-top:4mm}.sheet .four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm}.sheet .four img{width:100%;height:53mm}.sheet .four h3{font-size:9pt;line-height:1.4;min-height:10mm;margin:1mm 0}.sheet .four p{font-size:8.5pt;line-height:1.65;margin-top:1mm}.sheet .caption{font-size:7pt;color:var(--muted);margin:1mm 0}.local-row{display:grid;grid-template-columns:42mm 42mm 1fr;gap:3mm;border-top:1px solid var(--line);padding-top:3mm;margin-top:3mm;align-items:start}.local-row img{width:42mm;height:27mm;object-fit:cover}.local-row.contour img{height:34mm;object-fit:contain}.local-row p{font-size:8.5pt;line-height:1.6;margin:0}.local-row h3{font-size:10pt}.sheet .three{display:grid;grid-template-columns:repeat(3,1fr);gap:4mm}.sheet .three img{width:100%;height:70mm}.scenario-title{font-size:9pt;font-weight:600;margin:2mm 0}.invite{background:var(--sand);border-left:3px solid var(--orange);padding:5mm;margin-top:6mm}.invite h3{font-size:16pt}.sheet .reasons{margin-top:5mm}.sheet .reasons p{margin:0 0 4mm}footer{text-align:center;padding:30px;font-size:12px;color:var(--muted)}[hidden]{display:none!important}@media(max-width:760px){header{padding:16px;gap:10px}header small{display:none}header span{font-size:13px}main{padding:0 18px}h1{font-size:40px}.intro{padding-top:35px}.steps{gap:0;justify-content:space-between;font-size:11px}.input-grid,.two-grid,#editor-fields{grid-template-columns:1fr;gap:20px}.front-grid{grid-template-columns:1fr}.asset-image{max-height:420px}.section-title{gap:14px}h2{font-size:24px}#report-preview{padding:12px}.sheet{margin-left:0}}@page{size:A4 portrait;margin:0}@media print{body{background:white}header,.intro,#status,footer,.section-title,.action-row,.hint,#workspace>.section:not(:last-child){display:none!important}main{max-width:none;padding:0}#workspace>.section:last-child{border:0;padding:0}#report-preview{display:block;margin:0;padding:0;background:white;overflow:visible}.sheet{margin:0;break-after:page;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.sheet:last-child{break-after:auto;page-break-after:auto}}
.sheet:nth-child(2) .kicker{margin-bottom:4mm}.sheet:nth-child(2) h2{margin-bottom:3mm}.sheet:nth-child(2) .local-row{padding-top:2mm;margin-top:2mm}button{font-family:inherit;font-size:14px;font-weight:600;line-height:1.35}
@media print{#workspace>.section:last-child>:not(#report-preview){display:none!important}.sheet{break-inside:avoid;page-break-inside:avoid}}

.photo-entry{max-width:680px;padding:26px;background:#fff;border:1px solid var(--line)}.photo-entry .original-preview{display:block;margin:20px 0 0}.photo-entry .action-row{margin-top:22px}

/* Three-page presentation: portrait, reasons, progressive comparison. */
.cover-layout{grid-template-columns:78mm 1fr;gap:7mm}.cover-layout img{width:78mm;height:104mm}.cover-copy section{border-bottom:1px solid var(--line);padding-bottom:3mm;margin-bottom:3mm}.cover-copy h3{color:var(--orange);font-size:11pt}.cover-copy p{font-size:9pt;line-height:1.6;margin:0}.design-plan{margin-top:5mm}.design-plan>h3{font-size:13pt;margin-bottom:3mm}.plan-row{display:grid;grid-template-columns:9mm 1fr;gap:3mm;padding:3mm 0;border-top:1px solid var(--line)}.plan-row>b,.reason-row>b{color:var(--orange);font:italic 18pt Georgia,serif}.plan-row h3{font-size:10pt;margin-bottom:1mm}.plan-row p{font-size:9pt;line-height:1.55;margin:0}.confirm-copy{margin-top:3mm}.confirm-copy h3{font-size:9pt}.confirm-copy>p{font-size:8pt;line-height:1.5;margin-bottom:1mm}.sheet .four .stage-card{position:relative}.sheet .four .stage-card h3{background:var(--sand);padding:2mm 1.5mm;min-height:12mm;color:var(--ink);margin:0 0 2mm;font-size:8.5pt}.sheet .four .stage-card:first-child h3{background:#e7e5df}.sheet .four .stage-card:nth-child(3) h3{background:#f2d5bc}.sheet .four .stage-card:nth-child(4) h3{background:var(--orange);color:white}.sheet .four .stage-card:not(:last-child)::after{content:'→';position:absolute;top:36mm;right:-3mm;z-index:1;background:var(--paper);color:var(--orange);font-size:12pt;line-height:1}.sheet .reasons{margin-top:6mm}.reason-row{display:grid;grid-template-columns:10mm 1fr;gap:3mm;border-top:1px solid var(--line);padding:4mm 0}.sheet .reasons .reason-row p{margin:0;line-height:1.7}.sheet .invite{margin-top:5mm}
.sheet:nth-child(2){padding-top:11mm}.sheet:nth-child(2) .kicker{margin-bottom:2mm}.sheet:nth-child(2) h2{margin-bottom:2mm}.sheet:nth-child(2) .four .stage-card h3{min-height:10mm}.sheet:nth-child(2) .four img{height:50mm}.sheet:nth-child(2) .local-row.contour img{height:38mm}

.sheet:nth-child(2) .four img{height:65mm}.sheet:nth-child(2) .local-row.contour img{height:46mm}.sheet .four p{font-size:9pt;line-height:1.65;min-height:14mm}.local-row p{font-size:9.5pt;line-height:1.65}.local-row{align-items:center}.sheet .reason-row p{font-size:11pt}

#job-panel{border:1px solid var(--line);padding:16px 20px;margin-bottom:24px;background:#fff}#generation-progress{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;font-size:13px}.job-error{display:block;color:#a33c23;font-size:12px}#pause-flow{margin-top:12px}@media print{#job-panel{display:none!important}}

.asset [data-stage-feedback] {
  display: block;
  width: 100%;
  margin: .25rem 0 .65rem;
  resize: vertical;
}
