.brand {
  display: inline-flex !important;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
}

.brand-horizontal {
  display: block;
  width: min(330px, 100%);
  height: auto;
  object-fit: contain;
}

.app-brand-footer {
  display: flex;
  justify-content: center;
  padding: 28px 24px 36px;
  background: #090909;
  border-top: 4px solid #c90012;
}

.app-brand-footer img {
  display: block;
  width: min(280px, 76vw);
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .app-brand-footer {
    padding: 22px 18px 28px;
  }
}

/* Republic593 visual system: black, red and white. */
:root {
  --ink: #090909;
  --muted: #4b4b4b;
  --line: #d8d8d8;
  --paper: #ffffff;
  --wash: #f5f5f5;
  --navy: #090909;
  --teal: #c90012;
  --gold: #c90012;
  --blue: #c90012;
  --danger: #c90012;
}

body { background: var(--wash); color: var(--ink); }
h1 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 400; letter-spacing: .35px; }
h2 { font-weight: 800; }
h3, h4, h5, h6 { font-weight: 700; }

.topbar { background: #090909; box-shadow: 0 8px 28px #00000026; }
.main-nav a { color: #d7d7d7; }
.main-nav a:hover,
.main-nav a.active { color: #ffffff; border-bottom-color: #e00018; }
.userbox small { color: #d7d7d7; }
.quiet { border-color: #ffffff80; }

.eyebrow,
.security-mark { color: #c90012 !important; }
.primary,
.auth-form button,
.auth-form .btn { background: #c90012; color: #ffffff; box-shadow: 0 7px 18px #c900122b; }
.primary:hover,
.auth-form button:hover,
.auth-form .btn:hover { background: #a8000f; }
.secondary,
.icon-button { background: #ffffff; color: #090909; border-color: #090909; }

.metrics .healthy { border-top-color: #c90012; }
.metrics .healthy strong { color: #c90012; }
.empty-icon { background: #090909; color: #ffffff; }
.pill,
.status { background: #090909; color: #ffffff; }
.pill.neutral { background: #ededed; color: #090909; }
.pill.warning,
.pill.danger { background: #c90012; color: #ffffff; }

.day-heading.today { color: #c90012; background: #fff1f2; }
.today-column { background-color: #fffafa; }
.calendar-event.appointment { background: #c90012; color: #ffffff; border-left-color: #090909; }
.calendar-event.appointment:hover { box-shadow: 0 5px 14px #c9001233; }
.calendar-event.lunch { background: #ffffff; color: #090909; border-color: #c90012; }
.appointment-dot { background: #c90012; }
.lunch-dot { background: #090909; }

.field input:focus,
.field select:focus,
.field textarea:focus,
.auth-form input:focus,
.auth-form select:focus { outline: 3px solid #c9001226; border-color: #c90012; }
.field input[type=checkbox] { accent-color: #c90012; }
.notice.success { background: #090909; color: #ffffff; }
.notice.error { background: #fff1f2; color: #99000e; border: 1px solid #c90012; }
.sticky-actions { background: #090909; color: #ffffff; box-shadow: 0 12px 32px #00000045; }

.auth-body { background: #f2f2f2; }
.auth-shell { box-shadow: 0 25px 70px #00000030; }
.auth-story { background: #090909; color: #ffffff; border-bottom: 5px solid #c90012; }
.auth-story p { color: #eeeeee; }
.auth-story small { color: #cccccc; }
.eyebrow.light { color: #ff3045 !important; }
