:root {
  --navy: #1F3B57;
  --accent: #2E6E9E;
  --light: #EAF1F8;
  --red: #B5252F;
  --grey: #666;
}
* { box-sizing: border-box; }
body { font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 0; background: #f7f9fb; color: #222; }
.topbar { display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: white; padding: 12px 24px; }
.topbar .brand { font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.topbar .brand span { font-weight: 400; opacity: 0.8; font-size: 14px; }
.brand-logo { height: 30px; width: auto; display: block; background: #fff; padding: 4px 8px; border-radius: 4px; }
.login-logo { height: 56px; width: auto; display: block; margin: 0 auto 12px; background: #fff; padding: 8px 12px; border-radius: 6px; }
.topbar nav a { color: white; text-decoration: none; margin-right: 16px; opacity: 0.9; }
.topbar nav a:hover { text-decoration: underline; }
.whoami { font-size: 14px; }
.link-btn { background: none; border: none; color: white; text-decoration: underline; cursor: pointer; font-size: 14px; padding: 0; margin-left: 8px; }
.container { max-width: 1100px; margin: 24px auto; padding: 0 16px 60px; }
h1 { color: var(--navy); }
h2 { color: var(--accent); font-size: 18px; margin-top: 32px; }
table { width: 100%; border-collapse: collapse; background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee; font-size: 14px; }
th { background: var(--navy); color: white; }
tr:hover { background: var(--light); }
a.button, button.button {
  display: inline-block; background: var(--accent); color: white; padding: 8px 16px;
  border-radius: 4px; text-decoration: none; border: none; cursor: pointer; font-size: 14px;
}
a.button.secondary, button.button.secondary { background: #888; }
a.button.danger, button.button.danger { background: var(--red); }
.card { background: white; padding: 20px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); margin-bottom: 20px; }
form.inline { display: inline; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; margin-top: 12px; color: #444; }
input, select, textarea { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.badge.new { background: #eee; }
.badge.assigned, .badge.in_progress { background: #FFE9B0; }
.badge.waiting_for_assets { background: #FFD1B0; }
.badge.qc { background: #C9E4FF; }
.badge.completed { background: #C9F0C9; }
.badge.billed { background: #D6C9F0; }
.badge.cancelled { background: #f0c9c9; }
.error-msg { background: #fdecea; color: #611a15; padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; }
.note { background: var(--light); padding: 10px 12px; border-radius: 4px; margin-bottom: 8px; font-size: 14px; }
.note .meta { color: var(--grey); font-size: 12px; margin-top: 4px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: auto; }
