:root {
    --fsr-surface: rgba(15, 23, 42, 0.82);
    --fsr-surface-strong: rgba(15, 23, 42, 0.94);
    --fsr-panel: rgba(30, 41, 59, 0.68);
    --fsr-line: rgba(148, 163, 184, 0.2);
    --fsr-text: #e2e8f0;
    --fsr-muted: #94a3b8;
    --fsr-passive: #8b5cf6;
    --fsr-passive-soft: rgba(139, 92, 246, 0.16);
    --fsr-trigger: #f59e0b;
    --fsr-trigger-soft: rgba(245, 158, 11, 0.16);
    --fsr-success: #10b981;
}

.fsr-page-shell {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.fsr-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--fsr-line);
    border-radius: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.88));
    box-shadow: 0 22px 55px -30px rgba(15, 23, 42, 0.95);
}

.fsr-hero::before,
.fsr-hero::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}

.fsr-hero::before {
    width: 16rem;
    height: 16rem;
    right: -4rem;
    top: -5rem;
    opacity: 0.22;
}

.fsr-hero::after {
    width: 10rem;
    height: 10rem;
    right: 15rem;
    bottom: -6rem;
    opacity: 0.12;
}

.fsr-hero--passive::before,
.fsr-hero--passive::after {
    background: radial-gradient(circle, rgba(167, 139, 250, 0.95) 0%, rgba(167, 139, 250, 0) 68%);
}

.fsr-hero--trigger::before,
.fsr-hero--trigger::after {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.95) 0%, rgba(251, 191, 36, 0) 68%);
}

.fsr-hero__row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.fsr-hero__copy {
    max-width: 45rem;
}

.fsr-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.38);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.fsr-kicker i {
    font-size: 0.75rem;
}

.fsr-hero h1 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: clamp(1.55rem, 1.4rem + 0.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
}

.fsr-hero h1 i {
    font-size: 1.15em;
}

.fsr-hero--passive h1 i,
.fsr-hero--passive .fsr-detail-pill__icon {
    color: #c4b5fd;
}

.fsr-hero--trigger h1 i,
.fsr-hero--trigger .fsr-detail-pill__icon {
    color: #fcd34d;
}

.fsr-hero p {
    margin: 0.8rem 0 0;
    max-width: 42rem;
    line-height: 1.65;
    color: var(--fsr-muted);
    font-size: 0.96rem;
}

.fsr-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.fsr-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.fsr-stat-card {
    border: 1px solid var(--fsr-line);
    border-radius: 1.15rem;
    padding: 1rem 1.05rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.fsr-stat-card__label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.fsr-stat-card__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f8fafc;
}

.fsr-stat-card__hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.fsr-table-card,
.fsr-modal-card {
    border: 1px solid var(--fsr-line);
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.88));
    box-shadow: 0 20px 45px -32px rgba(2, 6, 23, 0.95);
    overflow: hidden;
}

.fsr-table-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.44);
}

.fsr-table-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
}

.fsr-table-card__subtitle {
    margin-top: 0.2rem;
    font-size: 0.84rem;
    color: #94a3b8;
}

.fsr-table {
    width: 100%;
    border-collapse: collapse;
}

.fsr-table thead th {
    padding: 0.95rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.fsr-table tbody td {
    padding: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    vertical-align: middle;
}

.fsr-table tbody tr {
    transition: background-color 160ms ease, transform 160ms ease;
}

.fsr-table tbody tr:hover {
    background: rgba(51, 65, 85, 0.26);
}

.fsr-camera-cell,
.fsr-rule-cell {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.fsr-camera-icon,
.fsr-rule-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
    flex-shrink: 0;
}

.fsr-rule-index {
    font-size: 0.8rem;
    font-weight: 700;
}

.fsr-camera-name,
.fsr-rule-name {
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fsr-camera-meta,
.fsr-rule-meta {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.fsr-link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 8.8rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.95rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.52);
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.fsr-link-pill:hover {
    transform: translateY(-1px);
}

.fsr-link-pill--passive {
    border-color: rgba(167, 139, 250, 0.32);
    background: rgba(139, 92, 246, 0.12);
    color: #ddd6fe;
}

.fsr-link-pill--trigger {
    border-color: rgba(251, 191, 36, 0.34);
    background: rgba(245, 158, 11, 0.12);
    color: #fde68a;
}

.fsr-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    background: rgba(15, 23, 42, 0.42);
}

.fsr-toggle-col {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.38rem;
}

.fsr-toggle-note {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fsr-label-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.fsr-label-chip,
.fsr-status-chip,
.fsr-detail-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.45);
    color: #cbd5e1;
    font-size: 0.74rem;
    font-weight: 700;
}

