.todo-closure{padding:18px;margin-top:12px}
.todo-closure h3{font-size:16px;margin:0}
.todo-closure>p{margin:16px 0 2px}
.closure-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:19px 0 20px}
.closure-stage{position:relative;display:grid;grid-template-columns:27px 1fr;column-gap:7px;align-items:center;color:#8a97a8}
.closure-stage:not(:last-child):after{content:"";position:absolute;left:100%;top:13px;width:calc(100% - 10px);transform:translateX(-8px);height:2px;background:#dfe7f2}
.closure-stage>span{grid-row:span 2;width:25px;height:25px;border-radius:50%;background:#e9eef5;color:#728198;display:grid;place-items:center;font-weight:700;font-size:12px}
.closure-stage.done>span{background:#e7f6ed;color:#268c5e}
.closure-stage.current>span{background:#eaf2ff;color:#1769e0}
.closure-stage b{font-size:13px;color:#425672}
.closure-stage small{font-size:11px;color:#99a5b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.closure-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #eef2f7;padding-top:14px}
.closure-summary{display:flex;flex-direction:column;gap:7px;background:#f5f9ff;border:1px solid #e4eefb;border-radius:6px;padding:12px;margin-bottom:13px;font-size:12px;color:#65748a}
.closure-summary b{font-size:14px;color:#1e354e}
.todo-form{display:flex;flex-direction:column;gap:25px}
.todo-context{color:#20334c;font-weight:700;padding-bottom:15px;border-bottom:1px solid #edf1f6}
.todo-context span{font-weight:400;color:#8c99a9;font-size:12px}
.todo-form-row{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:start;gap:14px}
.todo-label{font-weight:600;color:#25364d;padding-top:7px}
.todo-label em{font-style:normal;color:#d85858}
.todo-radio-group{display:flex;align-items:center;flex-wrap:wrap;gap:24px;min-height:36px}
.todo-radio-group label{display:flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}
.todo-radio-group input{accent-color:#1769e0;width:17px;height:17px;margin:0}
.todo-note{position:relative}
.todo-note .textarea{width:100%;height:112px;padding:11px 12px 30px}
.todo-note #note-count{position:absolute;bottom:12px;right:12px;color:#9ca8b7;font-size:12px}
.evidence-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:560px}
.evidence-tile{position:relative;aspect-ratio:1/1;background:#f5f8fc;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9aa7b7;overflow:hidden}
.evidence-tile.upload{border:1px dashed #cdd8e6;cursor:pointer}
.evidence-tile.upload:hover{border-color:#1769e0;color:#1769e0;background:#f0f6ff}
.evidence-tile.upload strong{font-size:31px;font-weight:400;color:#18293f;line-height:1}
.evidence-tile.upload span{margin-top:7px;font-size:12px}
.evidence-tile.placeholder span{font-size:38px;color:#d8e0ea}
.evidence-tile.selected img{width:100%;height:100%;object-fit:cover}
.evidence-tile.selected button{position:absolute;top:4px;right:4px;border:0;border-radius:50%;width:22px;height:22px;background:#1b2b45bd;color:#fff;font-size:17px;line-height:1}
.evidence-hint{font-size:12px;color:#8c99a9;margin-top:9px}
.history-timeline{padding:4px 4px 0 16px}
.history-event{position:relative;border-left:2px solid #1769e0;padding:0 0 25px 22px}
.history-event:last-child{border-left-color:transparent;padding-bottom:0}
.history-dot{position:absolute;left:-6px;top:2px;width:11px;height:11px;border:3px solid #1769e0;background:#fff;border-radius:50%}
.history-event h3{margin:0 0 7px;font-size:16px}
.history-event p{margin:10px 0 0;color:#52647b;line-height:1.55}
.history-evidence{display:flex;gap:9px;flex-wrap:wrap;margin-top:11px}
.history-evidence-item{width:88px;font-size:11px;color:#8c99a9;overflow:hidden}
.history-evidence-item img,.evidence-fallback{width:88px;height:75px;object-fit:cover;background:#f3f6fa;border-radius:4px;display:grid;place-items:center;font-size:29px;color:#d5dce7}
.history-evidence-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}
@media(max-width:650px){.todo-form-row{grid-template-columns:1fr;gap:7px}.evidence-grid{gap:7px}.closure-stages{grid-template-columns:1fr}.closure-stage:not(:last-child):after{display:none}.closure-actions{align-items:flex-start;flex-direction:column}}
.todo-closure .row-between>div p{margin:7px 0 0}
.todo-closure .row-between>p{margin:0}
.todo-snapshot{display:flex;flex-wrap:wrap;gap:10px 28px;margin:18px 0;color:#63748b;font-size:12px}
.todo-bottom{display:flex;justify-content:flex-end;border-top:1px solid #edf1f6;padding-top:15px}
.todo-detail-modal{display:flex;flex-direction:column;gap:12px;color:#596b82;line-height:1.5}
