.tl-settings-card .work-icon { font-size: 30px; line-height: 1; }
.tl-combo { display: flex; position: relative; align-items: stretch; flex: 1 1 0; min-width: 0; width: 100%; }
.tl-combo > input { flex: 1 1 0; width: 0; min-width: 0; padding-right: 8px; border-radius: 6px 0 0 6px; }
.tl-combo > [data-tl-toggle] { display: grid; place-items: center; flex: 0 0 35px; padding: 0; border: 1px solid var(--border, #dce3ef); border-radius: 0 6px 6px 0; background: var(--card-soft, #f8fbff); color: var(--muted, #66758d); cursor: pointer; }
.tl-combo > [data-tl-toggle]::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.tl-picker { position: fixed; z-index: 2147483000; box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; padding: 5px; border: 1px solid var(--border, #dce3ef); border-radius: 8px; background: var(--card, #fff); color: var(--text-strong, #172033); box-shadow: 0 10px 32px #15243c33; font: 14px/1.5 "Microsoft YaHei", sans-serif; }
.tl-picker [role=option] { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 5px; cursor: pointer; }
.tl-picker [role=option]:hover, .tl-picker [aria-selected=true] { background: #3475dd20; }
.tl-picker [role=option] > strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.tl-picker [role=option] > span { display: flex; align-items: center; gap: 8px; color: var(--muted, #66758d); font-size: 12px; }
.tl-picker small { color: #356bad; font-size: 11px; }
.tl-picker-note { padding: 14px 10px; color: var(--muted, #66758d); }
.tl-settings { box-sizing: border-box; position: fixed; inset: 0; margin: auto; padding: 0; width: 1120px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 36px); overflow: auto; border: 1px solid var(--border, #dce3ef); border-radius: 12px; color: var(--text-strong, #172033); background: var(--card, #fff); box-shadow: 0 20px 70px #0005; font: 14px/1.5 "Microsoft YaHei", sans-serif; }
.tl-settings::backdrop { background: #14223866; }
.tl-settings > header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: #356bad; color: #fff; }
.tl-settings h2 { color: inherit; font-size: 20px; margin: 0; }
.tl-settings > header button { border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }
.tl-settings form { margin: 0; }
.tl-toolbar { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 20px 12px; }
.tl-settings button { font: inherit; cursor: pointer; }
.tl-toolbar button, .tl-settings footer button { min-height: 36px; padding: 6px 14px; }
.tl-filter { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 0 20px 10px; }
.tl-filter label { display: flex; align-items: center; gap: 12px; }
.tl-filter input { width: 350px; max-width: 55vw; }
.tl-filter > span { color: var(--muted, #66758d); }
.tl-settings input:not([type=checkbox]):not([type=file]) { box-sizing: border-box; min-width: 0; padding: 7px 9px; border: 1px solid var(--border, #dce3ef); border-radius: 5px; color: inherit; background: var(--card, #fff); font: inherit; }
.tl-editor-message { margin: 0 20px 12px; color: var(--muted, #66758d); }
.tl-editor-message.is-error { color: #c52b35; }
.tl-table-scroll { max-height: 53vh; margin: 0 20px; overflow: auto; border: 1px solid var(--border, #dce3ef); border-radius: 6px; }
.tl-table-scroll table { width: 100%; min-width: 800px; border-collapse: collapse; table-layout: fixed; }
.tl-table-scroll th { position: sticky; top: 0; z-index: 1; background: var(--card-soft, #f4f7fb); text-align: left; font-weight: 700; }
.tl-table-scroll th, .tl-table-scroll td { padding: 8px; border-bottom: 1px solid var(--border, #dce3ef); }
.tl-table-scroll th:nth-child(1) { width: 40px; }
.tl-table-scroll th:nth-child(2) { width: 36%; }
.tl-table-scroll th:nth-child(3) { width: 15%; }
.tl-table-scroll th:nth-child(4) { width: 56px; }
.tl-table-scroll th:nth-child(6) { width: 115px; }
.tl-table-scroll td { overflow-wrap: anywhere; }
.tl-table-scroll td input:not([type=checkbox]) { width: 100%; }
.tl-settings input[type=checkbox] { width: 17px; height: 17px; margin: 0; accent-color: #356bad; vertical-align: middle; }
.tl-table-scroll td:nth-child(1), .tl-table-scroll th:nth-child(1), .tl-table-scroll td:nth-child(4), .tl-table-scroll th:nth-child(4) { text-align: center; }
.tl-table-scroll tr:has([data-tl-select]:checked) { background: #3475dd0c; }
.tl-settings footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 20px; }
.tl-settings footer > div { display: flex; align-items: center; gap: 10px; }
.tl-pages button { border: 1px solid var(--border, #dce3ef); border-radius: 5px; background: var(--card, #fff); color: inherit; }
.tl-settings button:disabled, .tl-settings input:disabled { opacity: .55; cursor: default; }
.tl-settings :focus-visible, .tl-combo :focus-visible { outline: 2px solid #3475dd; outline-offset: 1px; }
.tl-empty, .tl-loading { padding: 30px 20px !important; text-align: center; color: var(--muted, #66758d); }
.tl-notice { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2147483001; max-width: calc(100vw - 40px); padding: 12px 20px; border: 1px solid #96c5b8; border-radius: 8px; background: #eaf7f1; color: #17614d; box-shadow: 0 8px 30px #0002; }
@media (max-width: 640px) { .tl-toolbar, .tl-filter { padding-inline: 12px; } .tl-table-scroll { margin-inline: 12px; } .tl-editor-message { margin-inline: 12px; } .tl-settings footer { padding: 12px; } }
