:root{--paper:#f8fbfc;--ink:#18313d;--blue:#184b62;--water:#e6f1f4;--line:#b5cbd3;--amber:#915f14;color:var(--ink);background:var(--paper);font-family:"Microsoft YaHei","Segoe UI",sans-serif;font-size:17px}*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-underline-offset:4px}h1,h2,h3,h4{font-family:SimSun,"Songti SC",serif;line-height:1.35}html[lang=en] body{font-family:"Segoe UI",sans-serif}html[lang=en] :is(h1,h2,h3,h4){font-family:Georgia,serif}h1{font-size:clamp(2rem,4vw,2.7rem);margin:12px 0 18px}h2{font-size:1.4rem;margin:0 0 18px}h3{font-size:1.15rem}p{line-height:1.75;max-width:74ch}.review-aux,main,footer{max-width:1220px;margin:auto;padding:20px 28px}.review-aux{display:flex;gap:20px;justify-content:space-between;border-bottom:1px solid var(--line)}.review-aux a{display:inline-flex;min-height:44px;align-items:center}.review-intro{max-width:90ch;margin-bottom:30px}.review-memory{padding:14px 18px;background:var(--water);border-left:3px solid var(--blue);font-size:.9rem}.review-boundary{font-size:.9rem;color:#49616d}.review-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:32px;align-items:start}.review-group{background:white;padding:24px;margin:0 0 28px;border-top:2px solid var(--line);min-width:0}.review-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.review-fields>.wide{grid-column:1/-1}label{display:block;font-weight:600;margin:18px 0 6px}input[type=text],textarea,select{width:100%;min-height:48px;max-width:100%;padding:11px;border:1px solid #8faeba;border-radius:3px;background:white;color:var(--ink);font:inherit;line-height:1.6}textarea{resize:vertical;min-height:100px}.review-hint{font-size:.82rem;color:#49616d;line-height:1.7;margin-top:6px}.review-item{padding:8px 0 20px;border-bottom:1px solid var(--line)}.review-item:last-child{border-bottom:0;padding-bottom:0}.review-item h3{margin:12px 0}.item-fields{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr);gap:20px}.item-fields label{font-size:.9rem}.review-output{min-width:0;background:white;border-top:3px solid var(--blue);padding:24px}.review-output>p{font-size:.9rem}.review-output h2{font-size:1.4rem}#previewContent{font-size:.9rem}#previewContent p,#previewContent dd{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}#previewContent dl{margin:18px 0;padding:16px;background:var(--water)}.review-entry{padding:6px 0}.review-entry dt{font-weight:600;font-size:.88rem}.review-entry dd{margin:4px 0 0}.preview-item{padding:10px 0;border-bottom:1px solid var(--line)}.preview-item h4{font-size:1rem;margin:8px 0}.preview-item p{margin:8px 0}.review-check{display:flex;gap:12px;align-items:flex-start;font-weight:400;line-height:1.75;padding:18px 0}.review-check input{width:22px;height:22px;min-width:22px;margin:4px 0}.review-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}button{font-family:inherit;font-size:16px;font-weight:600;line-height:1.6;min-height:48px;padding:12px 18px;border:1px solid var(--blue);border-radius:3px;background:white;color:var(--blue);cursor:pointer}button.primary{color:white;background:var(--blue)}button:disabled{opacity:.5;cursor:default}.review-actions button{flex:1}.review-status{white-space:pre-wrap;line-height:1.75;min-height:1.75em}.review-error{color:#824e0e;white-space:pre-wrap;line-height:1.75}[aria-invalid=true]{border-color:#824e0e}:focus-visible{outline:3px solid var(--amber);outline-offset:4px}[hidden]{display:none!important}.skip{position:absolute;left:16px;top:-100px}.skip:focus{top:12px;background:white;padding:12px;z-index:20}footer{font-size:.82rem;border-top:1px solid var(--line);line-height:1.75}.site-nav{max-width:1220px}@media(max-width:900px){.review-layout{grid-template-columns:1fr;gap:8px}.review-output{margin-bottom:28px}}@media(max-width:600px){main,.review-aux,footer{padding:20px}.review-aux{flex-wrap:wrap;gap:8px 20px}.review-group,.review-output{padding:20px 16px}.review-fields,.item-fields{grid-template-columns:1fr;gap:0}.review-fields>.wide{grid-column:auto}.review-actions button{flex-basis:100%}h1{font-size:2rem}h2{font-size:1.3rem}}

/* F39 optional source reading only. Original main form/preview keep their visual hierarchy. */
.production-review .old-record-shell{margin:0 0 28px;max-width:100%}
.production-review .old-import,.production-review .old-applied{border-block:1px solid #b5cbd3;padding:6px 0 14px}
.production-review .old-import>summary,.production-review .old-applied>summary{min-height:48px;align-content:center;cursor:pointer;font-weight:600;color:#184b62;line-height:1.6}
.production-review .old-import p{max-width:82ch}
.production-review .old-reset,.production-review .old-warning{border-left:3px solid #915f14;padding:10px 14px;background:#fff7e8}
.production-review .old-candidate{border-top:1px solid #b5cbd3;margin-top:18px;padding-top:10px}
.production-review .old-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px;background:#e6f1f4;padding:18px;margin:16px 0}
.production-review .old-history-list .review-entry{min-width:0}
.production-review .old-history-list dt{font-weight:600;font-size:14px}
.production-review .old-history-list dd{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.65}
.production-review .old-text-entry{border-top:1px solid #d6e3e9;padding:12px 0}
.production-review .old-text-entry h4{font:600 16px/1.6 "Segoe UI","Microsoft YaHei",sans-serif;margin:0 0 8px}
.production-review .old-text-entry pre{font:inherit;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;max-width:100%}
.production-review .old-applied{margin-top:20px}
.production-review .old-error{color:#8b450d}
@media(max-width:600px){.production-review .old-history-list{grid-template-columns:1fr;gap:12px;padding:14px}.production-review .old-record-shell{margin-bottom:24px}}
