.lang-switcher-form {
    margin: 0;
}

.lang-switcher {
    min-width: 150px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    padding: 0.55rem 2.2rem 0.55rem 0.85rem;
    background: #fff;
    color: rgba(15, 23, 42, 0.86);
    font-weight: 700;
}

.lang-switcher:focus {
    outline: none;
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.page-shell {
    display: grid;
    gap: 1rem;
}

.page-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.page-card__header {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.page-card__body {
    padding: 1rem 1.1rem;
}

.page-hero {
    padding: 1.1rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.page-hero__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.58);
}

.page-hero__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.page-hero__subtitle {
    margin: 0.35rem 0 0;
    color: rgba(15, 23, 42, 0.66);
    max-width: 72ch;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.04);
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.72);
}

.stat-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0d6efd;
}

.soft-panel {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 1rem;
}

.table-shell {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.table-shell .table {
    margin: 0;
}

.table-shell thead th {
    background: rgba(15, 23, 42, 0.03);
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.62);
    font-weight: 900;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.8rem 0.85rem;
}

.table-shell tbody td {
    padding: 0.8rem 0.85rem;
    vertical-align: middle;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.table-shell tbody tr:hover {
    background: rgba(13, 110, 253, 0.03);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-pill--success {
    background: #ecfdf3;
    color: #166534;
}

.status-pill--muted {
    background: #f1f5f9;
    color: #475569;
}

.completion-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    display: block;
    min-width: 0;
}

.completion-bar__value {
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #14b8a6);
}

.language-coverage-bar {
    width: min(100%, 420px);
}

.alert-inline {
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.translation-editor textarea {
    min-height: 90px;
    resize: vertical;
}

.translation-key {
    font-family: Consolas, monospace;
    font-size: 0.82rem;
    color: #475569;
}

.btn.is-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    pointer-events: none;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.72;
}

.modal-content {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.modal-header,
.modal-footer {
    border-color: rgba(15, 23, 42, 0.08);
}

.modal-header {
    padding: 1rem 1.1rem;
}

.modal-body,
.modal-footer {
    padding: 1rem 1.1rem;
}

.public-header-tools {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.public-header-tools .lang-switcher {
    background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 768px) {
    .page-card__header {
        flex-direction: column;
    }

    .public-header-tools {
        width: 100%;
        justify-content: flex-start;
    }

    .lang-switcher {
        min-width: 100%;
    }
}
