:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#17273a;background:#f4f6fa;font-size:14px}*{box-sizing:border-box}body{margin:0}.top{display:flex;justify-content:space-between;align-items:center;padding:24px 30px 18px;background:#fff}.top h1{font-size:24px;margin:6px 0;font-weight:700;letter-spacing:.02em}.top p{margin:0;color:#8490a0}.eyebrow,.caption{font-size:10px;font-weight:750;letter-spacing:.13em;color:#75879c}.actions{display:flex;gap:10px;align-items:center}button,.upload{cursor:pointer;border:1px solid #dbe4ed;border-radius:9px;background:#fff;color:#314861;font-weight:650;padding:11px 18px;font-size:13px}button:hover,.upload:hover{border-color:#749dc0}.primary{color:white;background:#225b88;border-color:#225b88}.primary:hover{background:#184a70}.primary:disabled{opacity:.4;cursor:not-allowed}.summary{height:43px;background:#edf3f8;border-top:1px solid #e8eef5;border-bottom:1px solid #dfe8f1;display:flex;justify-content:space-between;align-items:center;padding:0 30px;color:#41637e;font-size:12px}.subtle{color:#8295a5}.shell{display:grid;grid-template-columns:225px minmax(0,1fr);height:calc(100vh - 165px);min-height:480px}.sidebar{background:#fff;border-right:1px solid #e2e9f0;overflow:auto;padding:20px 12px}.aside-title{display:flex;justify-content:space-between;padding:0 10px 14px;color:#52677d}.aside-title span{border-radius:20px;background:#edf3f8;padding:2px 8px;font-size:11px}.doc{width:100%;display:block;text-align:left;border:0;padding:12px 10px;border-radius:8px;margin:2px 0;background:transparent}.doc.active{background:#eaf2f8;color:#1b5d8d}.doc strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.doc small{display:block;color:#8a99a9;margin-top:5px;font-weight:400}.work{min-width:0;display:grid;grid-template-columns:minmax(400px,1fr) minmax(380px,480px);gap:14px;padding:16px;overflow:hidden}.viewer,.review{background:white;border:1px solid #e3eaf1;border-radius:12px;min-width:0;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 18px #344e6510}.panel-head{padding:18px 20px;border-bottom:1px solid #edf1f5;display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-head h2{font-size:16px;margin:5px 0 0}.filename{font-size:11px;color:#8192a2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paper{flex:1;background:#dfe5ec;position:relative;min-height:0;overflow:auto;text-align:center}.paper img{width:100%;max-width:950px;height:auto;display:none;margin:auto}.preview-controls{display:flex;align-items:center;gap:7px;min-width:0}.preview-controls button{padding:3px 8px}.preview-controls #page{white-space:nowrap;font-size:11px;color:#647b91}.empty{color:#9aa9b8;text-align:center;padding:60px 20px}.paper .empty{position:absolute;top:30%;width:100%}.pill{border-radius:20px;padding:6px 10px;background:#eef3f7;color:#647b91;font-size:11px;white-space:nowrap}.pill.warn{background:#fff3dd;color:#a56717}.pill.good{background:#e4f5ed;color:#288361}.result{flex:1;overflow:auto;padding:18px 20px}.meta{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.tag{font-size:11px;padding:5px 9px;background:#eef4f8;border-radius:6px;color:#527087}.notice{border-radius:8px;background:#fff6e8;color:#8d651c;padding:11px 12px;font-size:12px;line-height:1.6;margin-bottom:16px}.group{margin-bottom:19px}.group-title{display:flex;align-items:center;gap:8px;color:#263e54;font-size:13px;font-weight:700;margin-bottom:10px}.group-title:before{content:'';width:3px;height:15px;border-radius:2px;background:#4d91bc}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field{border:1px solid #e6ecf2;border-radius:8px;padding:10px;min-width:0}.field.wide{grid-column:1/-1}.field label{display:flex;justify-content:space-between;align-items:center;color:#718398;font-size:11px;margin-bottom:6px}.field input[type=text]{width:100%;border:0;border-bottom:1px solid transparent;font-size:13px;font-weight:650;color:#213c54;outline:none;padding:3px 0;background:transparent}.field input[type=text]:focus{border-color:#5292bc}.field .hint{font-size:10px;color:#a78852;margin-top:5px}.check{display:flex;align-items:center;gap:3px;font-size:10px;white-space:nowrap;color:#6c8192}.check input{accent-color:#307da8}footer{padding:14px 18px;border-top:1px solid #edf1f5;display:flex;align-items:center;gap:12px;justify-content:space-between}.feedback{font-size:11px;color:#8192a2;line-height:1.5}@media(max-width:1000px){.shell{grid-template-columns:170px 1fr}.work{grid-template-columns:1fr;overflow:auto}.viewer{min-height:580px}.review{min-height:520px}.top{padding:18px}.summary{padding:0 18px}}@media(max-width:650px){.shell{display:block;height:auto}.sidebar{max-height:170px}.work{display:block;padding:10px}.viewer,.review{margin-bottom:10px}.viewer{height:520px}.review{min-height:480px}.summary .subtle{display:none}.top{align-items:flex-start;gap:10px}.top h1{font-size:19px}.actions{flex-direction:column;align-items:stretch}.upload,button{padding:8px 10px}}

.footer-actions{display:flex;gap:6px;flex-shrink:0}.footer-actions button{padding:9px 10px;font-size:11px}