.fsr-status-chip--ok {
    color: #bbf7d0;
    border-color: rgba(16, 185, 129, 0.26);
    background: rgba(16, 185, 129, 0.12);
}

.fsr-status-chip--muted {
    color: #94a3b8;
}

.fsr-status-chip--passive {
    color: #ddd6fe;
    border-color: rgba(167, 139, 250, 0.24);
    background: rgba(139, 92, 246, 0.1);
}

.fsr-status-chip--trigger {
    color: #fde68a;
    border-color: rgba(251, 191, 36, 0.26);
    background: rgba(245, 158, 11, 0.1);
}

.fsr-empty-state {
    padding: 3rem 1.4rem;
    text-align: center;
}

.fsr-empty-state i {
    font-size: 1.8rem;
    color: #64748b;
}

.fsr-empty-state__title {
    margin-top: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
}

.fsr-empty-state__text {
    margin-top: 0.35rem;
    color: #94a3b8;
    line-height: 1.6;
}

.fsr-back-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.4);
    font-size: 0.78rem;
    font-weight: 700;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.fsr-back-pill:hover {
    background: rgba(30, 41, 59, 0.62);
    color: #f8fafc;
}

.fsr-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.fsr-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
}

.fsr-modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.60);
}

.fsr-modal-shell {
    width: 100%;
    max-width: 42rem;
    margin: 1rem;
    max-height: calc(100vh - 3rem);
    display: flex;
    flex-direction: column;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96));
    box-shadow: 0 30px 80px -32px rgba(2, 6, 23, 1);
}

.fsr-modal-shell--compact {
    max-width: 34rem;
}

.fsr-modal-head,
.fsr-modal-foot {
    padding: 1.15rem 1.25rem;
    border-color: rgba(148, 163, 184, 0.14);
}

.fsr-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.65);
}

.fsr-modal-head h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: #f8fafc;
}

.fsr-modal-close {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.4);
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.fsr-modal-close:hover {
    color: #f8fafc;
    background: rgba(51, 65, 85, 0.48);
}

.fsr-modal-body {
    flex: 1 1 auto;
    overflow: auto;
    padding: 1.1rem 1.25rem;
}

.fsr-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.5);
}

.fsr-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.85rem 1.25rem 0;
}

.fsr-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.32);
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fsr-step-pill.is-current {
    color: #ede9fe;
    border-color: rgba(167, 139, 250, 0.3);
    background: rgba(139, 92, 246, 0.14);
}

.fsr-step-pill.is-complete {
    color: #bbf7d0;
    border-color: rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.12);
}

.fsr-modal-section {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 1.1rem;
    background: rgba(15, 23, 42, 0.42);
    padding: 1rem;
}

.fsr-modal-section__title {
    margin-bottom: 0.65rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.fsr-camera-list {
    max-height: 15rem;
    overflow: auto;
    display: grid;
    gap: 0.45rem;
}

.fsr-camera-list label,
.fsr-scope-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(30, 41, 59, 0.5);
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.fsr-camera-list label:hover,
.fsr-scope-card:hover {
    transform: translateY(-1px);
    background: rgba(51, 65, 85, 0.5);
}

.fsr-camera-list input[type="checkbox"],
.fsr-scope-card input[type="radio"] {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.fsr-scope-grid {
    display: grid;
    gap: 0.65rem;
}

.fsr-scope-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.5);
    flex-shrink: 0;
}

.fsr-scope-card__copy strong {
    display: block;
    color: #f8fafc;
    font-size: 0.88rem;
}

.fsr-scope-card__copy span {
    display: block;
    margin-top: 0.22rem;
    color: #94a3b8;
    font-size: 0.79rem;
    line-height: 1.5;
}

