:root {
  --border: #d7dce3;
  --muted: #667085;
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #182230;
  --red: #b42318;
  --green: #027a48;
  --amber: #b54708;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: var(--bg); color: var(--text); }
a { color: #175cd3; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; margin: 0 auto; padding: 24px; }
.nav { background: #101828; color: white; }
.nav-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.nav a { color: white; margin-left: 14px; }
.brand { font-weight: bold; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.stat { font-size: 28px; font-weight: bold; }
.muted { color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { border-bottom: 1px solid var(--border); padding: 11px 10px; text-align: left; vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #f9fafb; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
label { display: block; margin: 10px 0 5px; font-weight: bold; }
button, .button { display: inline-block; background: #175cd3; color: white; border: 0; border-radius: 8px; padding: 10px 14px; cursor: pointer; font-weight: bold; }
button.secondary, .button.secondary { background: #475467; }
button.success, .button.success { background: var(--green); }
button.danger, .button.danger { background: var(--red); }
.status { display: inline-block; padding: 5px 9px; border-radius: 999px; font-weight: bold; font-size: 12px; }
.status.completed { background: #d1fadf; color: var(--green); }
.status.fresh { background: #fee4e2; color: var(--red); }
.status.posted { background: #e0f2fe; color: #026aa2; }
.status.pending { background: #fef0c7; color: var(--amber); }
.alert { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.alert.success { background: #d1fadf; color: var(--green); }
.alert.error { background: #fee4e2; color: var(--red); }
.flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.login-card { max-width: 420px; margin: 70px auto; }
.small { font-size: 12px; }
.actions form { display: inline-block; margin: 0 4px 4px 0; }
