.draft-content{padding:26px 24px 42px;min-width:0;color:#26344a}.draft-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.draft-heading h1{font-size:23px;letter-spacing:-.8px;margin:4px 0 9px}.draft-heading small{font-size:12px;color:#718097;font-weight:500;margin-left:5px}.draft-heading p{margin:0;color:#7d899b;font-size:12px;line-height:1.7}.draft-eyebrow{font-size:10px!important;color:#6260cf!important;font-weight:800;letter-spacing:1px}.draft-pill{white-space:nowrap;border:1px solid #dbd4ab;background:#fff9e7;color:#967320;font-size:11px;border-radius:40px;padding:8px 12px}.draft-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 18px}.draft-stat{border:1px solid #dfe5ee;background:white;border-radius:9px;text-align:left;padding:14px 12px;min-width:0;cursor:pointer}.draft-stat span{display:block;color:#7c899a;font-size:11px;white-space:nowrap}.draft-stat b{display:block;font-size:22px;margin-top:7px;color:#20324c;font-variant-numeric:tabular-nums}.draft-stat.active{border-color:#7974d9;background:#f4f3ff}.draft-filters{display:flex;align-items:end;gap:10px;padding:16px;background:#fff;border:1px solid #dfe5ec;border-radius:8px}.draft-filters label{display:grid;gap:7px;font-size:11px;font-weight:700;color:#5b697f}.draft-filters select,.draft-filters input{height:38px;font:inherit;font-size:12px;border:1px solid #cfd6e0;border-radius:5px;background:#fff;padding:0 11px;color:#26344a}.draft-q{flex:1}.draft-filters button{height:38px;border:1px solid #cfd6e0;background:white;color:#455166;border-radius:5px;padding:0 17px;cursor:pointer;font-weight:700;font-size:12px}.draft-filters .draft-search{background:#247cbe;color:white;border-color:#247cbe}.draft-meta{display:flex;align-items:center;justify-content:space-between;min-height:40px;font-size:12px;color:#687588}.draft-meta p{color:#b42f4e;margin:0}.draft-table-wrap{overflow:auto;background:white;border:1px solid #e0e5ed;border-top:2px solid #247cbe}.draft-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;min-width:1460px}.draft-table th{background:#f4f7fb;padding:12px 10px;text-align:left;border-bottom:1px solid #d7dfe9;color:#526075}.draft-table th:nth-child(1){width:23%}.draft-table th:nth-child(2){width:12%}.draft-table th:nth-child(3){width:21%}.draft-table th:nth-child(4){width:12%}.draft-table th:nth-child(5){width:11%}.draft-table th:nth-child(6){width:9%}.draft-table th:nth-child(7){width:8%}.draft-table th:nth-child(8){width:4%}.draft-table td{padding:13px 10px;border-bottom:1px solid #e7ecf2;vertical-align:top;line-height:1.7;overflow-wrap:anywhere}.draft-table tr:hover{background:#f9fbff}.draft-name{font-weight:700;color:#243b59;line-height:1.5}.draft-sub{font-size:10px;color:#8390a1;margin-top:5px}.draft-opt{margin:4px 0;color:#2b607d}.draft-code{font-family:ui-monospace,Consolas,monospace;font-size:11px;color:#2459a0}.draft-chip{font-weight:800;font-size:10px;border:1px solid #d3dae5;padding:5px 7px;border-radius:5px;background:#f8fafc;white-space:nowrap;display:inline-block}.draft-chip.done{color:#256d57;background:#eaf8f1;border-color:#c9e9da}.draft-chip.review{color:#99711b;background:#fff7e8;border-color:#f1e3b9}.draft-chip.fail{color:#ba4056;background:#fff1f3;border-color:#f1cbd3}.draft-empty{text-align:center;color:#8b96a4;padding:45px!important}.draft-pager{display:flex;justify-content:center;align-items:center;gap:20px;margin:18px 0}.draft-pager button{padding:9px 17px;border-radius:5px;background:#fff;border:1px solid #d4dbe5;font-size:12px;cursor:pointer}.draft-pager button:disabled{opacity:.4;cursor:default}.draft-pager span{font-size:12px;color:#536278}.draft-footnote{background:white;border-left:3px solid #7375cb;padding:14px 17px;font-size:11px;line-height:1.8;color:#6c7b8f;margin-top:17px}@media(max-width:1450px){.draft-stats{grid-template-columns:repeat(4,1fr)}}
.draft-code{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.draft-identifier{font-weight:850;color:#18486a}
.draft-blank{color:#bbc4d1;font-size:12px}
.draft-edit-button{background:#eef4fb;border:1px solid #c5d9ef;border-radius:5px;color:#155b88;font-size:11px;font-weight:800;padding:7px 9px;white-space:nowrap;cursor:pointer}
.draft-edit-button:hover{background:#dbeefa}
.draft-editor{border:0;border-radius:13px;box-shadow:0 24px 90px rgba(0,0,0,.24);padding:0;max-width:min(560px,95vw);width:560px;color:#2c3a4f}
.draft-editor::backdrop{background:rgba(17,27,43,.58)}
.draft-editor form{padding:23px 25px 25px;display:grid;gap:16px}
.draft-editor-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
.draft-editor-head h2{font-size:18px;margin:0}
.draft-edit-close{font-size:25px;border:0;background:transparent;color:#77869a;cursor:pointer}
.draft-editor label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#344359}
.draft-editor input,.draft-editor textarea{width:100%;padding:10px;border:1px solid #cbd6e4;border-radius:6px;font:inherit;font-size:13px;resize:vertical;line-height:1.7;color:#23374e}
.draft-editor-context{font-size:12px;color:#66778d;line-height:1.6;margin:0}
.draft-editor-note{font-size:11px;line-height:1.8;color:#58728d;background:#f4f8fd;padding:12px;margin:0;border-radius:6px}
.draft-editor-error{color:#b93652;font-size:12px;margin:0;min-height:16px}
.draft-editor-actions{display:flex;justify-content:flex-end;gap:8px}
.draft-editor-actions button{border:1px solid #ccd6e2;border-radius:5px;padding:10px 17px;background:#fff;cursor:pointer;font-size:12px;font-weight:800}
.draft-editor-actions button[type=submit]{background:#236eab;border-color:#236eab;color:white}
.draft-editor-actions button:disabled{opacity:.45;cursor:wait}
@media(max-width:1450px){.draft-stats{grid-template-columns:repeat(5,1fr)}}

/* Distinguish editing a draft from explicitly confirming a match. */
.draft-editor-actions{flex-wrap:wrap;align-items:center}
.draft-editor-actions #draft-edit-save{background:#f5f7fa;border-color:#cbd6e2;color:#3b4d66}
.draft-editor-actions #draft-edit-confirm{background:#166fa8;border-color:#166fa8;color:#fff}
.draft-editor-actions #draft-edit-save:hover{background:#e6eef7}
.draft-editor-actions #draft-edit-confirm:hover{background:#0a5f96}
.draft-table th:nth-child(4),.draft-table td:nth-child(4){background:rgba(240,247,253,.38)}
.draft-edit-button{min-width:70px}
