:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#23324a;background:#f3f5f9;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{height:82px;background:#fff;border-bottom:1px solid #dfe5ee;display:flex;justify-content:space-between;align-items:center;padding:0 36px}.brand{display:flex;gap:12px;align-items:center}.brand-icon{background:#284bd5;color:white;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:23px;font-weight:700}.brand strong{font-size:20px;letter-spacing:-.5px}.brand small{display:block;font-size:11px;color:#65758d;margin-top:3px}.header-right{display:flex;align-items:center;gap:8px;font-size:12px;color:#617087}.local-dot{width:7px;height:7px;background:#258365;border-radius:50%}.prototype{margin-left:15px;border:1px solid #dfe5ee;border-radius:5px;padding:5px 8px}main{max-width:1800px;margin:auto;padding:32px 30px 20px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#5b70a5}h1{font-size:27px;letter-spacing:-.6px;margin:10px 0}p{line-height:1.7}.intro p{color:#697890;margin:0;font-size:13px}.workspace{display:grid;grid-template-columns:minmax(270px,.86fr) minmax(320px,1.05fr) minmax(330px,1.17fr);gap:18px;align-items:start}.panel{border:1px solid #dfe5ee;background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 3px 8px #26375304}.panel-heading{display:flex;align-items:center;gap:11px;padding:20px 19px;border-bottom:1px solid #e9edf3;min-height:86px}.step{font-size:11px;border:1px solid #dce3f2;color:#4562ab;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;flex-shrink:0}h2{font-size:16px;margin:0 0 5px}h3{font-size:15px}.panel-heading p{font-size:11px;color:#79869a;margin:0}.panel-content{padding:20px}.file-drop{margin:0 0 6px!important;border:1px dashed #b7c5df;border-radius:9px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#f8faff;cursor:pointer;position:relative;overflow:hidden;padding:12px}.file-drop:hover{background:#edf2ff}.file-drop strong{font-size:13px;word-break:break-word;text-align:center;max-width:100%}.file-drop span:last-of-type{font-size:11px;color:#7a879c;font-weight:400}.file-symbol{font-size:26px;color:#5070c1}.file-drop input{opacity:0;position:absolute;inset:0;cursor:pointer;width:100%;height:100%}.file-drop:focus-within{outline:3px solid #afbef4}.file-actions{display:flex;align-items:center;justify-content:space-between;min-height:24px;margin-bottom:15px}.file-actions a{font-size:11px;color:#3152be;cursor:pointer}label{font-weight:600;font-size:12px;display:block;margin:18px 0 8px}.optional{color:#7b879a;font-size:10px;font-weight:400;display:block;margin-top:5px}input,select,textarea{font:inherit;font-size:12px;color:#26364e;background:white;border:1px solid #d5ddeb;border-radius:6px;padding:10px 11px;width:100%;line-height:1.6;outline:none}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:#5272db;box-shadow:0 0 0 3px #5272db12}::placeholder{color:#9ba5b5}button{font:inherit;font-size:12px;font-weight:600;border-radius:6px;padding:11px 14px;cursor:pointer;transition:background .15s;border:1px solid transparent}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#3154d6;color:white}.primary:hover:not(:disabled){background:#2545bd}.secondary{background:#fff;border-color:#d5ddeb;color:#495d82}.quiet{background:#edf1f8;color:#52617d}.quiet:hover:not(:disabled){background:#e1e8f4}.text-button{padding:4px 0;background:none;color:#7a8496;font-size:11px}.wide{width:100%;margin-top:12px}.micro{font-size:10px;color:#8190a5;line-height:1.8;margin:12px 0 0}.rules{margin-top:25px;border-top:1px solid #e8edf5;padding-top:15px;font-size:11px;color:#6a7890}.rules summary{cursor:pointer}.rules p{line-height:1.9}.empty{padding:68px 10px 100px;text-align:center;color:#7e8ba0}.empty>span{font-size:40px;color:#bcc7da}.empty h3{color:#697b99;font-weight:500}.empty p{font-size:12px}.group{margin-top:23px;padding-top:3px;border-top:1px solid #e8edf5}.group h3{font-size:12px;margin:18px 0 6px;color:#3e577e}.field label{font-size:11px;margin:15px 0 6px;display:flex;align-items:center;justify-content:space-between;gap:8px}.field label b{font-weight:600}.required{color:#bb7641;font-size:11px;margin-left:3px}.badge,.source{font-weight:400;font-size:9px;border-radius:4px;padding:3px 5px;white-space:nowrap}.source.pdf{background:#edf2fc;color:#5775ac}.source.mail{background:#e8f5ef;color:#368269}.source.manual{background:#f0eafb;color:#8861ad}.source.missing{background:#f4f0e9;color:#9a7c50}.source.subject{background:#edf2fc;color:#5775ac}.badge{margin-left:auto;background:#edf2fc;color:#5273ae}.field.missing input{border-color:#d9c9b2}.field.conflict input{border-color:#d3aa70}.evidence{font-size:10px;line-height:1.6;color:#8b795d;margin-top:5px;overflow-wrap:anywhere}.evidence.conflict-text{background:#fff8ee;padding:7px;border-radius:4px}.field textarea{min-height:65px}.summary{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0 13px;font-size:10px;color:#68798f}.summary span{background:#f0f3f8;padding:5px 8px;border-radius:4px}.warnings{font-size:10px;line-height:1.75;color:#8a744f}.warnings p{padding-left:10px;border-left:2px solid #e3cda8;margin:10px 0}.fields-panel .panel-content{max-height:calc(100vh - 270px);min-height:590px;overflow:auto}.note-panel{position:sticky;top:18px}.note-content{display:flex;flex-direction:column}.activity-meta{border-bottom:1px solid #e8edf4;padding-bottom:15px;margin-bottom:15px;font-size:12px;line-height:1.6}.activity-meta>span{font-size:9px;letter-spacing:1.2px;color:#8c98ac}.activity-meta div{margin:6px 0;color:#435b8c}.activity-meta small{font-size:10px;color:#8a96a9}#note{min-height:470px;height:calc(100vh - 500px);font-family:"SFMono-Regular",Consolas,monospace;font-size:11px;line-height:1.8;padding:14px;background:#fcfdff}.note-actions{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;margin-top:12px}.manual-notice{font-size:10px;line-height:1.6;color:#8064a0;background:#f6f0fc;border-radius:5px;padding:8px 10px;margin-bottom:10px}#notice{padding:12px 16px;border:1px solid #d7e3f8;background:#eef4ff;color:#425d93;border-radius:8px;font-size:12px;line-height:1.6;margin-bottom:16px}#notice.error{border-color:#ead0c5;color:#a2553c;background:#fff6f1}footer{max-width:1800px;padding:0 32px 24px;margin:auto;color:#8d98aa;font-size:10px;display:flex;justify-content:space-between}footer span{letter-spacing:1px;font-size:9px}[hidden]{display:none!important}@media(min-width:1600px){.workspace{gap:22px}.panel-content{padding:24px}#note{font-size:12px}}@media(max-width:1120px){main{padding:24px 18px}.workspace{grid-template-columns:300px minmax(350px,1fr)}.note-panel{grid-column:1/-1;position:static}.fields-panel .panel-content{max-height:850px}.note-panel #note{min-height:400px}header{padding:0 20px}.intro h1{font-size:23px}}@media(max-width:720px){.workspace{display:flex;flex-direction:column}.panel{width:100%}.intro{align-items:flex-start;gap:10px}.intro h1{font-size:21px}.intro .quiet{font-size:10px;padding:8px;white-space:nowrap}.header-right{font-size:10px}.prototype{display:none}.fields-panel .panel-content{max-height:none;min-height:0}.empty{padding:30px}.note-panel{position:static}footer span{display:none}}
/* The Note itself is the working surface; keep actual memo text readable. */
#note{overflow:auto;resize:vertical;outline:none;white-space:normal;border:1px solid #d5ddeb;border-radius:6px;font-family:Arial,"PingFang SC",sans-serif;font-size:14px;line-height:1.65;color:#182334;background:#fff;min-height:490px}
#note:focus{border-color:#5272db;box-shadow:0 0 0 3px #5272db12}
#note:empty:before{content:attr(data-placeholder);color:#929eb0;font-style:normal;pointer-events:none}
#note p,#note div{margin:0}#note strong,#note b{font-weight:700}
.template-name{font-size:12px;color:#526891;margin:14px 0 0}.source.supplement{background:#fff3df;color:#8b6225}
.field input,.field textarea{font-size:14px}.field label{font-size:12px}.field .source{font-size:12px}.evidence,.micro,.warnings{font-size:12px}.summary{font-size:12px}.intro h1{font-size:23px}.intro p{font-size:14px}.note-actions button{font-size:13px}
.file-drop.dragging{background:#edf2ff;outline:3px solid #afbef4}.review-check{display:flex;align-items:flex-start;gap:8px;line-height:1.7}.review-check input{width:auto;margin-top:4px}
.needs-choice{border:2px solid #dcb675;border-radius:8px;padding:0 12px 12px;margin-top:18px;background:#fffaf0}.target-hint{font-size:13px;color:#77551f;line-height:1.7}.target-choice{display:block;width:100%;text-align:left;white-space:normal;border:1px solid #c6d3ec;background:white;color:#294573;margin-top:10px;line-height:1.7}.target-choice:hover:not(:disabled){border-color:#3154d6;background:#eef3ff}.target-choice strong,.target-choice span{display:block}.target-choice span{font-size:11px;font-weight:400;color:#68778b;overflow-wrap:anywhere}.selection-notice{padding:20px;background:#f2f5fb;border-radius:8px;color:#536780;font-size:14px}

.epic-confirm{background:#f3f6ff;border:1px solid #bbc9ed;border-radius:8px;padding:16px;margin-top:14px}.epic-confirm h3{margin:0}.epic-confirm p{font-size:13px;overflow-wrap:anywhere}
