/* /Components/Layout/BottomNav.razor.rz.scp.css */
.bottom-nav[b-vnximqb2r7] {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding-bottom: var(--inset-bottom);
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--color-border);
}

.bottom-nav ul[b-vnximqb2r7] {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  max-width: var(--content-max);
  min-height: var(--nav-height);
}

.bottom-nav li[b-vnximqb2r7] { flex: 1 1 0; }

.nav-item[b-vnximqb2r7] {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 100%;
  min-height: var(--nav-height);
  min-width: var(--tap);
  padding: var(--space-1) var(--space-1);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: color var(--motion-fast) ease-out;
}

.nav-item:hover[b-vnximqb2r7] { color: var(--color-text); }

/* Selected: color plus a filled icon, bold label, and an indicator bar. */
.nav-item.active[b-vnximqb2r7] {
  color: var(--color-primary);
  font-weight: 800;
}

.nav-item.active[b-vnximqb2r7]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--color-primary);
}

.nav-item:focus-visible[b-vnximqb2r7] {
  outline: 3px solid var(--color-focus);
  outline-offset: -3px;
  border-radius: var(--radius-control);
}

.nav-icon[b-vnximqb2r7] { position: relative; display: inline-flex; }

.nav-dot[b-vnximqb2r7] {
  position: absolute;
  top: -1px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--state-in-use);
  border: 2px solid var(--color-surface);
}

.nav-label[b-vnximqb2r7] { line-height: 1.1; white-space: nowrap; }

/* Wider screens: the same items as a bar under the top bar. */
@media (min-width: 768px) {
  .bottom-nav[b-vnximqb2r7] {
    position: sticky;
    top: calc(var(--topbar-height) + var(--inset-top));
    bottom: auto;
    padding-bottom: 0;
    border-top: none;
    border-bottom: 1px solid var(--color-border);
  }

  .bottom-nav ul[b-vnximqb2r7] { min-height: 52px; justify-content: center; gap: var(--space-2); }

  .bottom-nav li[b-vnximqb2r7] { flex: 0 0 auto; }

  .nav-item[b-vnximqb2r7] {
    flex-direction: row;
    gap: var(--space-2);
    min-height: 52px;
    padding: 0 var(--space-4);
    font-size: var(--text-caption);
  }

  .nav-item.active[b-vnximqb2r7]::before {
    top: auto;
    bottom: 0;
    left: var(--space-3);
    right: var(--space-3);
    border-radius: 3px 3px 0 0;
  }
}
/* /Components/Layout/ReconnectDialog.razor.rz.scp.css */
dialog[b-57h05nfnta] {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(420px, calc(100vw - 32px));
  width: 100%;
  color: var(--color-text);
}

dialog[b-57h05nfnta]::backdrop {
  background: rgba(10, 12, 16, 0.45);
  backdrop-filter: blur(2px);
}

.reconnect-card[b-57h05nfnta] {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  padding: var(--space-5);
  text-align: center;
}

.reconnect-card h2[b-57h05nfnta] { margin: var(--space-3) 0 var(--space-2); font-size: var(--text-card-title); }

.reconnect-card p[b-57h05nfnta] { color: var(--color-text-muted); margin: 0 0 var(--space-4); }

.reconnect-card p span[b-57h05nfnta] { display: block; }

.reconnect-actions[b-57h05nfnta] {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

.reconnect-actions button[b-57h05nfnta] { flex: 1 1 120px; }

.reconnect-spinner[b-57h05nfnta] {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  border-right-color: transparent;
  animation: reconnect-spin-b-57h05nfnta 0.8s linear infinite;
}

dialog[data-state="failed"] .reconnect-spinner[b-57h05nfnta],
dialog:not([data-state="failed"]) .when-failed[b-57h05nfnta],
dialog[data-state="failed"] .when-retrying[b-57h05nfnta] {
  display: none;
}

@keyframes reconnect-spin-b-57h05nfnta {
  to { transform: rotate(360deg); }
}
/* /Components/Layout/Toasts.razor.rz.scp.css */
.toasts[b-54dyhk80kg] {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--nav-height) + var(--inset-bottom) + var(--space-3));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-4);
  pointer-events: none;
}

@media (min-width: 768px) {
  .toasts[b-54dyhk80kg] { bottom: var(--space-5); }
}

.toast[b-54dyhk80kg] {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 480px;
  width: 100%;
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  border-radius: var(--radius-card);
  background: var(--color-text);
  color: var(--color-bg);
  box-shadow: var(--shadow-raised);
  animation: toast-in-b-54dyhk80kg var(--motion-base) ease-out;
}

.toast-text[b-54dyhk80kg] { flex: 1; font-weight: 600; }

.toast-close[b-54dyhk80kg] {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.4rem;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

@keyframes toast-in-b-54dyhk80kg {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
/* /Components/Shared/Button.razor.rz.scp.css */
.spinner[b-y8cti89vah] {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin-b-y8cti89vah 0.7s linear infinite;
  flex: none;
}

button[aria-busy="true"][b-y8cti89vah] { cursor: progress; }

@keyframes spin-b-y8cti89vah {
  to { transform: rotate(360deg); }
}
/* /Components/Shared/ErrorPanel.razor.rz.scp.css */
.error-panel[b-2qpybi1rc3] {
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-4);
  margin: var(--space-3) 0;
}

.error-icon[b-2qpybi1rc3] { color: var(--color-danger); }

.error-title[b-2qpybi1rc3] {
  font-weight: 700;
  font-size: var(--text-card-title);
  margin: var(--space-2) 0 var(--space-1);
}

.error-hint[b-2qpybi1rc3] {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
}
/* /Components/Shared/MachineCard.razor.rz.scp.css */
.machine-card[b-lgw3wfmtvl] {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  padding-left: calc(var(--space-3) + 4px);
  min-height: 80px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--motion-fast) ease-out, box-shadow var(--motion-fast) ease-out;
}

