:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f4f6fb;
}

body {
  margin: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: #ffffff;
  border-bottom: 1px solid #dfe4ee;
}

h1, h2 {
  margin: 0 0 8px 0;
}

p {
  margin: 0;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf2ff;
  font-size: 14px;
}

.layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  padding: 24px 32px;
}

.card {
  background: #ffffff;
  border: 1px solid #dfe4ee;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(19, 35, 68, 0.05);
}

.wide {
  grid-column: span 1;
}

.case-item {
  padding: 12px;
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  margin-bottom: 10px;
}

.case-title {
  font-weight: 700;
}

.status {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #f0f7ed;
  font-size: 13px;
}

.muted {
  color: #667085;
  margin-bottom: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  border-bottom: 1px solid #edf0f5;
  padding: 10px 8px;
}

th {
  color: #475467;
  font-size: 13px;
}

select {
  width: 100%;
  padding: 6px;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  padding: 12px;
  border-radius: 12px;
  max-width: 720px;
}

.message.system {
  background: #f2f4f7;
}

.message.user {
  background: #edf2ff;
  align-self: flex-end;
}
