.ct-xtabs { display: flex; gap: 8px; flex: none; }
.ct-ctab .count { margin-left: 2px; }
.ct-kv-sub { display: block; font-weight: 400; }
.ct-src-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.ct-src-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--background); font: inherit; text-align: left; cursor: pointer; color: var(--foreground); }
.ct-src-opt .grow { display: flex; flex-direction: column; min-width: 0; }
.ct-src-opt:hover { background: var(--accent); }
.ct-src-opt.on { border-color: var(--border-brand); background: var(--background-brand); }
.ct-src-opt > svg.lucide { width: 18px; height: 18px; color: var(--primary); flex: none; }
.ct-live { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 1px 8px; border-radius: var(--radius-full); background: var(--success-foreground); color: var(--success); font-size: 12px; font-weight: 500; vertical-align: 2px; }
.ct-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: ct-pulse 2s infinite; }
@keyframes ct-pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); } 70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .ct-live-dot { animation: none; } }
.ct-pull-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--border); }
.ct-or { padding: 0 2px; }
.ct-pull-note { text-align: right; min-width: 200px; }
.ct-systems { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ct-sysc { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); min-width: 0; }
.ct-sysc .grow { display: flex; flex-direction: column; min-width: 0; }
.ct-sysc-acts { margin-top: 2px; }
.ct-ctl-id { display: inline-block; min-width: 34px; margin-right: 8px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; font-weight: 500; }
.ct-mod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ct-mod-grid .field.wide { grid-column: 1 / -1; }
.ctl-toolbar { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; }
.ctl-toolbar .rx-search { flex: 1 1 auto; }
.ctl-against { white-space: normal; }
.ctl-side { display: flex; flex-direction: column; gap: 16px; }
.ctl-kv { grid-template-columns: 1fr 1fr; }
.ctl-exs { gap: 6px; }
.pol-text { white-space: normal; font-weight: 400; }
.pol-ctls { gap: 4px; }
.pol-ctls .rx-chip { text-decoration: none; }
.std-in { display: inline-flex; align-items: center; gap: 4px; justify-content: flex-end; }
.std-in .input { width: 96px; text-align: right; }
.std-sub { margin-top: 32px; }
.ct-tabbar { display: flex; gap: 2px; margin: 4px 0 16px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.ct-tb { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: var(--muted-foreground); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
.ct-tb:hover { color: var(--foreground); }
.ct-tb.on { color: var(--primary); border-bottom-color: var(--primary); }
.ct-tb svg.lucide { width: 16px; height: 16px; }
.ct-tb .ct-tab-lock { width: 12px; height: 12px; opacity: .6; }
.ct-dot-new { padding: 0 6px; border-radius: var(--radius-full); background: var(--warning); color: #fff; font-size: 11px; line-height: 18px; }
.ct-modbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px 16px; border: 1px solid #fcd34d; border-radius: var(--radius-lg); background: var(--warning-foreground); }
.ct-modbar > svg.lucide { width: 18px; height: 18px; color: var(--warning); flex: none; }
.ct-mod-badge { display: inline-flex; align-items: center; gap: 4px; }
.ct-mod-badge svg.lucide { width: 12px; height: 12px; }
.ct-term-chg { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: 13px; }
.ct-term-chg svg.lucide { width: 14px; height: 14px; color: var(--muted-foreground); }
.ct-was { color: var(--muted-foreground); text-decoration: line-through; }
.ct-now { color: var(--foreground); font-weight: 600; background: var(--warning-foreground); padding: 0 4px; border-radius: 4px; }
.ct-vers { list-style: none; margin: 0 0 24px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ct-vers li { display: flex; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--border); }
.ct-vers li:first-child { border-top: 0; }
.ct-vers li .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-vers li.cur { background: var(--background-brand); }
.ct-vers li.draft { background: var(--warning-foreground); }
.ct-ver-n { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--border); background: var(--background); font-weight: 600; font-size: 13px; }
.ct-vers li.cur .ct-ver-n { border-color: var(--border-brand); color: var(--primary); }
.ct-an-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ct-an-head svg.lucide { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }
.ct-an-sel { justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
.ct-an-sel .t-meta.grow { text-align: left; padding-left: 8px; }
.an-unit { margin-left: 8px; font-weight: 400; }
.an-ytd-hint { margin-top: 8px; }
.ct-asm { margin-top: 24px; }
.ct-modflag { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; width: fit-content; }
.ct-modflag svg.lucide { width: 12px; height: 12px; }
.ct-asm-why { display: block; font-weight: 400; margin-top: 2px; }
.ct-fd-foot { margin-top: 12px; }
.ct-an-acts { gap: 8px; justify-content: center; }
