:root {
  /* KitchenTime palette — muted olive-lime + dark forest-black, toned down
     from the logo's neon chartreuse (theme/image.png) so the accent reads
     as a calm brand color rather than a hazard-sign green. Still a light,
     high-luminance color, so anything using --brand-500 as a background
     needs DARK text/icons (--ink-900), not white. */
  --brand-50: #f2f7e6;
  --brand-100: #e6efd0;
  --brand-200: #cfe0a8;
  --brand-400: #b7d97a;
  --brand-500: #9bc93a;
  --brand-600: #7fa62c;
  --brand-700: #46581e;

  /* Dark forest-black — softer than the logo's literal near-black background
     but still dark enough for the logo's white/lime elements (cap,
     sunglasses, "Kitchen" text — they have no border of their own) to read
     clearly. The logo image is only ever placed on --ink-900 surfaces
     (topbar, brand chip), never directly on a light background. */
  --ink-900: #20281c;

  --navy-900: #1c1c1e;
  --navy-700: #3a3a3c;
  --navy-500: #636366;
  --navy-300: #8e8e93;

  --green-500: #35b56d;
  --red-500: #e0524d;
  --orange-500: #ef9a3c;

  /* Event block colors, sampled from the iOS Calendar reference: pastel fill
     with a darker left-edge stripe, like "Blocked"/"Lunch Break" entries. */
  --event-bg: #ccc1e0;
  --event-border: #8165b3;
  --event-mine-bg: #c0eab8;
  --event-mine-border: #70cd57;
  --event-cancelled-bg: #e5e5ea;
  --event-cancelled-border: #9a9aa0;

  --bg-page: #f7f9f1;
  --bg-card: #ffffff;
  --border-soft: #e7ebdd;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 10px rgba(14, 42, 63, 0.06);
  --shadow-pop: 0 12px 32px rgba(14, 42, 63, 0.18);

  --font-brand: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-page);
  color: var(--navy-900);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-brand);
  color: var(--navy-900);
  margin: 0;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* Transparent border (not `none`) so a button sits at the same box height
     as a `.field` input/select next to it in a row — those have a 1.5px
     border baked into their height via box-sizing: border-box. */
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--brand-500);
  color: var(--ink-900);
}

.btn-primary:hover {
  background: var(--brand-600);
}

.btn-secondary {
  background: var(--brand-50);
  color: var(--brand-700);
}

.btn-secondary:hover {
  background: var(--brand-100);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-700);
}

.btn-ghost:hover {
  background: rgba(14, 42, 63, 0.06);
}

.btn-danger {
  background: #fde7e6;
  color: var(--red-500);
}

.btn-danger:hover {
  background: #fbd4d2;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* ---------- Layout chrome ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--ink-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Same shape as .icon-btn, but for use on light backgrounds (e.g. the
   calendar toolbar) — .icon-btn itself is white-on-translucent, tuned for
   the dark blue topbar, and is invisible against a light page background. */
.icon-btn-light {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn-light:hover {
  background: var(--brand-100);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
}

.user-chip:hover {
  background: rgba(255, 255, 255, 0.25);
}

.user-chip-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.25);
}

.user-chip-logout {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.role-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.role-badge.admin {
  background: #fde3d0;
  color: #b5560a;
}

.role-badge.organizer {
  background: #e0e8ff;
  color: #3e4fc4;
}

.role-badge.attendee {
  background: var(--brand-50);
  color: var(--brand-700);
}

.app-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.rail {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border-soft);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--navy-500);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

.rail-link:hover {
  background: var(--brand-50);
}

.rail-link.active {
  background: var(--brand-500);
  color: var(--ink-900);
}

.icon {
  display: block;
  flex-shrink: 0;
  vertical-align: middle;
}

.rail-icon {
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-badge {
  margin-left: auto;
  background: var(--red-500);
  color: white;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
}

.rail-link.active .nav-badge {
  background: var(--ink-900);
}

#view {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 24px;
}

.bottom-nav {
  display: none;
}

/* ---------- Cards ---------- */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.page-header h1 {
  font-size: 24px;
}

.subtle {
  color: var(--navy-300);
  font-size: 13px;
}

/* ---------- Calendar ---------- */

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.calendar-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-switch {
  display: flex;
  background: var(--brand-50);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
}

.view-switch button {
  border: none;
  background: transparent;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-700);
  cursor: pointer;
}

.view-switch button.active {
  background: var(--brand-500);
  color: var(--ink-900);
}

