:root {
  --red: #E30521;
  --grey: #706F6F;
  --darkgrey: #2E2E2E;
  --light: #F5F5F5;
  --amber: #FFF4E5;
  --amberborder: #D97706;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--light);
  color: var(--darkgrey);
  margin: 0;
  padding: 0;
}
.header {
  background: #fff;
  padding: 14px 16px;
  border-bottom: 3px solid var(--red);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .brand { font-weight: 700; color: var(--darkgrey); font-size: 18px; }
.header a { color: var(--grey); text-decoration: none; font-size: 14px; }
.container { max-width: 640px; margin: 0 auto; padding: 16px; }
.card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
input, select, textarea, button {
  font-size: 16px;
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
label { font-size: 13px; color: var(--grey); font-weight: 600; }
button, .btn {
  background: var(--red);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  display: block;
  text-decoration: none;
}
button.secondary, .btn.secondary { background: var(--grey); }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: var(--light);
  color: var(--grey);
}
.badge.pendiente { background: var(--amber); color: var(--amberborder); }
.badge.aprobado { background: #E8F5E9; color: #2E7D32; }
.report-item {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--darkgrey);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.report-item .cliente { font-weight: 700; }
.report-item .meta { font-size: 13px; color: var(--grey); margin-top: 4px; }
.msg { padding: 10px 14px; border-radius: 10px; margin-bottom: 8px; max-width: 85%; }
.msg.tecnico { background: var(--light); margin-left: auto; }
.msg.claude { background: var(--amber); border: 1px solid var(--amberborder); }
.msg .rol { font-size: 11px; color: var(--grey); margin-bottom: 3px; font-weight: 700; text-transform: uppercase; }
.error { color: var(--red); font-size: 14px; margin-bottom: 10px; }
.total-bar { background: var(--red); color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 700; font-size: 18px; text-align: right; }

.brand-logo { height: 28px; vertical-align: middle; display: block; }
