/* Záložka Triggery v admin panelu (core/trigger-admin.js). Maketa 1:1: docs/mockups/2026-10-28-triggery-admin.html. Addon i web. */
.uc-trg { display: flex; flex-direction: column; gap: 8px; }
.uc-trg .uc-pl-viewseg .uc-trg-n { opacity: .6; }
.uc-trg-st { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 6px 8px; border-radius: 7px; }
.uc-trg-st .lamp { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.uc-trg-st.ok { color: #9ff0c4; background: linear-gradient(90deg, rgba(63, 210, 138, .12), transparent 85%); }
.uc-trg-st.ok .lamp { background: #3fd28a; box-shadow: 0 0 6px #3fd28a; }
.uc-trg-st.off { color: var(--text-secondary, #adadb8); background: rgba(255, 255, 255, .03); }
.uc-trg-st.off .lamp { background: #555; }
.uc-trg-st.warn { color: #ffd27a; background: linear-gradient(90deg, rgba(255, 179, 0, .13), transparent 85%); }
.uc-trg-st.warn .lamp { background: #ffb300; }
.uc-trg-st.bad { color: #ffb3b3; background: linear-gradient(90deg, rgba(255, 107, 107, .15), transparent 85%); }
.uc-trg-st.bad .lamp { background: #ff6b6b; box-shadow: 0 0 6px #ff6b6b; }
.uc-trg-st .t { flex: 1; min-width: 0; }
.uc-trg-modeseg { flex: none; width: auto; margin: 0; padding: 2px; }
.uc-trg-modeseg > button { flex: none; padding: 2px 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; border-radius: 5px; transition: background-color .15s, color .15s; }
/* Malý přepínač bez posuvného zvýraznění (překresluje se se stavem): vybraný segment má pozadí jako .uc-slide-ind--gwa. */
.uc-trg-modeseg > button.on { background: rgba(255, 140, 0, .16); }
.uc-trg-stop { position: static; flex: none; color: var(--text-secondary, #adadb8); background: #3a3a44; box-shadow: none; cursor: not-allowed; }
.uc-trg-find { width: 100%; font-size: 12px; }
.uc-trg-list { display: flex; flex-direction: column; gap: 4px; }
.uc-trg-row { border: 1px solid var(--border, #2f2f35); border-radius: 8px; background: var(--bg-secondary, #18181b); transition: border-color .15s; }
.uc-trg-row.open { border-color: rgba(255, 140, 0, .45); }
.uc-trg-row.run { border-color: rgba(255, 79, 163, .5); background: linear-gradient(120deg, rgba(255, 79, 163, .12), rgba(169, 112, 255, .06)); }
.uc-trg-head { display: flex; align-items: center; gap: 8px; padding: 7px 8px; }
.uc-trg-head .uc-pl-chk { flex: none; }
.uc-trg-txt { flex: 1; min-width: 0; cursor: pointer; }
.uc-trg-name { font-weight: 700; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-trg-m { font-size: 11px; color: var(--text-muted, #848494); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.uc-trg-row.off .uc-trg-txt { opacity: .5; }
.uc-trg-cd { flex: none; font-size: 10.5px; font-weight: 800; font-variant-numeric: tabular-nums; color: #ffd27a; background: rgba(255, 179, 0, .12); border-radius: 999px; padding: 1px 6px; }
.uc-trg-cd[hidden] { display: none; }
.uc-trg-go { flex: none; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.uc-trg-go.armed { border-color: var(--accent, #ff8c00) !important; color: var(--accent-light, #ffc800) !important; background: rgba(255, 140, 0, .14) !important; }
.uc-trg-go.stop { border-color: rgba(255, 107, 107, .55) !important; color: #ffb3b3 !important; }
.uc-trg-go:disabled, .uc-trg-row .uc-pl-chk:disabled { opacity: .45; cursor: not-allowed; }
.uc-trg-chev { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border: 0; background: none; color: var(--text-muted, #848494); cursor: pointer; border-radius: 5px; transition: transform .18s, color .15s; }
.uc-trg-chev:hover { color: var(--text-primary, #efeff1); background: var(--bg-hover, #26262c); }
.uc-trg-row.open .uc-trg-chev { transform: rotate(180deg); }
.uc-trg-body { padding: 2px 9px 9px 31px; display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.uc-trg-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; color: var(--text-secondary, #adadb8); }
.uc-trg-kv span:nth-child(odd) { color: var(--text-muted, #848494); }
.uc-trg-kv code { font-size: 11.5px; color: #ffd1e8; overflow-wrap: anywhere; }
.uc-trg-cds { display: flex; gap: 8px; }
.uc-trg-cds label { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.uc-trg-cds .uc-pl-in { width: 100%; }
.uc-trg-cds .ro { padding: 5px 0; font-weight: 700; color: var(--text-primary, #efeff1); }
.uc-trg-acts { display: flex; align-items: center; gap: 8px; }
.uc-trg-saved { color: #3fd28a; font-weight: 700; font-size: 11.5px; }
.uc-trg-zl { margin-left: auto; color: var(--text-muted, #848494); font-size: 11.5px; }
.uc-trg-tag { font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 999px; }
.uc-trg-tag.prank { color: #ffd1e8; background: rgba(255, 79, 163, .18); }
.uc-trg-tag.run { color: #ffd1e8; background: rgba(255, 79, 163, .3); }
.uc-trg-price { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; color: var(--text-primary, #efeff1); }
.uc-trg-coin { margin: -4px 0; }
.uc-trg-empty { color: var(--text-muted, #848494); font-size: 12px; padding: 10px 2px; text-align: center; }
.uc-trg-empty:empty { display: none; }
.uc-trg-toastwrap { position: sticky; bottom: 0; height: 0; z-index: 2; pointer-events: none; }
.uc-trg-toast { position: absolute; left: 0; right: 0; bottom: 6px; box-shadow: 0 4px 14px rgba(0, 0, 0, .55); padding: 7px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; background: #143326; color: #9ff0c4; border: 1px solid rgba(63, 210, 138, .4); }
.uc-trg-toast.err { background: #3a1717; color: #ffb3b3; border-color: rgba(255, 107, 107, .4); }
@media (prefers-reduced-motion: reduce) { .uc-trg-chev, .uc-trg-row { transition: none; } }