.month-grid {
  display: grid;
  /* minmax(0, 1fr) — not bare 1fr — so a day with a long/unbreakable event
     label can't force its column wider than the others; every column stays
     an equal fraction of the grid regardless of content. */
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.month-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-500);
  background: var(--ink-900);
  text-transform: uppercase;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
}

.month-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  min-height: 108px;
  min-width: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  overflow: hidden;
}

.month-cell.out-of-month {
  background: var(--bg-page);
  color: var(--navy-300);
}

.month-cell.is-today .month-cell-date {
  background: var(--brand-500);
  color: var(--ink-900);
}

.month-cell-date {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.event-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px 3px 6px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--event-border);
  background: var(--event-bg);
  color: var(--navy-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-pill.cancelled {
  background: var(--event-cancelled-bg);
  border-left-color: var(--event-cancelled-border);
  color: var(--navy-300);
  text-decoration: line-through;
}

.event-pill.mine {
  background: var(--event-mine-bg);
  border-left-color: var(--event-mine-border);
  color: var(--navy-900);
}

.time-gutter {
  font-size: 11px;
  color: var(--navy-300);
  text-align: right;
  padding: 4px 8px;
  border-top: 1px solid var(--border-soft);
  box-sizing: border-box;
}

/* ---------- Week view (duration-spanning blocks) ---------- */

.week-timeline {
  display: flex;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.week-hours-col {
  width: 40px;
  flex-shrink: 0;
  border-right: 1px solid var(--border-soft);
}

.week-hours-spacer {
  height: 41px;
  border-bottom: 1px solid var(--border-soft);
}

.week-day-col {
  flex: 1;
  min-width: 90px;
  border-left: 1px solid var(--border-soft);
}

.week-day-header {
  height: 41px;
  box-sizing: border-box;
  padding: 8px 4px;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  color: var(--navy-500);
  border-bottom: 1px solid var(--border-soft);
  background: var(--brand-50);
}

.week-day-track {
  position: relative;
}

.week-slot {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid var(--border-soft);
  cursor: pointer;
}

.week-event-block {
  position: absolute;
  background: var(--event-bg);
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  padding: 2px 5px 2px 6px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid var(--bg-card);
  border-left: 3px solid var(--event-border);
}

.week-event-block.cancelled {
  background: var(--event-cancelled-bg);
  border-left-color: var(--event-cancelled-border);
  color: var(--navy-500);
  text-decoration: line-through;
}

.week-event-block.mine {
  background: var(--event-mine-bg);
  border-left-color: var(--event-mine-border);
  color: var(--navy-900);
}

/* ---------- Day view (duration-spanning blocks) ---------- */

.day-timeline {
  display: flex;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.day-hours-col {
  width: 56px;
  flex-shrink: 0;
  border-right: 1px solid var(--border-soft);
}

.day-hours-spacer {
  height: 41px;
  border-bottom: 1px solid var(--border-soft);
}

.day-events-col {
  flex: 1;
  min-width: 0;
}

.day-day-header {
  height: 41px;
  box-sizing: border-box;
  padding: 10px 6px;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  color: var(--navy-500);
  border-bottom: 1px solid var(--border-soft);
  background: var(--brand-50);
}

.day-events-track {
  position: relative;
}

.day-slot {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid var(--border-soft);
  cursor: pointer;
}

.day-event-block {
  position: absolute;
  background: var(--event-bg);
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  padding: 4px 8px 4px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid var(--bg-card);
  border-left: 3px solid var(--event-border);
}

.day-event-block-time {
  font-weight: 800;
}

.day-event-block-court {
  opacity: 0.9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-event-block.cancelled {
  background: var(--event-cancelled-bg);
  border-left-color: var(--event-cancelled-border);
  color: var(--navy-500);
  text-decoration: line-through;
}

.day-event-block.mine {
  background: var(--event-mine-bg);
  border-left-color: var(--event-mine-border);
  color: var(--navy-900);
}

/* ---------- Overlay / modal ---------- */

#overlay-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

#overlay-root:empty {
  display: none;
}

.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 63, 0.35);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 16px;
  overflow-y: auto;
  pointer-events: auto;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-soft);
}

.modal-header h2 {
  font-size: 19px;
}

.modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 65vh;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-soft);
}

.close-x {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--brand-50);
  color: var(--navy-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Forms ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-700);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy-900);
  background: white;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-400);
}

.field input:disabled {
  background: var(--bg-page);
  color: var(--navy-300);
  cursor: not-allowed;
}

