.tk-data-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border:1px solid rgba(150,170,190,.28);border-radius:999px;background:rgba(120,145,165,.08);color:inherit;font-size:10.5px;line-height:1.3;white-space:normal}
.tk-data-row{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:7px}


/* Shared toolkit UI primitives v2.3 */
.tk-data-badge{font-variant-numeric:tabular-nums}
.tk-meta-block{line-height:1.45}
.tk-status{position:relative;line-height:1.45}
.tk-status.tk-ok{color:#54d58b!important}.tk-status.tk-warning,.tk-status.tk-busy{color:#e7bd63!important}.tk-status.tk-error{color:#ff7474!important}
.tk-progress-host{position:relative}.tk-progress-bar{transition:width .15s ease}
.tk-progress-label{font-variant-numeric:tabular-nums}
.tk-file-queue{scrollbar-width:thin;scrollbar-color:#42505e transparent}
.tk-file-row{min-width:0}.tk-file-row [title],.tk-file-row .qname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-output-note{margin-top:6px;color:#93a0ad;font-size:10.5px;line-height:1.45}
.tk-section-kicker{font-size:10px;letter-spacing:.055em;text-transform:uppercase;color:#7f8b97;font-weight:700}
.tk-help-target{cursor:help}
.tk-fidelity-grid{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:7px}
.tk-export-summary{display:grid;gap:5px;padding:8px 9px;border:1px solid rgba(150,170,190,.2);border-radius:8px;background:rgba(120,145,165,.05);font-size:11px;line-height:1.4}
.tk-export-summary b{color:inherit}

/* Shared channel-selection UI v2.4 */
.tk-channel-list{display:grid;gap:7px}
.tk-channel-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 9px;border:1px solid rgba(150,170,190,.20);border-radius:9px;background:#0e1116;min-width:0}
.tk-channel-card:hover{border-color:rgba(150,170,190,.34)}
.tk-channel-check{display:flex;align-items:center;justify-content:center;align-self:stretch;min-width:18px}
.tk-channel-check input{margin:0;accent-color:var(--accent,#68d391)}
.tk-channel-swatch{width:13px;height:13px;border-radius:50%;border:1px solid rgba(255,255,255,.45);box-shadow:0 0 0 2px rgba(255,255,255,.03);flex:0 0 auto}
.tk-channel-copy{min-width:0}
.tk-channel-title{display:flex;align-items:center;gap:7px;min-width:0}
.tk-channel-title strong,.tk-channel-title .tk-channel-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-channel-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:3px;color:var(--muted,#8d98a8);font-size:10px;line-height:1.35}
.tk-channel-identity,.tk-channel-role{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border:1px solid rgba(150,170,190,.23);border-radius:999px;background:rgba(120,145,165,.07);font-size:9.5px;line-height:1.25;white-space:nowrap}
.tk-channel-identity::before,.tk-channel-role::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--tk-chip-color,#9aa7b4);box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.tk-channel-role[data-role="magenta"]{--tk-chip-color:#ff00ff;border-color:rgba(255,0,255,.34);color:#ff8cff}
.tk-channel-role[data-role="green"]{--tk-chip-color:#00ff4c;border-color:rgba(0,255,76,.30);color:#7aff9e}
.tk-channel-role[data-role="red"]{--tk-chip-color:#ff3b30;border-color:rgba(255,59,48,.32);color:#ff918a}
.tk-channel-role[data-role="blue"]{--tk-chip-color:#4285ff;border-color:rgba(66,133,255,.34);color:#8db7ff}
.tk-channel-role[data-role="cyan"]{--tk-chip-color:#00e5ff}.tk-channel-role[data-role="yellow"]{--tk-chip-color:#ffe500}
.tk-channel-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex-wrap:wrap}
.tk-channel-actions select{min-width:112px;max-width:180px}
.tk-channel-toggle{display:inline-flex;align-items:center;gap:4px;color:var(--muted,#8d98a8);font-size:10px;white-space:nowrap;cursor:pointer}
.tk-channel-toggle input{margin:0;accent-color:var(--accent,#68d391)}
.tk-channel-role-map{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tk-channel-role-arrow{color:var(--muted,#8d98a8);font-size:10px}
.tk-channel-identity-strip{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0}
@media(max-width:720px){.tk-channel-card{grid-template-columns:auto minmax(0,1fr)}.tk-channel-actions{grid-column:2;justify-content:flex-start}.tk-channel-actions select{max-width:100%;flex:1 1 130px}.tk-channel-meta{gap:4px}}

/* Shared LUT + custom color controls v2.4.2 */
.tk-color-lut-control{display:flex;align-items:center;gap:5px;min-width:0;width:100%}
.tk-color-lut-control>input[type=color]{flex:0 0 auto}
.tk-color-lut-select{min-width:0;flex:1 1 auto;max-width:170px}
.tk-channel-actions .tk-color-lut-control{width:auto;flex:1 1 180px;justify-content:flex-end}
.tk-channel-actions .tk-color-lut-select{max-width:150px}
@media(max-width:720px){.tk-color-lut-control{flex-wrap:nowrap}.tk-color-lut-select{max-width:none}.tk-channel-actions .tk-color-lut-control{width:100%;flex:1 1 100%}}


/* Compact image metadata popover v2.4.4 */
.tk-image-info-host{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:0 0 auto}
.tk-image-info-btn{appearance:none;width:21px!important;height:21px!important;min-width:21px!important;padding:0!important;border:1px solid rgba(150,170,190,.38)!important;border-radius:50%!important;background:rgba(120,145,165,.08)!important;color:var(--muted,#9aa7b4)!important;font:700 11px/1 system-ui,-apple-system,Segoe UI,sans-serif!important;display:inline-grid!important;place-items:center!important;cursor:pointer!important;box-shadow:none!important}
.tk-image-info-btn:hover,.tk-image-info-btn[aria-expanded="true"]{border-color:var(--accent,#68d391)!important;color:var(--text,#eef3f7)!important;background:rgba(104,211,145,.10)!important}
.tk-image-info-btn[hidden]{display:none!important}
.tk-image-info-popover{position:fixed;z-index:100000;display:none;max-width:calc(100vw - 16px);padding:8px 10px;border:1px solid rgba(150,170,190,.32);border-radius:9px;background:#11171e;color:#e8eef5;box-shadow:0 12px 34px rgba(0,0,0,.48);font:11px/1.35 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;text-align:left}
.tk-image-info-popover.open{display:block}
.tk-image-info-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start;padding:4px 0;border-top:1px solid rgba(150,170,190,.10)}
.tk-image-info-row:first-child{border-top:0}.tk-image-info-row span{color:#8592a0}.tk-image-info-row b{font-weight:600;color:#edf2f7;word-break:break-word;font-variant-numeric:tabular-nums}
.tk-image-info-inline{display:flex;align-items:center;gap:6px;min-width:0}.tk-image-info-inline>.file-name{flex:1 1 auto;min-width:0}
