:root {
    --inaudis-primary: #0f766e;
    --inaudis-primary-strong: #115e59;
    --inaudis-surface: #ffffff;
    --inaudis-border: #cbd5e1;
    --inaudis-muted: #64748b;
    --inaudis-danger: #b91c1c;
    --inaudis-warning: #b45309;
    --inaudis-info: #1d4ed8;
    --inaudis-success: #047857;
}

* {
    letter-spacing: 0;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.focus-ring:focus {
    outline: 3px solid rgba(15, 118, 110, 0.35);
    outline-offset: 2px;
}

.app-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
}

.status-badge,
.priority-badge {
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.priority-P1 { background: #fee2e2; color: #991b1b; }
.priority-P2 { background: #ffedd5; color: #9a3412; }
.priority-P3 { background: #dbeafe; color: #1e40af; }
.priority-P4 { background: #dcfce7; color: #166534; }

.status-new { background: #e0f2fe; color: #075985; }
.status-validation,
.status-analysis,
.status-resolution { background: #fef3c7; color: #92400e; }
.status-assigned,
.status-reopened { background: #ede9fe; color: #5b21b6; }
.status-waiting_client,
.status-waiting_third_party { background: #f1f5f9; color: #475569; }
.status-resolved { background: #dcfce7; color: #166534; }
.status-closed { background: #e2e8f0; color: #334155; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.table-scroll {
    overflow-x: auto;
}

.table-scroll table {
    min-width: 940px;
}

@media (max-width: 900px) {
    .app-shell {
        display: block;
    }

    .sidebar {
        position: sticky;
        top: 0;
        z-index: 30;
    }
}