.field-hint {
  font-size: 12px;
  color: var(--navy-300);
}

.field-error {
  font-size: 12px;
  color: var(--red-500);
  font-weight: 600;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Tables / lists ---------- */

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.list-table-actions {
  text-align: right;
  white-space: nowrap;
}

.list-table th {
  text-align: left;
  font-size: 12px;
  color: var(--navy-300);
  text-transform: uppercase;
  padding: 8px 10px;
  border-bottom: 2px solid var(--border-soft);
}

.list-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}

.role-select {
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: var(--navy-900);
  background: white;
  cursor: pointer;
  text-transform: capitalize;
}

.role-select:focus {
  outline: none;
  border-color: var(--brand-400);
}

.status-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: capitalize;
}

.status-tag.active,
.status-tag.accepted,
.status-tag.scheduled {
  background: #dff5e6;
  color: var(--green-500);
}

.status-tag.invited {
  background: #fff3d6;
  color: var(--orange-500);
}

.status-tag.disabled,
.status-tag.declined,
.status-tag.cancelled,
.status-tag.removed {
  background: #fbe3e2;
  color: var(--red-500);
}

.status-tag.waitlisted {
  background: #e7e9fb;
  color: #5a63c4;
}

.attendee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}

.attendee-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.attendee-row:last-child {
  border-bottom: none;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px;
}

/* ---------- Empty / loading states ---------- */

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--navy-300);
}

.empty-state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--brand-100);
  border-top-color: var(--brand-500);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.center-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* ---------- Toasts ---------- */

#toast-root {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.toast {
  background: var(--navy-900);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-pop);
}

.toast.error {
  background: var(--red-500);
}

.toast.success {
  background: var(--green-500);
}

/* ---------- Auth screens ---------- */

.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 36px 32px;
  text-align: center;
}

.auth-card .brand {
  justify-content: center;
  margin-bottom: 24px;
}

/* The logo's white elements (cap, sunglasses, "Kitchen" text) have no
   border of their own and rely on a dark backdrop for contrast — same as
   the topbar, so it sits in a dark chip rather than directly on the
   (light) auth card. */
.brand-logo-chip {
  display: inline-flex;
  background: var(--ink-900);
  border-radius: var(--radius-md);
  padding: 14px 22px;
}

.auth-card .brand-logo {
  height: 40px;
}

.auth-card p {
  color: var(--navy-500);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .rail {
    display: none;
  }

  #view {
    padding: 16px;
    padding-bottom: 84px;
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-soft);
    justify-content: space-around;
    padding: 8px 4px 10px;
    z-index: 30;
  }

  .bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
    color: var(--navy-300);
    text-decoration: none;
    padding: 4px 10px;
  }

  .bottom-nav-link.active {
    color: var(--brand-600);
  }

  .bottom-nav-icon-wrap {
    position: relative;
    display: flex;
  }

  .bottom-nav-icon {
    display: flex;
  }

  .bottom-nav-icon-wrap .nav-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    margin-left: 0;
    padding: 1px 5px;
    font-size: 9px;
  }

  .week-timeline {
    overflow-x: auto;
  }

  .month-cell {
    min-height: 76px;
    padding: 6px;
  }

  .month-grid {
    gap: 4px;
  }

  .page-header h1 {
    font-size: 20px;
  }

  .calendar-toolbar-left {
    flex-wrap: wrap;
  }

  .calendar-toolbar-left h2 {
    font-size: 17px;
    width: 100%;
    order: -1;
    margin-left: 0 !important;
  }

  .view-switch button {
    padding: 7px 12px;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Tables get too cramped to read as columns on a phone — stack each row
     into a small label/value card instead of relying on horizontal scroll,
     which hides trailing columns (like the disable/enable action) with no
     visible affordance to reach them. */
  .list-table thead {
    display: none;
  }

  .list-table,
  .list-table tbody,
  .list-table tr,
  .list-table td {
    display: block;
    width: 100%;
  }

  .list-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .list-table tr:last-child {
    border-bottom: none;
  }

  .list-table td {
    border-bottom: none;
    padding: 3px 0;
  }

  .list-table td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--navy-300);
    margin-top: 4px;
  }

  .list-table-actions {
    text-align: left;
    white-space: normal;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 10px 12px;
  }

  .brand-logo {
    height: 28px;
  }

  .user-chip .role-badge {
    display: none;
  }

  .user-chip-logout-label {
    display: none;
  }

  .user-chip {
    padding: 6px 10px 6px 6px;
  }
}
