.ta-ops {
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ta-ops,
.ta-ops * {
    font-family: Vazirmatn, ui-sans-serif, system-ui, sans-serif;
}

.ta-ops-grid {
    display: grid;
    gap: 0.85rem;
}

.ta-ops-grid-2 {
    grid-template-columns: 1fr;
}

.ta-ops-grid-3,
.ta-ops-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .ta-ops-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ta-ops-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ta-ops-grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ta-ops-metric,
.ta-ops-tile,
.ta-ops-row,
.ta-ops-check,
.ta-ops-field {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
}

html.dark .ta-ops-metric,
html.dark .ta-ops-tile,
html.dark .ta-ops-row,
html.dark .ta-ops-check,
html.dark .ta-ops-field {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(24, 24, 27, 0.55);
}

.ta-ops-metric,
.ta-ops-tile {
    padding: 1rem 1.05rem;
    min-height: 6.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.55rem;
}

.ta-ops-metric-label,
.ta-ops-tile-label {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 650;
    color: rgba(71, 85, 105, 1);
}

html.dark .ta-ops-metric-label,
html.dark .ta-ops-tile-label {
    color: rgba(203, 213, 225, 1);
}

.ta-ops-metric-value,
.ta-ops-tile-value {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ta-ops-metric-hint,
.ta-ops-tile-hint {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(100, 116, 139, 1);
}

.ta-ops-tile {
    border-inline-start-width: 4px;
}

.ta-ops-ok {
    border-inline-start-color: #10b981;
}

.ta-ops-fail {
    border-inline-start-color: #f43f5e;
}

.ta-ops-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
}

.ta-ops-ok .ta-ops-badge {
    color: #047857;
    background: rgba(16, 185, 129, 0.14);
}

.ta-ops-fail .ta-ops-badge {
    color: #be123c;
    background: rgba(244, 63, 94, 0.14);
}

.ta-ops-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
}

.ta-ops-row + .ta-ops-row {
    margin-top: 0.5rem;
}

.ta-ops-row-main {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.ta-ops-row-title {
    font-size: 0.875rem;
    font-weight: 650;
}

.ta-ops-row-sub {
    font-size: 0.75rem;
    color: rgba(100, 116, 139, 1);
}

.ta-ops-track {
    width: 100%;
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
    margin-top: 0.45rem;
}

html.dark .ta-ops-track {
    background: rgba(255, 255, 255, 0.08);
}

.ta-ops-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary-500, #f59e0b);
}

.ta-ops-check {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
}

.ta-ops-check span {
    font-size: 0.8125rem;
    line-height: 1.6;
}

.ta-ops-field {
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ta-ops-field label {
    font-size: 0.8125rem;
    font-weight: 650;
}

.ta-ops-field .fi-input-wrp,
.ta-ops-field .fi-input {
    width: 100%;
}

.ta-ops-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8125rem;
}

.ta-ops-table th,
.ta-ops-table td {
    text-align: start;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

html.dark .ta-ops-table th,
html.dark .ta-ops-table td {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ta-ops-table th {
    font-weight: 700;
    color: rgba(71, 85, 105, 1);
    background: rgba(15, 23, 42, 0.03);
}

html.dark .ta-ops-table th {
    color: rgba(203, 213, 225, 1);
    background: rgba(255, 255, 255, 0.03);
}

.ta-ops-table tr:last-child td {
    border-bottom: 0;
}

.ta-ops-file {
    font-family: Vazirmatn, ui-sans-serif, system-ui, sans-serif;
    direction: ltr;
    unicode-bidi: plaintext;
}

.ta-ops-activity {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ta-ops-activity li {
    display: grid;
    grid-template-columns: 0.7rem 1fr auto;
    gap: 0.75rem;
    align-items: start;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.65);
}

html.dark .ta-ops-activity li {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(24, 24, 27, 0.45);
}

.ta-ops-dot {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--primary-500, #f59e0b);
}

.ta-ops-footer {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(71, 85, 105, 1);
}

html.dark .ta-ops-footer {
    color: rgba(203, 213, 225, 1);
}

.fi-wi-stats-overview-stat,
.fi-section {
    direction: rtl;
    text-align: right;
}

.fi-wi-stats-overview-stat-label,
.fi-section-header-heading,
.fi-section-header-description {
    text-align: start;
}
