:root{font-family:"Microsoft YaHei",sans-serif;color:#253c33;background:#f4f1e9;font-size:14px}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:16px;padding:22px 5%;border-bottom:1px solid #cbd0c5}.brand{font-family:serif;font-size:32px;color:inherit;text-decoration:none;margin-right:auto}.brand small{font-family:sans-serif;font-size:11px;letter-spacing:3px;display:block}button,input,select,textarea{font:inherit;color:inherit;background:#fffdf7;border:1px solid #adbcb0;padding:10px;border-radius:3px}button{cursor:pointer}button:hover{background:#e2e9df}button:disabled{opacity:.5;cursor:wait}.primary{background:#264f40;color:#fff;border-color:#264f40}.primary:hover{background:#193c30}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b07831;outline-offset:2px}nav{display:flex;padding:0 5%;border-bottom:1px solid #cbd0c5;gap:25px;overflow:auto}nav button{white-space:nowrap;background:none;border:0;border-radius:0;padding:17px 0}nav button.active{border-bottom:3px solid #264f40}#notice{padding:14px 5%;background:#e4e8dc;white-space:pre-wrap;min-height:48px}.view{display:none}.view.active{display:block}main{max-width:1500px;margin:auto;padding:32px 5%}.intro{max-width:760px;margin-bottom:32px}small{letter-spacing:1.5px;font-size:11px}h1{font-family:"Songti SC",SimSun,serif;font-weight:400;line-height:1.3;font-size:42px;margin:12px 0 18px}h2{font-size:20px;font-weight:500}p{line-height:1.8}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:45px}aside{padding-right:25px;border-right:1px solid #cbd0c5}aside input:not([type=checkbox]),aside select,textarea{width:100%;margin-bottom:10px}label{display:block;margin:10px 0 6px}textarea{min-height:110px;resize:vertical}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row label{flex:1}.spread{justify-content:space-between}.muted{font-size:12px;color:#576c5f}.checks{display:flex;gap:6px;flex-wrap:wrap}.checks label{font-size:12px;margin:3px 0;background:#e7e9df;padding:6px}.canvas-space{min-width:0}#canvasWrap{position:relative;background:#deded3;min-height:260px;display:flex;justify-content:center;align-items:center;overflow:hidden}#canvasImage{display:block;max-width:100%;max-height:650px;object-fit:contain}#canvasImage[hidden]{display:none}#maskCanvas{position:absolute;touch-action:none;opacity:.45;cursor:crosshair;display:none}#canvasEmpty{color:#5a6d60}.filmstrip{display:flex;gap:12px;overflow:auto;padding:12px 0}.source{flex:0 0 120px}.source img{width:120px;height:130px;object-fit:cover}.source label{font-size:12px}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:24px}.photo{padding-bottom:18px;border-bottom:1px solid #cbd0c5}.photo img{width:100%;aspect-ratio:4/5;object-fit:contain;background:#e3e2d9}.photo .row{gap:5px}.photo button{padding:7px;font-size:12px}.photo select{max-width:100%;padding:6px}.photo input[type=text]{width:100%}.filters{margin-bottom:25px}.filters input{max-width:100%}.job,.profile-row{border-top:1px solid #bcc9bd;padding:20px 0}.job pre{white-space:pre-wrap;color:#55695b}dialog{border:1px solid #9eaf9f;width:min(760px,94vw);max-height:90vh;padding:28px;background:#f8f6ef}dialog::backdrop{background:#203b3266}dialog input:not([type=checkbox]){width:100%}dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;max-height:55vh;overflow:auto}footer{padding:25px 5%;font-size:12px;color:#657567;border-top:1px solid #cbd0c5}[hidden]{display:none!important}@media(max-width:850px){header{flex-wrap:wrap}.brand{font-size:26px}#account{font-size:12px}nav{gap:18px}.workspace{grid-template-columns:1fr;gap:22px}aside{border-right:0;padding-right:0}h1{font-size:32px}main{padding-top:20px}.gallery{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}

/* Photo workbench: quiet green, editorial rules, visible image choices. */
.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:36px}.settings{border-right:0;border-left:1px solid #cbd0c5;padding:0 0 0 26px}.workflow{margin-bottom:28px;padding-bottom:18px;border-bottom:1px solid #bcc9bd}.pickgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px;max-height:340px;overflow:auto;margin:16px 0}.pick{margin:0;padding:7px;border:1px solid transparent;overflow-wrap:anywhere;font-size:12px}.pick:has(input:checked){border-color:#264f40;background:#e4e8dc}.pick img{display:block;width:100%;height:125px;object-fit:contain;background:#e5e3d9;margin-bottom:7px}.pick input{margin-right:6px}article h2{border-top:1px solid #bcc9bd;padding-top:20px;margin-top:28px}article h2:first-child{margin-top:0}article h2 small{display:block;margin-top:8px;color:#576c5f;letter-spacing:0}#maskCanvas{opacity:.42}#canvasWrap{margin-top:16px}.paintLegend{display:inline-block;width:18px;height:12px;background:#ee735d;opacity:.65;margin-right:7px}#detailImage{display:block;max-width:100%;max-height:65vh;margin:auto;object-fit:contain}#detailDownload{margin:14px 0}.photo img{cursor:zoom-in}#compare{width:min(1100px,96vw)}.compareImages{display:flex;gap:18px;overflow:auto}.compareImages figure{margin:10px 0;min-width:220px;flex:1}.compareImages img{width:100%;height:320px;object-fit:contain;background:#e5e3d9}.compareImages figcaption{padding:10px 0}#compareMetrics{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:12px;text-align:left;border-bottom:1px solid #bcc9bd}summary{cursor:pointer;padding:12px 0}#generate{width:100%;margin-top:12px}@media(max-width:850px){.workspace{grid-template-columns:1fr}.settings{border-left:0;border-top:1px solid #cbd0c5;padding:20px 0}.pickgrid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.compareImages img{height:250px}}

#reviewOutput{overflow:auto;overflow-wrap:anywhere}#reviewOutput td{min-width:100px;vertical-align:top;white-space:pre-wrap}#reviewNotice{white-space:pre-wrap}#applyReview{margin:14px 0}

/* Geometry ledger: paired images and region rules, no verdict colors. */
#compareReferences{max-height:190px}#compareMetrics{max-height:65vh}
#compare{width:min(1450px,96vw)}#compareNotice{white-space:pre-wrap;overflow-wrap:anywhere}#compareMetrics td{vertical-align:top;font-variant-numeric:tabular-nums;min-width:95px}#compareMetrics td:first-child{min-width:200px;border-left:3px solid #6a8270}#compareMetrics tr[data-group="眼部"] td:first-child{border-left-color:#a87715}#compareMetrics tr[data-group="鼻部"] td:first-child{border-left-color:#bd6359}#compareMetrics tr[data-group="唇部"] td:first-child{border-left-color:#9565a6}#compareMetrics tr[data-group="眉部"] td:first-child{border-left-color:#22828c}#compareMetrics details{min-width:220px;max-width:360px}#compareMetrics th{position:sticky;top:0;background:#f8f6ef}#compareMetrics{margin-top:18px}#compareMetrics summary{padding:0;line-height:1.6}.compareImages figure{min-width:0;width:50%}.compareImages figcaption{overflow-wrap:anywhere}.compareImages img{height:380px}

/* Automatic report: fixed photographic triptych and a locally scrolling ledger. */
#automatic{width:min(1450px,96vw);overflow-wrap:anywhere}#automaticOutput{min-width:0}.automatic-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;border-block:1px solid #bcc9bd;padding:16px 0}.automatic-images section{min-width:0}.automatic-images h3{font-size:14px}.automatic-images figure{margin:0 0 16px}.automatic-images img{width:100%;height:300px;object-fit:contain;background:#e5e3d9;cursor:zoom-in}.automatic-images figcaption{font-size:12px;overflow-wrap:anywhere}.automatic-table{max-width:100%;overflow:auto;max-height:60vh;margin-top:20px}.automatic-table table{min-width:880px;font-variant-numeric:tabular-nums}.automatic-table th{position:sticky;top:0;background:#f8f6ef;z-index:1}.automatic-table td{vertical-align:top}.automatic-table .auto25-exceeded td{color:#a12821;font-weight:600}.automatic-table .auto25-exceeded td:first-child{border-left:4px solid #a12821}.auto25-unknown td{background:#eee8d9}.automatic-summary{border-left:3px solid #9a7740;padding-left:9px;font-size:12px}#automaticNotice{white-space:pre-wrap}@media(max-width:700px){.automatic-images{grid-template-columns:1fr}.automatic-images img{height:250px}#automatic{padding:16px}}
