html {
    font-size: 17px;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.monitor-table {
    table-layout: fixed;
    min-width: 1874px;
}

.monitor-table .content-cell {
    width: 340px;
    max-width: 340px;
}

.monitor-table .author-cell {
    width: 210px;
    max-width: 210px;
}

.monitor-table .time-cell {
    width: 210px;
    max-width: 210px;
}

.monitor-table .action-cell {
    width: 200px;
    max-width: 200px;
}

.monitor-table .line-clamp-row,
.monitor-table .id-clamp-row {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.monitor-table .title-clamp {
    max-width: 250px;
}

.monitor-table .content-id-clamp {
    min-width: 0;
}

.monitor-table .author-id-clamp {
    max-width: 190px;
}

.monitor-table .content-meta-line {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.monitor-table .content-type-badge {
    flex: 0 0 auto;
    line-height: 1.2;
}

.monitor-table .action-links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
}

.monitor-table .metric-sort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: auto;
    max-width: 100%;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    white-space: nowrap;
    font-weight: 600;
}

.monitor-table .metric-sort-btn:hover {
    color: #2563eb;
}

.monitor-table .metric-sort-btn.active {
    color: #1d4ed8;
}

.monitor-table .metric-label {
    display: inline-block;
    min-width: 0;
}

.monitor-table .sort-icon {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1;
    transform: translateY(-1px);
}

.monitor-table .metric-sort-btn.active .sort-icon {
    color: #2563eb;
}

.monitor-table .time-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.monitor-table .time-line {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.monitor-table .time-label {
    flex: 0 0 auto;
    min-width: 30px;
    color: #64748b;
}

.monitor-table .time-value {
    min-width: 0;
    overflow: visible;
    white-space: nowrap;
    color: #475569;
}

.monitor-table .action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 23px;
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 0.75rem;
    line-height: 1;
    white-space: nowrap;
}

.monitor-table .action-link-detail {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #2563eb;
}

.monitor-table .action-link-refresh {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #059669;
}

.monitor-table .action-link-comment {
    border-color: #fde68a;
    background: #fffbeb;
    color: #b45309;
}

.monitor-table .action-link-edit {
    border-color: #c7d2fe;
    background: #eef2ff;
    color: #4f46e5;
}

.monitor-table .action-link-stop {
    border-color: #fecaca;
    background: #fef2f2;
    color: #dc2626;
}

.monitor-table .action-link-delete {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #475569;
}

.monitor-table th,
.monitor-table td,
.monitor-table .text-xs {
    font-size: 0.8125rem;
    line-height: 1.35;
}

.monitor-table .text-\[10px\] {
    font-size: 0.6875rem;
}
