/* 任务排查：全宽记录列表，详情抽屉承载证据与任务操作。 */
.tt-wrap{display:grid;gap:12px;min-width:0}.tt-intro{margin:0;color:#64748b;font-size:12px}.tt-mode,.tt-muted{color:#64748b;font-size:12px}.tt-mono{font:12px ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.tt-drain{padding:11px 13px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;font-size:12px;line-height:1.5}
.tt-search{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tt-search input{min-width:280px;max-width:560px;flex:1}.tt-list-panel{min-width:0;overflow:hidden}.tt-list-panel .tt-section{padding:11px 16px;border-bottom:1px solid #e5e7eb}.tt-table-wrap{overflow-x:auto;overflow-y:visible}.tt-table{width:100%;min-width:1050px;table-layout:fixed;border-collapse:collapse;font-size:12px}.tt-table th,.tt-table td{padding:12px 9px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.tt-table th{background:#f8fafc;color:#64748b;font-weight:600;white-space:nowrap}.tt-table th:nth-child(1){width:170px}.tt-table th:nth-child(2){width:140px}.tt-table th:nth-child(3){width:100px}.tt-table th:nth-child(4){width:140px}.tt-table th:nth-child(5){width:130px}.tt-table th:nth-child(6){width:90px}.tt-table th:nth-child(7){width:90px}.tt-table th:nth-child(8){width:120px}.tt-table th:nth-child(9){width:70px}.tt-table td strong{display:block;font-weight:650}.tt-table td small{display:block;margin-top:4px;color:#64748b;font-size:11px;line-height:1.35}.tt-table tr[data-open-case]{cursor:pointer}.tt-table tr[data-open-case]:hover,.tt-table tr.selected{background:#f3f8fb}.tt-detail-button{white-space:nowrap}
.tt-state{display:inline-flex;max-width:100%;align-items:center;border-radius:999px;padding:3px 8px;background:#f1f5f9;color:#475569;font-size:11px;line-height:1.35;white-space:normal}.tt-state.good{background:#dcfce7;color:#166534}.tt-state.warn{background:#fef3c7;color:#92400e}.tt-state.bad{background:#fee2e2;color:#991b1b}.tt-state.info{background:#dbeafe;color:#1d4ed8}.tt-empty{padding:30px;text-align:center;color:#64748b}
.tt-filters{border:1px solid #e2e8f0;border-radius:8px;background:#fbfdff;padding:9px 12px}.tt-filters>summary,.tt-tech>summary,.tt-evidence>summary,.tt-history>summary{cursor:pointer;font-size:12px;font-weight:650;color:#334155}.tt-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px 12px;padding:12px 0 5px}.tt-filter-grid>label{display:grid;gap:4px;font-size:11px;color:#64748b}.tt-filter-grid .control{min-width:0}.tt-status-filter{grid-column:span 2;display:flex;gap:7px 12px;flex-wrap:wrap;border:1px solid #e2e8f0;border-radius:6px;padding:6px 8px}.tt-status-filter legend{font-size:11px;color:#64748b;padding:0 3px}.tt-check{font-size:11px;color:#475569;display:flex;align-items:center;gap:4px}.tt-filter-actions{display:flex;align-items:end;gap:7px}
.tt-drawer-open{overflow:hidden}.tt-drawer-mask{position:fixed;inset:0;z-index:90;background:rgba(15,23,42,.32)}.tt-detail-drawer{position:fixed;z-index:91;top:0;right:0;width:min(840px,calc(100vw - 24px));height:100vh;height:100dvh;background:#fff;border-left:1px solid #dbe2ea;box-shadow:-12px 0 36px rgba(15,23,42,.16);display:flex;flex-direction:column;min-width:0}.tt-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px;padding:10px 18px;border-bottom:1px solid #e5e7eb;flex:none}.tt-drawer-head h2{margin:0;font-size:17px}.tt-drawer-head p{margin:4px 0 0;font-size:12px;color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.tt-case{display:flex;flex-direction:column;min-height:0;flex:1}.tt-case-scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding-bottom:14px}.tt-locate{padding:13px 18px;border-bottom:1px solid #e5e7eb;background:#fbfdff}.tt-locate strong{display:block;font-size:13px}.tt-locate p{margin:5px 0 0;line-height:1.45}
.tt-critical,.tt-snapshot-note{margin:0 18px 12px}
.tt-evidence,.tt-tech{margin:0 18px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:10px 12px}.tt-section{padding:14px 18px;border-bottom:1px solid #e5e7eb}.tt-section h3{font-size:13px;margin:0 0 10px}.tt-evidence .tt-section{padding:10px 0 0;border:0}.tt-domains{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tt-domain{padding:10px;border:1px solid #e5e7eb;border-radius:7px;min-width:0}.tt-domain b{display:block;font-size:12px;margin-bottom:5px}.tt-domain p{margin:3px 0;color:#475569;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.tt-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.tt-links a{font-size:12px}.tt-result{padding:10px;border-radius:7px;background:#f8fafc;font-size:12px;line-height:1.55}.tt-result.alert{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.tt-copy{font-size:11px;color:#64748b;margin-top:8px}
.tt-tech-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:10px}.tt-tech-grid>div{min-width:0}.tt-tech-grid b{font-size:11px;color:#475569}.tt-tech-grid p{margin:4px 0;font-size:11px;color:#64748b;line-height:1.5;overflow-wrap:anywhere}.tt-tech-row{display:grid;grid-template-columns:minmax(80px,.5fr) minmax(0,1fr) auto;align-items:center;gap:7px;margin:4px 0;font-size:11px;color:#64748b}.tt-tech-row code{overflow-wrap:anywhere;color:#334155}.tt-operation-section{border-bottom:0}.tt-operation-section>summary{cursor:pointer;font-size:12px;font-weight:650;color:#334155}.tt-operation-section[open]>summary{margin-bottom:10px}.tt-operation-section>p{font-size:12px;line-height:1.5;margin:0 0 10px}
.tt-receipt{border-left:3px solid #3b82f6;padding:10px 12px;margin:12px 0 0;background:#f8fafc;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.tt-receipt ol{margin:7px 0 0;padding-left:20px}.tt-receipt li{padding:3px 0}.tt-receipt>p{overflow-wrap:anywhere}.tt-history{margin:8px 0}.tt-history ol{margin:7px 0 5px;padding-left:20px}.tt-history li{font-size:11px;line-height:1.6;color:#475569}.tt-history li ul{margin:3px 0 5px;padding-left:16px}.tt-drawer-foot{flex:none;border-top:1px solid #e5e7eb;background:#fff;padding:10px 18px;box-shadow:0 -4px 12px rgba(15,23,42,.05)}.tt-drawer-foot-inner{display:grid;gap:8px}.tt-ops{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.tt-operation-hold{margin-right:auto;color:#64748b;font-size:12px;line-height:1.4;max-width:440px}.tt-op-confirm{padding:8px 10px;background:#fff7ed;border:1px solid #fed7aa;border-radius:7px;font-size:12px}.tt-op-confirm p{margin:4px 0 0;color:#7c2d12}

.tt-detail-section{padding-top:13px;padding-bottom:13px}.tt-detail-section h3{display:inline-block;margin:0 0 9px}.tt-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.tt-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;border-top:1px solid #e5e7eb}.tt-detail-row{display:flex;justify-content:space-between;gap:12px;min-width:0;padding:7px 0;border-bottom:1px solid #eef2f7;font-size:12px}.tt-detail-row span{flex:0 0 auto;color:#64748b;padding-right:12px}.tt-detail-row strong{min-width:0;color:#1e293b;text-align:right;overflow-wrap:anywhere}.tt-request-json,.tt-log-viewer{margin:0;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;white-space:pre-wrap;overflow:auto;font:11px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;color:#334155}.tt-failure-note{margin:0 18px 12px}.tt-section-title h3{margin:0}.tt-detail-section>.tt-muted{margin:8px 0 0;line-height:1.5}
.tt-operation-status{margin:8px 18px 0;padding:6px 10px;border:0;border-left:3px solid #2563eb;border-radius:4px;background:#f8fbff;font-size:12px;line-height:1.35}
.tt-operation-status strong{display:block;color:#1e3a8a;font-size:13px}
.tt-operation-status p{margin:5px 0 8px;color:#334155;overflow-wrap:anywhere}
.tt-operation-status code{font:12px ui-monospace,SFMono-Regular,Menlo,monospace}
.tt-operation-status.done{border-color:#86efac;border-left-color:#16a34a;background:#f0fdf4}
.tt-operation-status.done strong{color:#166534}
.tt-disposition-note{line-height:1.35;color:#475569!important}
/* 8 列紧凑摘要；结果和交付仍为两个独立状态。 */
.tt-table{min-width:940px}
.tt-table th:nth-child(1){width:160px}.tt-table th:nth-child(2){width:130px}.tt-table th:nth-child(3){width:90px}.tt-table th:nth-child(4){width:125px}.tt-table th:nth-child(5){width:175px}.tt-table th:nth-child(6){width:90px}.tt-table th:nth-child(7){width:105px}.tt-table th:nth-child(8){width:145px}
.tt-table td strong.tt-mono,.tt-ellipsis{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-row-actions{position:relative;display:inline-block}.tt-row-actions>summary{list-style:none;cursor:pointer}.tt-row-actions>summary::-webkit-details-marker{display:none}.tt-row-actions[open]{z-index:4}.tt-row-action-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:5;display:grid;gap:4px;min-width:148px;padding:6px;background:#fff;border:1px solid #dbe2ea;border-radius:7px;box-shadow:0 8px 20px rgba(15,23,42,.14)}.tt-row-action-menu button{width:100%;text-align:left}.tt-row-action-menu button[disabled]{cursor:not-allowed;opacity:.48}
.tt-table td:last-child:has(.tt-row-actions[open]){z-index:6}
.tt-result-delivery{display:grid;gap:3px}
.tt-result-delivery>div{display:flex;align-items:center;gap:4px;min-width:0}
.tt-result-delivery>div>span:first-child{flex:none;color:#64748b;font-size:10px}
.tt-result-delivery .tt-state{padding:2px 6px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-table th:last-child,.tt-table td:last-child{position:sticky;right:0;z-index:1;background:#fff;box-shadow:-4px 0 7px rgba(15,23,42,.04)}
.tt-table th:last-child{z-index:2;background:#f8fafc}
.tt-table tr[data-open-case]:hover td:last-child,.tt-table tr.selected td:last-child{background:#f3f8fb}
@media(max-width:1100px){.tt-filter-grid{grid-template-columns:repeat(3,minmax(130px,1fr))}}@media(max-width:680px){.tt-detail-drawer{width:100vw}.tt-domains,.tt-tech-grid{grid-template-columns:1fr}.tt-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tt-search input{min-width:100%}.tt-status-filter{grid-column:span 2}.tt-ops{justify-content:flex-start}.tt-operation-hold{max-width:none;width:100%}}

/* Service progress and prototype-only controls. */
.tt-demo-tools{margin-top:20px;border-top:1px solid #e3e9f1;padding-top:14px}.tt-demo-tools summary{cursor:pointer;color:#75829a;font-size:12px}.tt-demo-tools select{display:block;max-width:340px;margin-top:8px}.tt-demo-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.tt-history li{margin:8px 0}
.tt-log-events{margin:0;padding:10px 0 0 26px;font-size:12px;line-height:1.65}.tt-log-events li{padding:2px 0;color:#334155}.tt-log-phase{color:#64748b}
