.status-filters {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}
.status-filters a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
}
.status-filters a.active {
    background: var(--accent);
    color: white;
}

.string-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.string-context {
    display: inline-block;
    font-size: 0.7rem;
    background: var(--border);
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
}
.string-key {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-family: monospace;
}
.source-text {
    white-space: pre-wrap;
}

.translation-input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 0.6rem;
    font-family: inherit;
    resize: vertical;
}

.string-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.status-select {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.4rem;
}
.save-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.compare-panel {
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
}
.compare-item {
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}
.compare-status {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
}
.search-form input[type="search"] {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 0.5rem 0.75rem;
}
.search-form button {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.result-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-weight: 500;
}
.status-untranslated { background: #3a3d4a; color: var(--text-muted); }
.status-translated { background: #3b3a5c; color: #c4b5fd; }
.status-proofread { background: #1e3a5f; color: #93c5fd; }
.status-approved { background: #14432a; color: #86efac; }

.string-controls button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.proofread-btn, .approve-btn, .compare-btn {
    background: var(--border);
    color: var(--text);
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.pagination a {
    color: var(--accent);
    text-decoration: none;
}