.fsr-scope-card[data-scope="Passive"].is-selected {
    border-color: rgba(167, 139, 250, 0.34);
    background: rgba(139, 92, 246, 0.12);
}

.fsr-scope-card[data-scope="Trigger"].is-selected {
    border-color: rgba(251, 191, 36, 0.34);
    background: rgba(245, 158, 11, 0.12);
}

.fsr-scope-card[data-scope="Both"].is-selected {
    border-color: rgba(16, 185, 129, 0.34);
    background: rgba(16, 185, 129, 0.12);
}

.fsr-prompt-area,
.fsr-input,
.fsr-select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.95rem;
    background: rgba(15, 23, 42, 0.62);
    color: #f8fafc;
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.fsr-prompt-area::placeholder,
.fsr-input::placeholder {
    color: #64748b;
}

.fsr-prompt-area:focus,
.fsr-input:focus,
.fsr-select:focus {
    border-color: rgba(167, 139, 250, 0.36);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.fsr-form-grid {
    display: grid;
    gap: 0.85rem;
}

.fsr-form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fsr-form-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fsr-field-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.fsr-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #cbd5e1;
    font-size: 0.82rem;
}

.fsr-checkbox-row input {
    width: 1rem;
    height: 1rem;
}

.fsr-loading-state,
.fsr-success-state,
.fsr-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    min-height: 15rem;
}

.fsr-loading-state i,
.fsr-success-state i,
.fsr-error-state i {
    font-size: 1.9rem;
}

.fsr-loading-state p,
.fsr-success-state p,
.fsr-error-state p {
    margin: 0;
    color: #94a3b8;
}

.fsr-summary-list {
    display: grid;
    gap: 0.85rem;
}

.fsr-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.fsr-summary-label {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fsr-summary-value {
    color: #f8fafc;
    font-size: 0.86rem;
    font-weight: 700;
}

@media (max-width: 960px) {
    .fsr-stats,
    .fsr-form-grid--two,
    .fsr-form-grid--three,
    .fsr-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .fsr-page-shell {
        padding: 1rem;
    }

    .fsr-hero,
    .fsr-modal-head,
    .fsr-modal-body,
    .fsr-modal-foot,
    .fsr-stepper,
    .fsr-table-card__header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .fsr-table thead th,
    .fsr-table tbody td {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .fsr-camera-name,
    .fsr-rule-name {
        white-space: normal;
    }
}

/* ─── v2 Components ─── */

/* Decision Path */
.fsr-decision-path {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fsr-decision-step {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--fsr-line);
}

.fsr-decision-step--matched {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.06);
}

.fsr-decision-step__num {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fsr-muted);
}

.fsr-decision-step__condition {
    font-size: 0.8125rem;
    color: var(--fsr-text);
}

.fsr-decision-step__outcome {
    font-size: 0.75rem;
    color: var(--fsr-muted);
}

/* History List */
.fsr-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fsr-history-item {
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--fsr-line);
}

.fsr-history-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* Template Grid */
.fsr-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 0.75rem;
}

.fsr-template-card {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--fsr-line);
    transition: border-color 0.2s, background 0.2s;
}

.fsr-template-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.fsr-template-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.fsr-template-card__name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--fsr-text);
}

.fsr-template-card__desc {
    font-size: 0.75rem;
    color: var(--fsr-muted);
    line-height: 1.4;
}

.fsr-template-card__use {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Bulk Toolbar */
.fsr-bulk-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.fsr-bulk-toolbar__count {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fsr-text);
    margin-right: auto;
}

.fsr-bulk-btn {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--fsr-line);
    background: rgba(30, 41, 59, 0.5);
    color: var(--fsr-text);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.fsr-bulk-btn:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(139, 92, 246, 0.4);
}

.fsr-bulk-btn--danger {
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.fsr-bulk-btn--danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Search Bar */
.fsr-search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.fsr-search-bar .fsr-input {
    max-width: 18rem;
}

/* Row Action Buttons */
.fsr-row-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.fsr-row-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    color: var(--fsr-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-size: 0.75rem;
}

.fsr-row-action:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--fsr-text);
}

.fsr-row-action--danger:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

/* Sampling State Chip */
.fsr-sampling-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.fsr-sampling-chip--active {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
}

.fsr-sampling-chip--paused {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
}