/* State accent on the left edge; the badge text carries the meaning. */
.machine-card[b-lgw3wfmtvl]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--state-unavailable);
}
.state-available[b-lgw3wfmtvl]::before { background: var(--state-available); }
.state-in-use[b-lgw3wfmtvl]::before { background: var(--state-in-use); }

.machine-card:hover[b-lgw3wfmtvl] { box-shadow: var(--shadow-raised); }
.machine-card:active[b-lgw3wfmtvl] { transform: scale(0.99); }

.card-body[b-lgw3wfmtvl] {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.line1[b-lgw3wfmtvl] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.name[b-lgw3wfmtvl] {
  font-size: var(--text-card-title);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.meta[b-lgw3wfmtvl] {
  color: var(--color-text-muted);
  font-size: var(--text-caption);
  overflow-wrap: anywhere;
}

.mine[b-lgw3wfmtvl] { color: var(--color-text); font-weight: 600; }

.chevron[b-lgw3wfmtvl] { flex: none; color: var(--color-text-muted); }
/* /Components/Shared/PeopleList.razor.rz.scp.css */
.people-heading[b-et7qlgxtyr] {
  font-size: var(--text-body);
  margin: var(--space-4) 0 var(--space-2);
}

.people-list[b-et7qlgxtyr] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.people-list li[b-et7qlgxtyr] {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--tap);
}

.avatar[b-et7qlgxtyr] {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: none;
  display: inline-grid;
  place-items: center;
  font-size: var(--text-caption);
  font-weight: 700;
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.avatar.owner[b-et7qlgxtyr] {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-color: transparent;
}

.person-name[b-et7qlgxtyr] { overflow-wrap: anywhere; }
/* /Components/Shared/PhotoPicker.razor.rz.scp.css */
.photo-picker[b-g0nzubhri0] { margin: var(--space-3) 0; }

.picker-label[b-g0nzubhri0] {
  display: block;
  font-weight: 600;
  margin: var(--space-2) 0 var(--space-1);
}

.preview[b-g0nzubhri0] {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--color-surface-2);
  margin-bottom: var(--space-2);
}

.picker-buttons[b-g0nzubhri0] {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.file-button[b-g0nzubhri0] {
  position: relative;
  cursor: pointer;
}

/* The real file input is visually hidden inside the label; show its focus on the label. */
.file-button:focus-within[b-g0nzubhri0] {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.file-button.is-disabled[b-g0nzubhri0] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
/* /Components/Shared/PhotoThumb.razor.rz.scp.css */
.photo[b-od1rwzxyha] {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  flex: none;
}

.photo img[b-od1rwzxyha] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumb[b-od1rwzxyha] {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-control);
}

.photo-hero[b-od1rwzxyha] {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  margin: var(--space-2) 0 var(--space-3);
}

.placeholder[b-od1rwzxyha] {
  display: none;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50%;
  height: 50%;
}

.photo-hero .placeholder[b-od1rwzxyha] { width: 64px; height: 64px; }

.no-photo img[b-od1rwzxyha] { display: none; }
.no-photo .placeholder[b-od1rwzxyha] { display: block; }
/* /Components/Shared/Skeleton.razor.rz.scp.css */
.skeleton-card[b-jeaeb1fcyg] {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  margin-bottom: var(--space-3);
}

.skeleton-block[b-jeaeb1fcyg] {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
}

.sk-lines[b-jeaeb1fcyg] { flex: 1; }

.sk[b-jeaeb1fcyg] {
  background: linear-gradient(90deg, var(--color-surface-2) 25%, var(--color-border) 50%, var(--color-surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer-b-jeaeb1fcyg 1.4s ease-in-out infinite;
  border-radius: var(--radius-control);
}

.sk-thumb[b-jeaeb1fcyg] { width: 56px; height: 56px; flex: none; border-radius: var(--radius-control); }
.sk-line[b-jeaeb1fcyg] { height: 12px; margin: var(--space-2) 0; }
.sk-line.tall[b-jeaeb1fcyg] { height: 20px; }
.w40[b-jeaeb1fcyg] { width: 40%; }
.w60[b-jeaeb1fcyg] { width: 60%; }
.w80[b-jeaeb1fcyg] { width: 80%; }

@keyframes shimmer-b-jeaeb1fcyg {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
/* /Components/Shared/StateBadge.razor.rz.scp.css */
.badge[b-30jub1b6c4] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.badge-icon[b-30jub1b6c4] { font-size: 0.8em; line-height: 1; }

.badge-available[b-30jub1b6c4] { background: var(--state-available-bg); color: var(--state-available); }
.badge-inuse[b-30jub1b6c4] { background: var(--state-in-use-bg); color: var(--state-in-use); }
.badge-unavailable[b-30jub1b6c4] { background: var(--state-unavailable-bg); color: var(--state-unavailable); }
