.tc-page{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #dbe3ec;border-radius:6px;overflow:hidden;max-height:calc(100dvh - 150px)}
.tc-row-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.tc-row-actions button{flex:none}.tc-page .tc-row-actions button+button{margin-left:0}.tc-page .tc-row-actions .primary-button:hover:not(:disabled){background:#104fae}
.tc-args-editor{width:100%;box-sizing:border-box;resize:vertical;min-height:180px;border:1px solid #c9d5e2;border-radius:4px;padding:10px;font:12px/1.6 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.tc-args-preview{max-width:560px;max-height:140px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font:11px/1.5 Consolas,monospace}.tc-management{height:100%;max-height:100%;border:0;border-radius:0}.tc-management .tc-tabs{flex-wrap:wrap}
.tc-page button,.tc-dialog button{font:inherit;font-size:12px;color:#263e59;background:#fff;border:1px solid #ced9e7;border-radius:4px;padding:6px 10px}.tc-page button:hover:not(:disabled),.tc-dialog button:hover:not(:disabled){background:#edf4ff}.tc-page .primary-button,.tc-dialog .primary-button{background:#175ed1;color:#fff;border-color:#175ed1}.tc-page td button+button{margin-left:5px}.tc-expanded{display:flex;transform:rotate(90deg)}.tc-page progress{appearance:none;border:0;border-radius:4px;overflow:hidden}.tc-page progress::-webkit-progress-bar{background:#e7edf5}.tc-page progress::-webkit-progress-value{background:#2465d1}.tc-page progress::-moz-progress-bar{background:#2465d1}
.tc-toolbar,.tc-actions,.tc-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tc-toolbar{justify-content:space-between;padding:12px 16px;border-bottom:1px solid #dbe3ec;flex:none}.tc-tabs{display:flex;gap:4px}.tc-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px}.tc-tabs button[aria-selected=true]{color:#145ad4;border-color:#145ad4;font-weight:700}
.tc-page button,.tc-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;cursor:pointer}.tc-page button:disabled,.tc-dialog button:disabled{cursor:not-allowed;opacity:.45}.tc-page small{display:block;color:#66778a;margin-top:4px}.tc-page label,.tc-dialog-body>label{display:flex;flex-direction:column;gap:6px;font-size:13px}.tc-filters{justify-content:flex-start;gap:16px}.tc-filters select{min-width:170px}.tc-page select,.tc-dialog input,.tc-dialog select{min-height:36px;border:1px solid #c9d5e2;border-radius:4px;padding:6px 8px;background:#fff;max-width:100%;min-width:0}.tc-page input[type=checkbox],.tc-dialog input[type=checkbox]{width:16px;height:16px;min-height:16px;flex:none}
.tc-table-wrap{overflow:auto;min-height:0;flex:1}.tc-page table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.tc-page th{position:sticky;top:0;background:#f3f6fa;z-index:1;font-size:12px;color:#596c81}.tc-page td,.tc-page th{padding:13px 16px;border-bottom:1px solid #e4eaf1;vertical-align:middle}.tc-page td:first-child{max-width:350px;overflow-wrap:anywhere}.tc-page progress{width:110px;height:7px;accent-color:#1b65d8}.tc-state{font-weight:700;color:#53647a}.tc-state.completed{color:#128358}.tc-state.running{color:#155ad1}.tc-state.failed,.tc-state.interrupted{color:#bb293a}.tc-pagination{justify-content:flex-end;padding:12px 16px;flex:none}.tc-empty{padding:60px 20px;text-align:center;color:#66778a}.tc-message{margin:0;padding:12px 16px;background:#f4f7fb}.tc-error{color:#bd2838!important}.tc-overlay{position:fixed;inset:0;background:#101d36a6;z-index:1200;display:flex;align-items:center;justify-content:center;padding:20px}.tc-dialog{width:650px;max-width:100%;max-height:90dvh;display:flex;flex-direction:column;background:#fff;border-radius:6px;box-shadow:0 15px 50px #0003}.tc-dialog>header{padding:16px 20px;border-bottom:1px solid #dbe3ec;display:flex;align-items:center;justify-content:space-between;gap:12px}.tc-dialog header h3{margin:0;font-size:18px}.tc-dialog header>div{display:flex;gap:8px}.tc-dialog-body{padding:20px;overflow:auto;display:flex;flex-direction:column;gap:16px;min-height:0}.tc-compact{width:440px}.tc-tree{height:230px;overflow:auto;border:1px solid #dbe3ec;border-radius:4px;padding:8px}.tc-tree ul{list-style:none;margin:0;padding-left:18px}.tc-tree li>div{display:flex;align-items:center;min-width:max-content}.tc-tree button{border:0;background:transparent;justify-content:flex-start}.tc-tree .selected{background:#e7f0ff;color:#1751ac}.tc-folder-name{flex:1;text-align:left}.tc-path{overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px;margin:0}.tc-check{flex-direction:row!important;align-items:center}.tc-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tc-two label{display:flex;flex-direction:column;gap:6px}.tc-dialog dl{display:grid;grid-template-columns:80px 1fr;gap:16px}.tc-dialog dd{margin:0}.tc-dialog .primary-button{background:#175ed1;color:white}.tc-page .tc-actions input{min-width:0}.tc-actions input{flex:1}.tc-dialog-body small{color:#66778a}
@media(max-width:700px){.tc-page{max-height:calc(100dvh - 175px)}.tc-toolbar{padding:8px}.tc-tabs button{padding:8px;font-size:12px}.tc-filters label{flex:1}.tc-filters select{min-width:0;width:100%}.tc-page table{min-width:770px}.tc-overlay{padding:8px}.tc-dialog>header{padding:12px}.tc-dialog-body{padding:14px}.tc-dialog header h3{font-size:16px}.tc-two{grid-template-columns:1fr}.tc-dialog dl{grid-template-columns:1fr;gap:8px}.tc-actions{gap:5px}}
.tc-page .tc-item-completed>td{background:#effaf3}
.tc-page .tc-item-inactive>td{background:#f1f3f5;color:#626b76}
.tc-page .tc-item-error>td{background:#fff0f1}
.tc-page .tc-item-error .tc-state{color:#b42335}
.tc-page .tc-item-inactive .tc-state,.tc-page .tc-item-inactive small{color:#626b76}
.tc-page .tc-progress-inactive{display:inline-block;width:110px;height:7px;border-radius:4px;background:#c5cbd2;vertical-align:middle}
.tc-page .tc-item-completed progress::-webkit-progress-value{background:#16804a}
.tc-page .tc-item-completed progress::-moz-progress-bar{background:#16804a}
.tc-page .tc-item-error progress::-webkit-progress-value{background:#c13546}
.tc-page .tc-item-error progress::-moz-progress-bar{background:#c13546}
