.act-page { --act-panel: rgba(0,0,0,.26); --act-line: rgba(255,255,255,.07); --act-muted: #a9b1ac; --act-dim: #858d88; --act-text: #f1f2ef; --act-accent: #8fc1ff; --act-live: #a0dbbb; --act-danger: #ffabb0; display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 0; }
.act-loading { padding: 40px; text-align: center; font-size: 12.5px; color: #858d88; }
.act-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.act-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 6px; background: var(--act-panel); border: 1px solid var(--act-line); }
.act-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 16px; border: 0; border-radius: 4px; background: transparent; color: var(--act-muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.act-tabs button:hover { color: var(--act-text); background: rgba(255,255,255,.05); }
.act-tabs button.active { background: rgba(255,255,255,.1); color: var(--act-text); }
.act-tabs button b { min-width: 18px; padding: 0 5px; border-radius: 999px; background: rgba(143,193,255,.18); color: var(--act-accent); font-size: 10.5px; line-height: 17px; text-align: center; }
.act-save { display: flex; align-items: center; gap: 8px; }
.act-state { font-size: 11.5px; color: var(--act-dim); }
.act-state.dirty { color: var(--act-accent); }
.act-state.dirty::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--act-accent); vertical-align: middle; }
.act-save .btn:disabled, .act-page .btn:disabled { opacity: .45; cursor: default; }
.act-body { flex: 1; min-height: 0; }
.act-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 12px; height: 100%; min-height: 0; }
.act-side { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 14px; background: var(--act-panel); border: 1px solid var(--act-line); border-radius: 6px; }
.act-side-head { display: flex; align-items: center; justify-content: space-between; }
.act-side-head h3 { margin: 0; font-size: 13px; font-weight: 600; color: var(--act-text); }
.act-side-head span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 11px; text-align: center; color: var(--act-muted); }
.act-new { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
.act-page .btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.act-page .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.act-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; min-height: 0; }
.act-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 5px; border: 1px solid transparent; background: rgba(255,255,255,.03); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.act-item:hover { background: rgba(255,255,255,.07); }
.act-item.active { border-color: rgba(143,193,255,.4); background: rgba(143,193,255,.08); }
.act-item-ic { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--act-muted); }
.act-item.active .act-item-ic { color: var(--act-accent); }
.act-item-ic svg { width: 16px; height: 16px; }
.act-item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.act-item-text strong { font-size: 12.5px; color: var(--act-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-item-text small { font-size: 11px; color: var(--act-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; overflow-y: auto; padding-right: 2px; }
.act-card { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; background: var(--act-panel); border: 1px solid var(--act-line); border-radius: 6px; }
.act-card h3 { margin: 0; font-size: 13px; font-weight: 600; color: var(--act-text); }
.act-card p { margin: 3px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--act-dim); }
.act-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.act-hero { flex-direction: row; align-items: flex-start; justify-content: space-between; padding: 18px 20px; }
.act-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--act-muted); }
.act-hero h2 { margin: 6px 0 4px; font-family: 'IBM Plex Sans', sans-serif; font-size: 24px; font-weight: 500; letter-spacing: -.02em; color: var(--act-text); }
.act-hero p { margin: 0; font-size: 12px; color: var(--act-muted); }
.act-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 14px; }
.act-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.act-field > span { font-size: 11.5px; font-weight: 600; color: var(--act-muted); }
.act-field small { font-size: 11px; line-height: 1.4; color: var(--act-dim); }
.act-field .input-field { width: 100%; min-width: 0; font-variant-numeric: tabular-nums; }
.act-seg { display: inline-flex; flex-shrink: 0; padding: 3px; border-radius: 5px; background: rgba(255,255,255,.05); }
.act-seg button { height: 28px; padding: 0 14px; border: 0; border-radius: 4px; background: transparent; color: var(--act-muted); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.act-seg button.active { background: rgba(143,193,255,.16); color: var(--act-accent); }
.act-poly { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 5px; background: rgba(255,255,255,.03); }
.act-poly-count { font-size: 12px; color: var(--act-muted); }
.act-poly-count b { font-size: 14px; color: var(--act-text); font-variant-numeric: tabular-nums; }
.act-pos { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--act-line); }
.act-card h3 + .act-pos { border-top: 0; padding-top: 0; }
.act-pos-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: rgba(143,193,255,.1); color: var(--act-accent); }
.act-pos-ic svg { width: 15px; height: 15px; }
.act-pos-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.act-pos-text strong { font-size: 12.5px; color: var(--act-text); }
.act-pos-text small { font-size: 11px; color: var(--act-dim); }
.act-page code { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; color: var(--act-muted); font-variant-numeric: tabular-nums; }
.act-pos-actions { display: flex; align-items: center; gap: 6px; }
.act-icon-btn { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid var(--act-line); border-radius: 5px; background: transparent; color: var(--act-muted); cursor: pointer; transition: background .15s, color .15s, opacity .15s; }
.act-icon-btn svg { width: 14px; height: 14px; }
.act-icon-btn:hover:not(:disabled) { background: rgba(255,255,255,.07); color: var(--act-text); }
.act-icon-btn.act-danger:hover:not(:disabled) { color: var(--act-danger); }
.act-icon-btn:disabled { opacity: .3; cursor: default; }
.act-page .btn.act-danger { color: var(--act-danger); }
.act-rows { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.act-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 10px; border-radius: 5px; background: rgba(255,255,255,.03); }
.act-row code { flex: 1; min-width: 0; }
.act-row-num { min-width: 22px; font-size: 11px; font-weight: 600; color: var(--act-dim); font-variant-numeric: tabular-nums; }
.act-note { margin: 0; font-size: 11.5px; color: var(--act-dim); }
.act-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; flex: 1; min-height: 360px; padding: 40px; text-align: center; background: var(--act-panel); border: 1px dashed rgba(255,255,255,.12); border-radius: 6px; }
.act-empty-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: rgba(143,193,255,.1); color: var(--act-accent); }
.act-empty-ic svg { width: 26px; height: 26px; }
.act-empty h3 { margin: 4px 0 0; font-size: 15px; color: var(--act-text); }
.act-empty p { max-width: 420px; margin: 0 0 6px; font-size: 12.5px; line-height: 1.55; color: var(--act-muted); }
.act-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; height: 100%; min-height: 0; overflow-y: auto; align-items: start; }
.act-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.act-table { display: flex; flex-direction: column; }
.act-tr { display: grid; grid-template-columns: minmax(0, 1fr) 130px; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--act-line); }
.act-table.with-xp .act-tr { grid-template-columns: minmax(0, 1fr) 110px 110px; }
.act-table.with-pick .act-tr { grid-template-columns: minmax(0, 1fr) 170px auto; }
.act-table.with-xp-del .act-tr { grid-template-columns: minmax(0, 1fr) auto 100px 100px 32px; }
.act-table.with-drops .act-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto 32px; }
.act-columns.act-single { grid-template-columns: minmax(0, 1fr); }
.act-th { padding-top: 0; border-top: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--act-dim); }
.act-tr > span:first-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.act-tr strong { font-size: 12.5px; font-weight: 600; color: var(--act-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-tr small { font-size: 10.5px; color: var(--act-dim); }
.act-tr .input-field { width: 100%; height: 32px; text-align: right; font-variant-numeric: tabular-nums; }
.act-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; height: 100%; overflow-y: auto; align-content: start; }
.act-event-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.act-event-head h3 { font-size: 14px; }
.act-event > p { margin-top: -6px; }
.act-pill { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 11px; font-weight: 600; color: var(--act-muted); }
.act-pill.on { background: rgba(160,219,187,.14); color: var(--act-live); }
.act-pill.on::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--act-live); vertical-align: middle; animation: act-pulse 2s infinite; }
@keyframes act-pulse { 0% { box-shadow: 0 0 0 0 rgba(160,219,187,.5); } 70% { box-shadow: 0 0 0 6px rgba(160,219,187,0); } 100% { box-shadow: 0 0 0 0 rgba(160,219,187,0); } }
@media (prefers-reduced-motion: reduce) { .act-pill.on::before { animation: none; } }
.act-event.live { border-color: rgba(160,219,187,.28); }
.act-event-live { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 5px; background: rgba(160,219,187,.06); }
.act-event-live b { font-family: 'IBM Plex Sans', sans-serif; font-size: 22px; font-weight: 500; color: var(--act-text); font-variant-numeric: tabular-nums; }
.act-event-live span { font-size: 12px; color: var(--act-muted); }
.act-event .btn { align-self: flex-start; }
.act-page button:focus-visible, .act-page .input-field:focus-visible { outline: 2px solid var(--act-accent); outline-offset: 2px; }
