/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   MainLayout — App Shell
   ═══════════════════════════════════════════════════════════════ */

.elisa-shell[b-ofm68rubnm] {
  height: 100vh;
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--surface-bg);
  background-image: radial-gradient(circle, rgba(203, 213, 225, 0.4) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  overflow: hidden;
}

.elisa-shell.sidebar-collapsed[b-ofm68rubnm] {
  grid-template-columns: 72px 1fr;
}

.elisa-main-wrap[b-ofm68rubnm] {
  min-width: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: 56px 1fr;
  overflow: hidden;
}

.elisa-drawer[b-ofm68rubnm] {
  height: 100vh;
}

/* ── Topbar (Glass-morphism) ── */
.elisa-topbar[b-ofm68rubnm] {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--surface-glass);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: var(--shadow-xs);
  padding: 0 1.15rem;
}

.icon-btn[b-ofm68rubnm] {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.icon-btn:hover[b-ofm68rubnm] {
  color: var(--brand-primary);
  background: var(--brand-primary-weak);
}

.icon-btn .material-symbols-rounded[b-ofm68rubnm] {
  font-size: 19px;
}

.menu-toggle[b-ofm68rubnm] {
  display: none;
}

/* ── Breadcrumb ── */
.breadcrumb-wrap[b-ofm68rubnm] {
  display: flex;
  align-items: center;
  gap: 0.24rem;
  font-size: 0.76rem;
}

.crumb-main[b-ofm68rubnm] {
  color: var(--text-faint);
  font-weight: 600;
}

.crumb-divider[b-ofm68rubnm] {
  font-size: 15px;
  color: var(--text-faint);
}

.crumb-sub[b-ofm68rubnm] {
  color: var(--text-main);
  font-weight: 700;
}

.topbar-spacer[b-ofm68rubnm] {
  flex: 1;
}

/* ── Search Box ── */
.search-box[b-ofm68rubnm] {
  width: min(300px, 30vw);
  height: 34px;
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0 0.55rem;
  color: var(--text-faint);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-box:focus-within[b-ofm68rubnm] {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-weak);
}

.search-box .material-symbols-rounded[b-ofm68rubnm] {
  font-size: 17px;
}

.search-box input[b-ofm68rubnm] {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: var(--text-main);
  font-size: 0.84rem;
  font-family: inherit;
}

.search-box input[b-ofm68rubnm]::placeholder {
  color: var(--text-faint);
}

/* ── Notifications ── */
.notify-wrap[b-ofm68rubnm] {
  position: relative;
  z-index: 70;
}

.notify-dot[b-ofm68rubnm] {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-danger);
  border: 1.5px solid var(--surface-card);
}

/* ── Profile ── */
.profile-wrap[b-ofm68rubnm] {
  position: relative;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 0.46rem;
  margin-left: 0.1rem;
  padding-left: 0.62rem;
}

.profile-text[b-ofm68rubnm] {
  text-align: left;
  line-height: 1.1;
}

.profile-name[b-ofm68rubnm] {
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
}

.profile-role[b-ofm68rubnm] {
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 600;
}

.profile-avatar[b-ofm68rubnm] {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(44, 91, 226, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.profile-btn[b-ofm68rubnm] {
  cursor: pointer;
}

.profile-btn:hover .profile-avatar[b-ofm68rubnm] {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px var(--brand-primary-weak);
}

.profile-avatar .material-symbols-rounded[b-ofm68rubnm] {
  font-size: 14px;
}

.profile-avatar.has-logo[b-ofm68rubnm] {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.profile-avatar .profile-logo-img[b-ofm68rubnm] {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Main Content ── */
.elisa-main[b-ofm68rubnm] {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.content-wrap[b-ofm68rubnm] {
  padding: 1.15rem;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  animation: fadeInUp 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Popovers ── */
.popover[b-ofm68rubnm] {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 210px;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0.4rem;
  z-index: 60;
  animation: scaleIn 150ms cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top right;
}

.popover-backdrop[b-ofm68rubnm] {
  position: fixed;
  inset: 0;
  border: 0;
  background: transparent;
  z-index: 50;
  cursor: default;
}

.notify-popover[b-ofm68rubnm] {
  min-width: 300px;
  border-radius: var(--radius-xl);
  padding: 0.6rem;
}

.popover-title[b-ofm68rubnm] {
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.4rem 0.35rem;
}

.notice-item[b-ofm68rubnm] {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.36rem;
  padding: 0.5rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.2rem;
  transition: background var(--transition-fast);
}

.notice-item:hover[b-ofm68rubnm] {
  background: var(--surface-soft);
}

.notice-icon[b-ofm68rubnm] {
  font-size: 0.94rem;
  color: var(--text-faint);
  margin-top: 0.06rem;
}

.notice-item.unread[b-ofm68rubnm] {
  background: var(--brand-primary-weak);
}

.notice-item.unread .notice-icon[b-ofm68rubnm] {
  color: var(--brand-primary);
}

.notice-text[b-ofm68rubnm] {
  color: var(--text-main);
  font-size: 0.74rem;
  font-weight: 600;
}

.notice-time[b-ofm68rubnm] {
  color: var(--text-faint);
  font-size: 0.66rem;
  margin-top: 0.08rem;
}

.popover-action[b-ofm68rubnm] {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--text-main);
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.popover-action:hover[b-ofm68rubnm] {
  background: var(--brand-primary-weak);
}

.profile-popover[b-ofm68rubnm] {
  min-width: 300px;
}

.popover-divider[b-ofm68rubnm] {
  border-top: 1px solid var(--border-soft);
  margin: 0.25rem 0.15rem 0.35rem;
}

.signout-action[b-ofm68rubnm] {
  color: var(--status-danger);
}

.signout-action:hover[b-ofm68rubnm] {
  background: var(--status-danger-bg);
}

.drawer-backdrop[b-ofm68rubnm] {
  display: none;
}

/* ── Responsive: Tablet ── */
@media (max-width: 960px) {
  .elisa-shell[b-ofm68rubnm] {
    grid-template-columns: 1fr;
  }

  .elisa-drawer[b-ofm68rubnm] {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 20;
    width: 220px;
    transform: translateX(-100%);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-xl);
  }

  .drawer-open .elisa-drawer[b-ofm68rubnm] {
    transform: translateX(0);
  }

  .drawer-backdrop[b-ofm68rubnm] {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(2px);
    z-index: 18;
  }

  .menu-toggle[b-ofm68rubnm] {
    display: grid;
  }

  .search-box[b-ofm68rubnm] {
    width: min(48vw, 210px);
  }

  .profile-text[b-ofm68rubnm] {
    display: none;
  }

  .popover[b-ofm68rubnm] {
    position: fixed;
    top: 4rem;
    right: 0.6rem;
    left: 0.6rem;
    min-width: 0;
    max-height: min(68vh, 26rem);
    overflow-y: auto;
    transform-origin: top center;
  }

  .notify-popover[b-ofm68rubnm],
  .profile-popover[b-ofm68rubnm] {
    min-width: 0;
  }

  .elisa-shell.sidebar-collapsed[b-ofm68rubnm] {
    grid-template-columns: 1fr;
  }

  .content-wrap[b-ofm68rubnm] {
    padding: 0.75rem;
  }
}

/* ── Responsive: Small ── */
@media (max-width: 680px) {
  .breadcrumb-wrap[b-ofm68rubnm] {
    display: none;
  }

  .search-box[b-ofm68rubnm] {
    width: min(60vw, 220px);
  }
}

@media (max-width: 480px) {
  .content-wrap[b-ofm68rubnm] {
    padding: 0.5rem;
  }

  .elisa-topbar[b-ofm68rubnm] {
    padding: 0 0.65rem;
  }
}

/* ── Blazor Error UI ── */
#blazor-error-ui[b-ofm68rubnm] {
  color-scheme: light only;
  background: var(--status-danger-bg);
  color: var(--status-danger);
  bottom: 0;
  box-shadow: 0 -8px 24px rgba(220, 38, 38, 0.12);
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss[b-ofm68rubnm] {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   NavMenu — Sidebar Navigation
   ═══════════════════════════════════════════════════════════════ */

.nav-shell[b-2ka3zg55bm] {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.6rem 0.28rem;
  box-sizing: border-box;
  background: linear-gradient(180deg, #f8fafc 0%, var(--surface-bg) 100%);
  border-right: 1px solid var(--border-soft);
  position: relative;
}

/* Left accent gradient line */
.nav-shell[b-2ka3zg55bm]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-gradient);
  border-radius: 0 2px 2px 0;
}

.nav-shell.collapsed[b-2ka3zg55bm] {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

/* ── Brand ── */
.brand-block[b-2ka3zg55bm] {
  display: flex;
  gap: 0.72rem;
  align-items: center;
  padding: 0.15rem 0.38rem 1rem;
}

.brand-mark[b-2ka3zg55bm] {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-brand);
  transition: transform var(--transition-fast);
}

.brand-block:hover .brand-mark[b-2ka3zg55bm] {
  transform: rotate(-5deg) scale(1.06);
}

.brand-mark .material-symbols-rounded[b-2ka3zg55bm] {
  font-size: 17px;
}

.brand-name[b-2ka3zg55bm] {
  color: var(--text-main);
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  font-family: "Inter", "Roboto", sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

.brand-caption[b-2ka3zg55bm] {
  margin-top: 0.14rem;
  color: var(--text-faint);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Collapsed State ── */
.nav-shell.collapsed .brand-block[b-2ka3zg55bm] {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.nav-shell.collapsed .brand-name[b-2ka3zg55bm],
.nav-shell.collapsed .brand-caption[b-2ka3zg55bm],
.nav-shell.collapsed .admin-label[b-2ka3zg55bm],
.nav-shell.collapsed .side-link-text[b-2ka3zg55bm] {
  display: none;
}

.nav-shell.collapsed .nav-menu[b-2ka3zg55bm] {
  padding-left: 0.05rem;
  padding-right: 0.05rem;
}

.nav-shell.collapsed .nav-menu[b-2ka3zg55bm]  .side-link {
  position: relative;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
  min-height: 2.28rem;
}

/* Collapsed tooltip */
.nav-shell.collapsed .nav-menu[b-2ka3zg55bm]  .side-link::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  padding: 0.34rem 0.56rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-main);
  background: var(--surface-card);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: opacity 120ms ease, transform 120ms ease;
}

.nav-shell.collapsed .nav-menu[b-2ka3zg55bm]  .side-link:hover::after,
.nav-shell.collapsed .nav-menu[b-2ka3zg55bm]  .side-link:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

.nav-shell.collapsed .nav-menu[b-2ka3zg55bm]  .side-link .material-symbols-rounded {
  margin-right: 0;
}

.nav-shell.collapsed .bottom-nav[b-2ka3zg55bm] {
  border-top: 1px solid transparent;
}

/* ── Nav Menu ── */
.nav-menu[b-2ka3zg55bm] {
  padding: 0.12rem;
}

.top-nav[b-2ka3zg55bm] {
  flex: 1;
}

.bottom-nav[b-2ka3zg55bm] {
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
  padding-top: 0.7rem;
  padding-bottom: 0.34rem;
}

/* ── Nav Links ── */
.nav-menu[b-2ka3zg55bm]  .side-link {
  width: 100%;
  border: 0;
  text-align: left;
  text-decoration: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.58rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.22rem;
  color: var(--text-soft);
  min-height: 2.3rem;
  padding: 0 0.65rem;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  box-sizing: border-box;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-menu[b-2ka3zg55bm]  .side-link:hover {
  background: var(--brand-primary-weak);
  color: var(--brand-primary);
}

.nav-menu[b-2ka3zg55bm]  .side-link.active,
.nav-menu[b-2ka3zg55bm]  .side-link.active:hover {
  background: var(--brand-primary-weak);
  color: var(--brand-primary);
  font-weight: 700;
}

/* Active left accent bar */
.nav-menu[b-2ka3zg55bm]  .side-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-primary);
}

.nav-menu[b-2ka3zg55bm]  .side-link .material-symbols-rounded {
  font-size: 1.04rem;
  flex-shrink: 0;
}

.side-link-button[b-2ka3zg55bm] {
  cursor: pointer;
}

.admin-label[b-2ka3zg55bm] {
  margin: 0.92rem 0.62rem 0.4rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.58rem;
  font-weight: 800;
}

/* ── Responsive: Tablet ── */
@media (max-width: 960px) {
  .nav-menu[b-2ka3zg55bm]  .side-link-button {
    display: none;
  }

  .nav-shell.collapsed[b-2ka3zg55bm] {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .nav-shell.collapsed .brand-block[b-2ka3zg55bm] {
    justify-content: flex-start;
    padding-left: 0.38rem;
    padding-right: 0.38rem;
  }

  .brand-name[b-2ka3zg55bm] {
    font-size: 0.78rem;
  }

  .nav-shell.collapsed .brand-name[b-2ka3zg55bm],
  .nav-shell.collapsed .brand-caption[b-2ka3zg55bm],
  .nav-shell.collapsed .admin-label[b-2ka3zg55bm],
  .nav-shell.collapsed .side-link-text[b-2ka3zg55bm] {
    display: initial;
  }

  .nav-shell.collapsed .nav-menu[b-2ka3zg55bm] {
    padding-left: 0.12rem;
    padding-right: 0.12rem;
  }

  .nav-shell.collapsed .nav-menu[b-2ka3zg55bm]  .side-link {
    justify-content: flex-start;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .nav-shell.collapsed .nav-menu[b-2ka3zg55bm]  .side-link::after {
    display: none;
  }

  .nav-shell.collapsed .bottom-nav[b-2ka3zg55bm] {
    border-top: 1px solid var(--border-soft);
  }
}
/* /Components/Pages/Analysis.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   Analysis — 96-Well Plate Grid
   ═══════════════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.plate-page[b-pts9mbdf9x] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  outline: none;
}

/* ── Header ── */
.plate-header[b-pts9mbdf9x] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.plate-breadcrumb[b-pts9mbdf9x] {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.header-actions[b-pts9mbdf9x] {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

[b-pts9mbdf9x] .import-file-input {
  display: none !important;
}

.import-btn[b-pts9mbdf9x] {
  cursor: pointer;
}

/* ── Two-column layout ── */
.plate-layout[b-pts9mbdf9x] {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1rem;
  align-items: start;
}

/* ── Plate panel ── */
.plate-panel[b-pts9mbdf9x] {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Data grid header / toolbar ── */
.data-grid-header[b-pts9mbdf9x] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.data-grid-title-row[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.data-grid-title[b-pts9mbdf9x] {
  margin: 0;
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.data-grid-actions[b-pts9mbdf9x] {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

/* ── Toolbar dropdown ── */
.toolbar-dropdown-wrap[b-pts9mbdf9x] {
  position: relative;
}

.dd-arrow[b-pts9mbdf9x] {
  font-size: 16px !important;
  margin-left: -2px;
}

.toolbar-dropdown[b-pts9mbdf9x] {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 100;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 6px 0;
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  animation: ddFadeIn-b-pts9mbdf9x 120ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ddFadeIn-b-pts9mbdf9x {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.85rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: background var(--transition-fast);
}

.dropdown-item:hover[b-pts9mbdf9x] {
  background: var(--brand-primary-weak);
}

.dropdown-item .material-symbols-rounded[b-pts9mbdf9x] {
  font-size: 18px;
  color: var(--text-soft);
}

.dropdown-divider[b-pts9mbdf9x] {
  height: 1px;
  background: var(--border-soft);
  margin: 4px 10px;
}

.dropdown-backdrop[b-pts9mbdf9x] {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: transparent;
}

/* ── Grid Tabs ── */
.grid-tabs[b-pts9mbdf9x] {
  display: flex;
  gap: 2px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--border-soft);
}

.grid-tab[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-faint);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
}

.grid-tab:hover[b-pts9mbdf9x] {
  color: var(--brand-primary);
  background: var(--brand-primary-weak);
}

.grid-tab.active[b-pts9mbdf9x] {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  background: var(--brand-primary-weak);
}

.grid-tab .material-symbols-rounded[b-pts9mbdf9x] {
  font-size: 18px;
}

/* ── Spreadsheet table ── */
.table-scroll[b-pts9mbdf9x] {
  overflow: auto;
}

.plate-table[b-pts9mbdf9x] {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.plate-table th[b-pts9mbdf9x],
.plate-table td[b-pts9mbdf9x] {
  text-align: center;
  padding: 0;
  border: 1px solid #e5e7eb;
}

/* ── Corner cell ── */
.corner-cell[b-pts9mbdf9x] {
  width: 38px;
  min-width: 38px;
  background: var(--surface-soft);
}

/* ── Column headers ── */
.col-hdr[b-pts9mbdf9x] {
  padding: 0.5rem 0.25rem;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-family: "JetBrains Mono", "Roboto Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 62px;
}

/* ── Row headers ── */
.row-hdr[b-pts9mbdf9x] {
  padding: 0.45rem 0.4rem;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-family: "JetBrains Mono", "Roboto Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  width: 38px;
  min-width: 38px;
}

/* ── Alternating rows ── */
.row-alt td[b-pts9mbdf9x] {
  background: var(--surface-soft);
}

/* ── Table cells ── */
.plate-table td[b-pts9mbdf9x] {
  position: relative;
  min-height: 38px;
}

/* ── Cell input ── */
.cell-input[b-pts9mbdf9x] {
  width: 100%;
  height: 100%;
  min-height: calc((100vh - 320px) / 14.99);
  border: none;
  outline: none;
  background: transparent;
  text-align: center;
  font-family: "JetBrains Mono", "Roboto Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.35rem 0.2rem;
  box-sizing: border-box;
  transition: background var(--transition-fast);
}

.cell-input:focus[b-pts9mbdf9x] {
  background: transparent;
  outline: none;
  font-weight: 700;
}

/* ── Active cell — white bg, blue border (Excel-style) ── */
.cell-active[b-pts9mbdf9x] {
  outline: 1.5px solid #2563eb !important;
  outline-offset: -1px;
  z-index: 3;
  position: relative;
}

/* ── Selected cells — blue overlay that preserves role colors ── */
[b-pts9mbdf9x] .cell-in-selection {
  position: relative;
  z-index: 1;
}
[b-pts9mbdf9x] .cell-in-selection::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.12);
  pointer-events: none;
  z-index: 1;
}

/* ── Range border — no per-cell borders, just the blue fill is enough ── */

/* ── Legacy class (kept for JS compat) ── */
[b-pts9mbdf9x] .cell-selected {
  position: relative;
  z-index: 1;
}

/* ── Header hover & selected ── */
.col-hdr:hover[b-pts9mbdf9x],
.row-hdr:hover[b-pts9mbdf9x] {
  background: #dbeafe !important;
  cursor: pointer;
}
.corner-cell:hover[b-pts9mbdf9x] {
  background: #dbeafe !important;
  cursor: pointer;
}
[b-pts9mbdf9x] .hdr-selected {
  background: #bfdbfe !important;
  color: #1e40af !important;
}

/* ── Fill handle ── */
[b-pts9mbdf9x] .fill-handle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #2563eb;
  border: 1px solid #fff;
  cursor: crosshair;
  z-index: 10;
  bottom: -1px;
  right: -1px;
  pointer-events: auto;
}

/* ── Fill preview ── */
[b-pts9mbdf9x] .fill-preview {
  position: relative;
}
[b-pts9mbdf9x] .fill-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px dashed #2563eb;
  background: rgba(37, 99, 235, 0.06);
  pointer-events: none;
  z-index: 2;
}

/* ── Invalid cell ── */
.cell-invalid[b-pts9mbdf9x] {
  background: var(--status-danger-bg) !important;
}

.cell-invalid .cell-input[b-pts9mbdf9x] {
  color: var(--status-danger);
  font-weight: 700;
}

/* ── NaN cell ── */
.cell-nan[b-pts9mbdf9x] {
  background: var(--status-danger-bg) !important;
}

.cell-nan .cell-input[b-pts9mbdf9x] {
  color: var(--status-danger);
  font-weight: 700;
}

.cell-invalid .cell-input:focus[b-pts9mbdf9x] {
  outline-color: var(--status-danger);
  background: #fee2e2;
}

/* ── Grid footer ── */
.grid-footer[b-pts9mbdf9x] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-soft);
}

.grid-legend[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legend-item[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
}

.legend-swatch[b-pts9mbdf9x] {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

.swatch-empty[b-pts9mbdf9x] {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
}

.swatch-active[b-pts9mbdf9x] {
  background: var(--surface-card);
  border: 2px solid #2563eb;
}

.swatch-invalid[b-pts9mbdf9x] {
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.swatch-sid[b-pts9mbdf9x] {
  background: #e0e7ff;
  border: 1px solid #a5b4fc;
}

.grid-stats[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 600;
}

.stat-highlight[b-pts9mbdf9x] {
  color: var(--brand-primary);
}

/* ── Control panels (right column) ── */
.control-panels[b-pts9mbdf9x] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
  overflow-y: auto;
}

.panel-heading[b-pts9mbdf9x] {
  margin: 0 0 0.75rem;
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-soft);
}

/* ── Role option buttons ── */
.role-option[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-soft);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  background: transparent;
  color: var(--text-main);
  text-align: left;
  transition: all var(--transition-fast);
  margin-bottom: 0.15rem;
}

.role-option:hover[b-pts9mbdf9x] {
  background: var(--surface-soft);
  border-color: var(--border-strong);
  transform: translateX(2px);
}

.role-option.active[b-pts9mbdf9x] {
  border-color: var(--brand-primary);
  background: var(--brand-primary-weak);
  box-shadow: 0 0 0 3px rgba(44, 91, 226, 0.06);
}

.role-dot[b-pts9mbdf9x] {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-blank[b-pts9mbdf9x] {
  background: var(--text-faint);
}

.dot-pc[b-pts9mbdf9x] {
  background: #f87171;
}

.dot-nc[b-pts9mbdf9x] {
  background: #34d399;
}

.dot-unknown[b-pts9mbdf9x] {
  background: hsl(261, 42%, 61%);
}

.role-name[b-pts9mbdf9x] {
  flex: 1;
}

.role-shortcut[b-pts9mbdf9x] {
  color: var(--text-faint);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ── Import tooltip ── */
.import-btn-wrap[b-pts9mbdf9x] {
  position: relative;
}

.import-tooltip[b-pts9mbdf9x] {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms;
  margin-top: 6px;
  z-index: 10;
}

.import-btn-wrap:hover .import-tooltip[b-pts9mbdf9x],
.import-btn-wrap:focus-within .import-tooltip[b-pts9mbdf9x] {
  opacity: 1;
}

/* ── Dialogs ── */
.dialog-backdrop[b-pts9mbdf9x] {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.dialog-card[b-pts9mbdf9x] {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  min-width: 360px;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dialog-title[b-pts9mbdf9x] {
  margin: 0 0 1rem;
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.dialog-name-input[b-pts9mbdf9x] {
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}

.dialog-actions[b-pts9mbdf9x] {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.sample-name-dialog[b-pts9mbdf9x] {
  min-width: 340px;
  max-width: 400px;
}

.dialog-subtitle[b-pts9mbdf9x] {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.run-dialog[b-pts9mbdf9x] {
  min-width: 420px;
  max-width: 500px;
}

.dialog-form-group[b-pts9mbdf9x] {
  margin-bottom: 0.85rem;
}

.dialog-form-group .mui-field-label[b-pts9mbdf9x] {
  display: block;
  margin-bottom: 0.25rem;
}

.dialog-form-group .mui-input[b-pts9mbdf9x] {
  width: 100%;
}

/* ── Clear button ── */
.role-clear[b-pts9mbdf9x] {
  border-style: dashed !important;
}

.save-path-row[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.save-path-display[b-pts9mbdf9x] {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-soft);
  padding: 0.45rem 0.6rem;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Layout file actions ── */
.layout-file-actions[b-pts9mbdf9x] {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.layout-file-btn[b-pts9mbdf9x] {
  cursor: pointer;
  font-size: 0.78rem !important;
  width: 100%;
  justify-content: center;
}

.layout-item-actions[b-pts9mbdf9x] {
  display: flex;
  gap: 0.15rem;
  flex-shrink: 0;
}

.layout-action-btn[b-pts9mbdf9x] {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

.layout-action-btn:hover[b-pts9mbdf9x] {
  color: var(--brand-primary);
  background: var(--brand-primary-weak);
}

.layout-action-btn .material-symbols-rounded[b-pts9mbdf9x] {
  font-size: 18px;
}

/* ── Saved Layouts list ── */
.empty-layouts-text[b-pts9mbdf9x] {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

.layout-list[b-pts9mbdf9x] {
  display: grid;
  gap: 0.4rem;
}

.layout-item[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.layout-item:hover[b-pts9mbdf9x] {
  background: var(--brand-primary-weak);
  border-color: var(--brand-primary);
}

.layout-icon[b-pts9mbdf9x] {
  color: var(--brand-primary);
  font-size: 20px;
  flex-shrink: 0;
}

.layout-info[b-pts9mbdf9x] {
  flex: 1;
  min-width: 0;
}

.layout-name[b-pts9mbdf9x] {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layout-date[b-pts9mbdf9x] {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 600;
}

.layout-delete-btn[b-pts9mbdf9x] {
  border: 0;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

.layout-delete-btn:hover[b-pts9mbdf9x] {
  color: var(--status-danger);
  background: var(--status-danger-bg);
}

.layout-delete-btn .material-symbols-rounded[b-pts9mbdf9x] {
  font-size: 18px;
}

/* ── Dilution presets ── */
.dilution-presets[b-pts9mbdf9x] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.dilution-preset-btn[b-pts9mbdf9x] {
  padding: 0.45rem 0.3rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  justify-content: center;
}

/* ── Quick fill group ── */
.quick-fill-group[b-pts9mbdf9x] {
  margin-bottom: 0.5rem;
}

.quick-fill-group .mui-field-label[b-pts9mbdf9x] {
  display: block;
  margin-bottom: 0.2rem;
}

.quick-fill-group .mui-input[b-pts9mbdf9x] {
  width: 100%;
}

.serial-dir-row[b-pts9mbdf9x] {
  margin-bottom: 0.5rem;
}

.serial-dir-row .mui-field-label[b-pts9mbdf9x] {
  display: block;
  margin-bottom: 0.2rem;
}

.serial-dir-row select[b-pts9mbdf9x] {
  width: 100%;
}

/* ── Status bar ── */
.status-bar[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  font-size: 0.8rem;
  color: var(--text-soft);
  font-weight: 600;
}

.status-indicator[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.status-chip[b-pts9mbdf9x] {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-configured[b-pts9mbdf9x] {
  background: var(--status-ok-bg);
  color: var(--status-ok);
}

.status-sep[b-pts9mbdf9x] {
  color: var(--text-faint);
}

.wavelength-field[b-pts9mbdf9x] {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.wavelength-input[b-pts9mbdf9x] {
  width: 72px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "JetBrains Mono", "Roboto Mono", monospace;
  color: var(--text-main);
  background: var(--surface-card);
  text-align: center;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.wavelength-input:focus[b-pts9mbdf9x] {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px var(--brand-primary-weak);
}

.wavelength-input[b-pts9mbdf9x]::placeholder {
  font-weight: 500;
  color: var(--text-faint);
}

.wavelength-unit[b-pts9mbdf9x] {
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* ── Well role indicators — exact dot colors from Assign Well Type ── */
[b-pts9mbdf9x] td.role-blank {
  background: #94a3b8;
}
[b-pts9mbdf9x] td.role-blank .cell-input {
  color: #fff;
}

[b-pts9mbdf9x] td.role-pc {
  background: #f87171;
}
[b-pts9mbdf9x] td.role-pc .cell-input {
  color: #fff;
}

[b-pts9mbdf9x] td.role-nc {
  background: #34d399;
}
[b-pts9mbdf9x] td.role-nc .cell-input {
  color: #fff;
}

[b-pts9mbdf9x] td.role-blank .cell-input,
[b-pts9mbdf9x] td.role-pc .cell-input,
[b-pts9mbdf9x] td.role-nc .cell-input,
[b-pts9mbdf9x] td.role-unknown .cell-input {
  font-weight: 700;
}

/* ── Cells with sample labels need extra height ── */
[b-pts9mbdf9x] td.role-unknown {
  padding-bottom: 14px;
  background: hsl(261, 42%, 61%);
}

[b-pts9mbdf9x] td.role-unknown .cell-input {
  color: #fff;
  padding-bottom: 0;
}

/* ── Sample name label ── */
[b-pts9mbdf9x] .sample-label {
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px;
  opacity: 0.7;
}

/* ══════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet landscape / small desktop (≤1100px) ── */
@media (max-width: 1100px) {
  /* Switch from viewport-filling to natural-height scrolling */
  .plate-page[b-pts9mbdf9x] {
    overflow: auto;
  }

  .plate-layout[b-pts9mbdf9x] {
    grid-template-columns: 1fr;
    flex: none;
    min-height: auto;
  }

  .plate-panel[b-pts9mbdf9x] {
    overflow: hidden;
    min-height: auto;
    min-width: 0;
  }

  .table-scroll[b-pts9mbdf9x] {
    flex: none;
    max-height: 55vh;
    min-height: 280px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .control-panels[b-pts9mbdf9x] {
    flex-direction: row;
    flex-wrap: wrap;
    overflow-y: visible;
    min-height: auto;
  }

  .control-panels > *[b-pts9mbdf9x] {
    flex: 1 1 280px;
  }

  .status-bar[b-pts9mbdf9x] {
    margin-top: 0;
  }

  /* Sticky headers for scrollable grid */
  .plate-table .row-hdr[b-pts9mbdf9x] {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--surface-soft);
  }

  .plate-table .col-hdr[b-pts9mbdf9x] {
    position: sticky;
    top: 0;
    z-index: 4;
    background: var(--surface-soft);
  }

  .corner-cell[b-pts9mbdf9x] {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 5;
    background: var(--surface-soft);
  }
}

/* ── Tablet portrait (≤960px) — sidebar becomes drawer ── */
@media (max-width: 960px) {
  .status-bar[b-pts9mbdf9x] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.76rem;
  }
}

/* ── Large phone / small tablet (≤680px) ── */
@media (max-width: 680px) {
  .plate-header[b-pts9mbdf9x] {
    flex-direction: column;
  }

  .data-grid-header[b-pts9mbdf9x] {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  /* Toolbar buttons: icon-only, wrap to fit */
  .data-grid-actions[b-pts9mbdf9x] {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .data-grid-actions .mui-btn span:not(.material-symbols-rounded)[b-pts9mbdf9x] {
    display: none;
  }

  .data-grid-actions .mui-btn[b-pts9mbdf9x] {
    padding: 0.45rem 0.6rem;
    min-width: 44px;
    justify-content: center;
  }

  .control-panels[b-pts9mbdf9x] {
    flex-direction: column;
  }

  .grid-footer[b-pts9mbdf9x] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .grid-legend[b-pts9mbdf9x] {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .grid-stats[b-pts9mbdf9x] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .grid-tabs[b-pts9mbdf9x] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Header actions full width */
  .header-actions[b-pts9mbdf9x] {
    width: 100%;
  }

  .header-actions .mui-btn[b-pts9mbdf9x] {
    width: 100%;
    justify-content: center;
  }

  .table-scroll[b-pts9mbdf9x] {
    max-height: 50vh;
  }
}

/* ── Phone (≤480px) ── */
@media (max-width: 480px) {
  .plate-breadcrumb[b-pts9mbdf9x] {
    display: none;
  }

  .page-subtitle[b-pts9mbdf9x] {
    font-size: 0.82rem;
  }

  .table-scroll[b-pts9mbdf9x] {
    display: block;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 50vh;
    min-height: 220px;
  }

  .plate-table[b-pts9mbdf9x] {
    table-layout: auto;
    width: auto;
    min-width: 600px;
    height: auto;
  }

  .col-hdr[b-pts9mbdf9x] {
    min-width: 50px;
    font-size: 0.68rem;
    padding: 0.35rem 0.15rem;
    white-space: nowrap;
  }

  .row-hdr[b-pts9mbdf9x] {
    width: 28px;
    min-width: 28px;
    font-size: 0.68rem;
    padding: 0.3rem 0.15rem;
  }

  .corner-cell[b-pts9mbdf9x] {
    width: 28px;
    min-width: 28px;
  }

  .cell-input[b-pts9mbdf9x] {
    min-height: 36px;
    padding: 0.25rem 0.1rem;
    font-size: 0.7rem;
  }

  /* Hide sample labels on mobile */
  [b-pts9mbdf9x] .sample-label {
    display: none;
  }

  /* Dialogs go full-width */
  .dialog-card[b-pts9mbdf9x] {
    min-width: unset;
    max-width: unset;
    margin: 0.5rem;
    width: calc(100% - 1rem);
  }

  .run-dialog[b-pts9mbdf9x],
  .sample-name-dialog[b-pts9mbdf9x] {
    min-width: unset;
    max-width: unset;
  }

  /* Compact controls */
  .role-option[b-pts9mbdf9x] {
    padding: 0.4rem 0.5rem;
    font-size: 0.8rem;
  }

  .dilution-presets[b-pts9mbdf9x] {
    grid-template-columns: repeat(2, 1fr);
  }

  .panel-heading[b-pts9mbdf9x] {
    font-size: 0.68rem;
  }

  .data-grid-title[b-pts9mbdf9x] {
    font-size: 0.88rem;
  }

  /* Status bar compact */
  .status-bar[b-pts9mbdf9x] {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    gap: 0.3rem;
  }

  .wavelength-input[b-pts9mbdf9x] {
    width: 56px;
    font-size: 0.72rem;
  }
}
/* /Components/Pages/History.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   History — Analysis History
   ═══════════════════════════════════════════════════════════════ */

.history-header[b-u2fdd5ddul] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Empty state ── */
.empty-state[b-u2fdd5ddul] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 0.5rem;
    animation: fadeInUp 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.empty-icon[b-u2fdd5ddul] {
    font-size: 52px;
    color: var(--text-faint);
    margin-bottom: 0.5rem;
    animation: fadeIn 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.empty-title[b-u2fdd5ddul] {
    margin: 0;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.empty-text[b-u2fdd5ddul] {
    margin: 0 0 1rem;
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 600;
}

/* ── Table header ── */
[b-u2fdd5ddul] .mui-table thead th {
    background: var(--surface-soft);
    color: var(--text-soft);
    border-bottom: 2px solid var(--border-soft);
}

/* ── Table rows ── */
.history-row[b-u2fdd5ddul] {
    cursor: pointer;
}

.history-row td[b-u2fdd5ddul] {
    transition: background var(--transition-fast);
}

.history-row:hover td[b-u2fdd5ddul] {
    background: var(--brand-primary-weak);
}

/* Left accent on hover — applied to first cell via box-shadow */
.history-row:hover td:first-child[b-u2fdd5ddul] {
    box-shadow: inset 3px 0 0 var(--brand-primary);
}

.test-id-cell[b-u2fdd5ddul] {
    font-family: "JetBrains Mono", "Roboto Mono", monospace;
    font-weight: 700;
    color: var(--text-main);
}

.row-arrow[b-u2fdd5ddul] {
    font-size: 20px;
    color: var(--text-faint);
    vertical-align: middle;
    margin-left: 0.15rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.history-row:hover .row-arrow[b-u2fdd5ddul] {
    color: var(--brand-primary);
    transform: translateX(2px);
}

.count-positive[b-u2fdd5ddul] {
    color: var(--status-danger);
    font-weight: 700;
}

.count-negative[b-u2fdd5ddul] {
    color: var(--status-ok);
    font-weight: 700;
}

.count-doubtful[b-u2fdd5ddul] {
    color: var(--status-warn);
    font-weight: 700;
}

/* ── Delete button ── */
.actions-cell[b-u2fdd5ddul] {
    white-space: nowrap;
    /* text-align: right; */
}

.icon-btn-delete[b-u2fdd5ddul] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    color: var(--text-faint);
    font-size: 0;
    vertical-align: middle;
    transition: all var(--transition-fast);
}

.icon-btn-delete:hover[b-u2fdd5ddul] {
    color: var(--status-danger);
    background: var(--status-danger-bg);
    transform: scale(1.1);
}

.icon-btn-delete .material-symbols-rounded[b-u2fdd5ddul] {
    font-size: 20px;
}

/* ── Delete confirmation dialog ── */
.dialog-backdrop[b-u2fdd5ddul] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-card[b-u2fdd5ddul] {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    min-width: 360px;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dialog-icon-row[b-u2fdd5ddul] {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.dialog-warn-icon[b-u2fdd5ddul] {
    font-size: 40px;
    color: var(--status-danger);
    background: var(--status-danger-bg);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.dialog-title[b-u2fdd5ddul] {
    margin: 0 0 0.5rem;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
}

.dialog-subtitle[b-u2fdd5ddul] {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.5;
    text-align: center;
}

.dialog-actions[b-u2fdd5ddul] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

/* .dialog-actions .mui-btn {
    flex: 1;
} */

.mui-btn-danger[b-u2fdd5ddul] {
    background: var(--status-danger);
    border-color: var(--status-danger);
    color: #fff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.mui-btn-danger:hover[b-u2fdd5ddul] {
    background: #b91c1c;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
    transform: translateY(-1px);
}

.mui-btn-danger:active[b-u2fdd5ddul] {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* ── Responsive ── */
@media (max-width: 680px) {
    .history-header[b-u2fdd5ddul] {
        flex-direction: column;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   Home — Welcome Screen
   ═══════════════════════════════════════════════════════════════ */

.home-page[b-qy08ppqn8a] {
  display: grid;
  gap: 1.35rem;
  animation: fadeInUp 0.4s var(--ease-out) both;
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.home-hero[b-qy08ppqn8a] {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0a1e55 0%, #1a3ca8 46%, #0891b2 100%);
  overflow: hidden;
  padding: 2.6rem 2.4rem 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 2rem;
  align-items: center;
  box-shadow:
    0 4px 6px rgba(10, 30, 85, 0.1),
    0 12px 32px rgba(10, 30, 85, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Glow blobs */
.home-hero-glow[b-qy08ppqn8a] {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-glow[b-qy08ppqn8a]::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -200px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.4) 0%, transparent 60%);
}

.home-hero-glow[b-qy08ppqn8a]::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 91, 226, 0.32) 0%, transparent 60%);
}

.home-hero-content[b-qy08ppqn8a] {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
}

.home-hero-badge[b-qy08ppqn8a] {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-badge .material-symbols-rounded[b-qy08ppqn8a] {
  font-size: 14px;
}

.home-hero-title[b-qy08ppqn8a] {
  margin: 1rem 0 0;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.025em;
}

.home-hero-title sup[b-qy08ppqn8a] {
  font-size: 0.42em;
  vertical-align: super;
  letter-spacing: 0;
  font-weight: 700;
}

.home-hero-subtitle[b-qy08ppqn8a] {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
  line-height: 1.75;
}

.home-hero-actions[b-qy08ppqn8a] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.home-hero-cta[b-qy08ppqn8a],
.home-hero-cta-ghost[b-qy08ppqn8a] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.home-hero-cta .material-symbols-rounded[b-qy08ppqn8a],
.home-hero-cta-ghost .material-symbols-rounded[b-qy08ppqn8a] {
  font-size: 19px;
}

.home-hero-cta[b-qy08ppqn8a] {
  background: #fff;
  color: #0a1e55;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.home-hero-cta:hover[b-qy08ppqn8a] {
  background: #eef4ff;
  color: #08195c;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.26);
  transform: translateY(-2px);
}

.home-hero-cta-ghost[b-qy08ppqn8a] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.home-hero-cta-ghost:hover[b-qy08ppqn8a] {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Plate illustration ───────────────────────────────────────── */
.home-hero-plate[b-qy08ppqn8a] {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 1rem 1.1rem 0.85rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.plate-label-row[b-qy08ppqn8a] {
  display: grid;
  grid-template-columns: repeat(12, 22px);
  gap: 5px;
  margin-left: 22px; /* offset for row labels */
  margin-bottom: 4px;
}

.plate-col-label[b-qy08ppqn8a] {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1;
}

.plate-body[b-qy08ppqn8a] {
  display: grid;
  gap: 5px;
}

.plate-row[b-qy08ppqn8a] {
  display: grid;
  grid-template-columns: 16px repeat(12, 22px);
  gap: 5px;
  align-items: center;
}

.plate-row-label[b-qy08ppqn8a] {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
  padding-right: 2px;
}

.plate-well[b-qy08ppqn8a] {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transition: transform 0.15s, opacity 0.15s;
  opacity: 0.88;
}

.plate-well:hover[b-qy08ppqn8a] {
  transform: scale(1.2);
  opacity: 1;
}

.well-pos[b-qy08ppqn8a] {
  background: radial-gradient(circle at 38% 35%, #fca5a5, #dc2626);
  box-shadow: 0 2px 7px rgba(220, 38, 38, 0.55);
}

.well-neg[b-qy08ppqn8a] {
  background: radial-gradient(circle at 38% 35%, #6ee7b7, #059669);
  box-shadow: 0 2px 7px rgba(5, 150, 105, 0.5);
}

.well-blank[b-qy08ppqn8a] {
  background: radial-gradient(circle at 38% 35%, #e2e8f0, #94a3b8);
  box-shadow: 0 2px 5px rgba(100, 116, 139, 0.35);
}

.well-unknown[b-qy08ppqn8a] {
  background: radial-gradient(circle at 38% 35%, #c4b5fd, #7c3aed);
  box-shadow: 0 2px 7px rgba(124, 58, 237, 0.5);
}

.plate-legend[b-qy08ppqn8a] {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item[b-qy08ppqn8a] {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.legend-dot[b-qy08ppqn8a] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-pos[b-qy08ppqn8a]     { background: #dc2626; }
.dot-neg[b-qy08ppqn8a]     { background: #059669; }
.dot-blank[b-qy08ppqn8a]   { background: #94a3b8; }
.dot-unknown[b-qy08ppqn8a] { background: #7c3aed; }

/* ════════════════════════════════════════════════════════════════
   ABOUT CARDS
   ════════════════════════════════════════════════════════════════ */
.home-about-grid[b-qy08ppqn8a] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-about-card[b-qy08ppqn8a] {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.home-about-card:hover[b-qy08ppqn8a] {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(44, 91, 226, 0.11);
}

.about-icon[b-qy08ppqn8a] {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-icon .material-symbols-rounded[b-qy08ppqn8a] {
  font-size: 22px;
}

.about-icon-blue[b-qy08ppqn8a]   { background: rgba(44,  91, 226, 0.1); color: #2c5be2; }
.about-icon-teal[b-qy08ppqn8a]   { background: rgba(8,  145, 178, 0.1); color: #0891b2; }
.about-icon-indigo[b-qy08ppqn8a] { background: rgba(79,  70, 229, 0.1); color: #4f46e5; }
.about-icon-green[b-qy08ppqn8a]  { background: rgba(5,  150, 105, 0.1); color: #059669; }

.about-card-title[b-qy08ppqn8a] {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.about-card-desc[b-qy08ppqn8a] {
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ════════════════════════════════════════════════════════════════
   HOW IT WORKS — WORKFLOW
   ════════════════════════════════════════════════════════════════ */
.home-workflow[b-qy08ppqn8a] {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-sm);
}

.home-workflow-header[b-qy08ppqn8a] {
  text-align: center;
  margin-bottom: 1.8rem;
}

.home-workflow-title[b-qy08ppqn8a] {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.home-workflow-sub[b-qy08ppqn8a] {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Steps row */
.home-steps[b-qy08ppqn8a] {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.home-step[b-qy08ppqn8a] {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 0 0.6rem;
}

.step-number[b-qy08ppqn8a] {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
  text-transform: uppercase;
}

.step-icon[b-qy08ppqn8a] {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-primary-weak);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  border: 2px solid rgba(44, 91, 226, 0.15);
  transition: background var(--transition-normal), transform var(--transition-normal);
}

.step-icon .material-symbols-rounded[b-qy08ppqn8a] {
  font-size: 26px;
}

.home-step:hover .step-icon[b-qy08ppqn8a] {
  background: var(--brand-primary);
  color: #fff;
  transform: scale(1.08);
}

.step-title[b-qy08ppqn8a] {
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.step-desc[b-qy08ppqn8a] {
  font-size: 0.81rem;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 18ch;
}

/* Arrow connectors */
.home-step-connector[b-qy08ppqn8a] {
  padding-top: 27px; /* vertically align with icon centre */
  color: var(--border-strong);
  flex-shrink: 0;
}

.home-step-connector .material-symbols-rounded[b-qy08ppqn8a] {
  font-size: 20px;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .home-about-grid[b-qy08ppqn8a] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .home-hero[b-qy08ppqn8a] {
    grid-template-columns: 1fr;
  }

  .home-hero-plate[b-qy08ppqn8a] {
    display: none;
  }
}

@media (max-width: 860px) {
  .home-steps[b-qy08ppqn8a] {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .home-step[b-qy08ppqn8a] {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-soft);
    gap: 1rem;
  }

  .home-step:last-child[b-qy08ppqn8a] {
    border-bottom: none;
  }

  .home-step-connector[b-qy08ppqn8a] {
    display: none;
  }

  .step-number[b-qy08ppqn8a] {
    min-width: 28px;
    padding-top: 0.3rem;
  }

  .step-desc[b-qy08ppqn8a] {
    max-width: none;
  }

  .home-workflow[b-qy08ppqn8a] {
    padding: 1.2rem 1.4rem;
  }
}

@media (max-width: 640px) {
  .home-hero[b-qy08ppqn8a] {
    padding: 1.6rem 1.3rem;
  }

  .home-hero-title[b-qy08ppqn8a] {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .home-about-grid[b-qy08ppqn8a] {
    grid-template-columns: 1fr;
  }
}
/* /Components/Pages/Results.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   Results — Analysis Results & Reporting
   ═══════════════════════════════════════════════════════════════ */

.results-header[b-a8116rwhfo] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Filter row ── */
.filter-row[b-a8116rwhfo] {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
}

.filter-group[b-a8116rwhfo] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 140px;
}

.filter-label[b-a8116rwhfo] {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select[b-a8116rwhfo] {
    min-width: 140px;
    max-width: 200px;
}

.filter-actions[b-a8116rwhfo] {
    margin-left: auto;
}

.filter-clear-btn[b-a8116rwhfo] {
    white-space: nowrap;
}

.export-row[b-a8116rwhfo] {
    margin-bottom: 0.75rem;
}

.filter-count[b-a8116rwhfo] {
    font-size: 0.82rem;
    color: var(--text-soft);
    font-weight: 600;
}

.filter-active-badge[b-a8116rwhfo] {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.5rem;
    border-radius: var(--radius-full);
    background: var(--brand-primary-weak);
    color: var(--brand-primary);
    font-size: 0.68rem;
    font-weight: 700;
    margin-left: 0.4rem;
    letter-spacing: 0.03em;
}

/* ── Validation banners ── */
.validation-valid[b-a8116rwhfo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    background: var(--status-ok-bg);
    color: var(--status-ok);
    padding: 0.65rem 0.85rem;
}

.validation-valid .material-symbols-rounded[b-a8116rwhfo] {
    font-size: 20px;
    color: var(--status-ok);
}

.validation-invalid .validation-title[b-a8116rwhfo] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.validation-invalid .material-symbols-rounded[b-a8116rwhfo] {
    font-size: 20px;
}

.validation-reasons[b-a8116rwhfo] {
    margin: 0.4rem 0 0 1.6rem;
    padding: 0;
    font-weight: 500;
}

.validation-reasons li[b-a8116rwhfo] {
    margin-top: 0.2rem;
}

/* ── Summary cards ── */
.results-summary[b-a8116rwhfo] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.summary-card[b-a8116rwhfo] {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--surface-card);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

/* Left accent strip */
.summary-card[b-a8116rwhfo]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border-soft);
    border-radius: 0 2px 2px 0;
}

.summary-card:hover[b-a8116rwhfo] {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.summary-label[b-a8116rwhfo] {
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.summary-value[b-a8116rwhfo] {
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

/* Colored accent strips */
.summary-positive[b-a8116rwhfo]::before {
    background: var(--status-danger);
}

.summary-positive .summary-value[b-a8116rwhfo] {
    color: var(--status-danger);
}

.summary-negative[b-a8116rwhfo]::before {
    background: var(--status-ok);
}

.summary-negative .summary-value[b-a8116rwhfo] {
    color: var(--status-ok);
}

.summary-doubtful[b-a8116rwhfo]::before {
    background: var(--status-warn);
}

.summary-doubtful .summary-value[b-a8116rwhfo] {
    color: var(--status-warn);
}

/* ── Sortable column headers ── */
.sortable-th[b-a8116rwhfo] {
    cursor: pointer;
    user-select: none;
    transition: color var(--transition-fast);
}

.sortable-th:hover[b-a8116rwhfo] {
    color: var(--brand-primary);
}

.sort-arrow[b-a8116rwhfo] {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    color: var(--brand-primary);
}

/* ── Table tweaks ── */
.well-id-cell[b-a8116rwhfo] {
    font-family: "JetBrains Mono", "Roboto Mono", monospace;
    font-weight: 700;
    color: var(--text-main);
}

.status-dash[b-a8116rwhfo] {
    color: var(--text-faint);
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .results-summary[b-a8116rwhfo] {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-header[b-a8116rwhfo] {
        flex-direction: column;
    }

    .filter-row[b-a8116rwhfo] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group[b-a8116rwhfo] {
        min-width: unset;
    }

    .filter-select[b-a8116rwhfo] {
        max-width: 100%;
    }

    .filter-actions[b-a8116rwhfo] {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .results-summary[b-a8116rwhfo] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Settings.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   Settings — Organization & User Profile
   ═══════════════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.settings-page[b-irdn2qc5rh] {
    display: grid;
    gap: 1rem;
}

[b-irdn2qc5rh] .import-file-input {
    display: none !important;
}

/* ── Hero Header ── */
.settings-hero[b-irdn2qc5rh] {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    background: var(--surface-soft);
    padding: 1.25rem 1.35rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.settings-hero-copy h1[b-irdn2qc5rh] {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.settings-hero-copy p[b-irdn2qc5rh] {
    margin: 0.5rem 0 0;
    color: var(--text-soft);
    font-size: 0.96rem;
    line-height: 1.45;
    /* max-width: 560px; */
}

.settings-hero-visual[b-irdn2qc5rh] {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--brand-gradient);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-brand);
}

.settings-hero-visual .material-symbols-rounded[b-irdn2qc5rh] {
    font-size: 32px;
    color: #fff;
}

/* ── Card title row with icon ── */
.card-title-row[b-irdn2qc5rh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.card-icon[b-irdn2qc5rh] {
    font-size: 20px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

/* ── Identity row (Logo + Preview) ── */
.identity-row[b-irdn2qc5rh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.identity-card[b-irdn2qc5rh] {
    display: flex;
    flex-direction: column;
}

/* ── Logo Upload ── */
.logo-upload-area[b-irdn2qc5rh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.logo-preview-frame[b-irdn2qc5rh] {
    width: 120px;
    height: 120px;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    display: grid;
    place-items: center;
    padding: 8px;
    transition: border-color var(--transition-fast);
}

/* .logo-preview-frame:hover {
    border-color: var(--brand-primary);
} */

.logo-preview-img[b-irdn2qc5rh] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo-dropzone[b-irdn2qc5rh] {
    width: 100%;
    max-width: 260px;
    padding: 1.5rem 1rem;
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.logo-dropzone:hover[b-irdn2qc5rh] {
    border-color: var(--brand-primary);
    background: var(--brand-primary-weak);
}

.dropzone-icon[b-irdn2qc5rh] {
    font-size: 40px;
    color: var(--text-faint);
    transition: color var(--transition-fast);
}

.logo-dropzone:hover .dropzone-icon[b-irdn2qc5rh] {
    color: var(--brand-primary);
}

.dropzone-label[b-irdn2qc5rh] {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}

.dropzone-hint[b-irdn2qc5rh] {
    font-size: 0.72rem;
    color: var(--text-faint);
    font-weight: 600;
}

.logo-actions[b-irdn2qc5rh] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.logo-change-btn[b-irdn2qc5rh] {
    cursor: pointer;
}

/* ── Business Card Preview ── */
.preview-hint[b-irdn2qc5rh] {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    color: var(--text-soft);
    font-weight: 600;
}

.business-card[b-irdn2qc5rh] {
    flex: 1;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--surface-card) 0%, var(--surface-soft) 100%);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-height: 140px;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-fast);
}

/* .business-card:hover {
    box-shadow: var(--shadow-lg);
} */

.bcard-logo-area[b-irdn2qc5rh] {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--brand-primary-weak);
    display: grid;
    place-items: center;
}

.bcard-logo[b-irdn2qc5rh] {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.bcard-details[b-irdn2qc5rh] {
    flex: 1;
    min-width: 0;
}

.bcard-org[b-irdn2qc5rh] {
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.bcard-divider[b-irdn2qc5rh] {
    width: 40px;
    height: 3px;
    border-radius: var(--radius-full);
    background: var(--brand-gradient);
    margin: 0.5rem 0;
}

.bcard-name[b-irdn2qc5rh] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.bcard-designation[b-irdn2qc5rh] {
    font-size: 0.78rem;
    color: var(--text-soft);
    font-weight: 600;
    margin-top: 0.15rem;
}

.bcard-contact[b-irdn2qc5rh] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-soft);
    font-weight: 600;
    margin-top: 0.35rem;
}

.bcard-contact .material-symbols-rounded[b-irdn2qc5rh] {
    font-size: 14px;
    color: var(--brand-primary);
}

/* ── Form Fields ── */
.form-row[b-irdn2qc5rh] {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1rem;
}

.form-card[b-irdn2qc5rh] {
    display: flex;
    flex-direction: column;
}

.settings-form-grid[b-irdn2qc5rh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-textarea[b-irdn2qc5rh] {
    resize: vertical;
    min-height: 60px;
}

.form-row-inline[b-irdn2qc5rh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* ── Save Button ── */
.save-row[b-irdn2qc5rh] {
    display: flex;
    justify-content: flex-end;
}

.save-btn[b-irdn2qc5rh] {
    min-width: 180px;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    font-size: 0.92rem;
    background: var(--brand-gradient);
    border: none;
    color: #fff;
    box-shadow: var(--shadow-brand);
    transition: all var(--transition-fast);
}

.save-btn:hover[b-irdn2qc5rh] {
    box-shadow: 0 6px 20px rgba(44, 91, 226, 0.35);
    transform: translateY(-1px);
}

.save-btn:active[b-irdn2qc5rh] {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .identity-row[b-irdn2qc5rh],
    .form-row[b-irdn2qc5rh] {
        grid-template-columns: 1fr;
    }

    .settings-hero[b-irdn2qc5rh] {
        grid-template-columns: 1fr;
    }

    .settings-hero-visual[b-irdn2qc5rh] {
        display: none;
    }
}

@media (max-width: 680px) {
    .form-row-inline[b-irdn2qc5rh] {
        grid-template-columns: 1fr;
    }

    .business-card[b-irdn2qc5rh] {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bcard-divider[b-irdn2qc5rh] {
        margin: 0.5rem auto;
    }

    .bcard-contact[b-irdn2qc5rh] {
        justify-content: center;
    }

    .save-row[b-irdn2qc5rh] {
        justify-content: stretch;
    }

    .save-btn[b-irdn2qc5rh] {
        width: 100%;
    }
}
/* /Components/Pages/UserGuide.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   User Guide — Help Documentation
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.guide-hero[b-4coewf99gl] {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.guide-breadcrumb[b-4coewf99gl] {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.guide-hero-actions[b-4coewf99gl] {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.guide-hero-visual[b-4coewf99gl] {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--brand-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-brand);
  transition: transform var(--transition-fast);
}

.guide-hero-visual:hover[b-4coewf99gl] {
  transform: rotate(-5deg) scale(1.05);
}

.guide-hero-visual .material-symbols-rounded[b-4coewf99gl] {
  font-size: 32px;
}

/* ── Quick Nav Cards ── */
.guide-nav-grid[b-4coewf99gl] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.guide-nav-card[b-4coewf99gl] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  animation: fadeInUp 300ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.guide-nav-card:nth-child(1)[b-4coewf99gl] {
  animation-delay: 0ms;
}
.guide-nav-card:nth-child(2)[b-4coewf99gl] {
  animation-delay: 60ms;
}
.guide-nav-card:nth-child(3)[b-4coewf99gl] {
  animation-delay: 120ms;
}
.guide-nav-card:nth-child(4)[b-4coewf99gl] {
  animation-delay: 180ms;
}
.guide-nav-card:nth-child(5)[b-4coewf99gl] {
  animation-delay: 240ms;
}
.guide-nav-card:nth-child(6)[b-4coewf99gl] {
  animation-delay: 300ms;
}

.guide-nav-card:hover[b-4coewf99gl] {
  border-color: var(--brand-primary);
  background: #fafbfc;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.guide-nav-card:hover .guide-nav-title[b-4coewf99gl],
.guide-nav-card:hover .guide-nav-desc[b-4coewf99gl] {
  color: var(--text-main);
}

.guide-nav-icon[b-4coewf99gl] {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-primary-weak);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.guide-nav-card:hover .guide-nav-icon[b-4coewf99gl] {
  background: var(--brand-primary);
  color: #fff;
}

.guide-nav-icon .material-symbols-rounded[b-4coewf99gl] {
  font-size: 20px;
}

.guide-nav-title[b-4coewf99gl] {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.guide-nav-desc[b-4coewf99gl] {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.4;
}

/* ── Section Title Row ── */
.guide-title-row[b-4coewf99gl] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.guide-title-icon[b-4coewf99gl] {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--brand-primary-weak);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.guide-title-icon .material-symbols-rounded[b-4coewf99gl] {
  font-size: 20px;
}

.guide-title-row h2[b-4coewf99gl] {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* ── Steps ── */
.guide-steps[b-4coewf99gl] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.guide-step[b-4coewf99gl] {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.step-badge[b-4coewf99gl] {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-brand);
}

.step-title[b-4coewf99gl] {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.step-desc[b-4coewf99gl] {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ── Callout Boxes ── */
.guide-callout[b-4coewf99gl] {
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  line-height: 1.5;
}

.guide-callout .material-symbols-rounded[b-4coewf99gl] {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.guide-callout-info[b-4coewf99gl] {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: var(--brand-primary);
}

.guide-callout-warn[b-4coewf99gl] {
  background: var(--status-warn-bg);
  border: 1px solid #fcd34d;
  color: var(--status-warn);
}

/* ── Feature List ── */
.guide-feature[b-4coewf99gl] {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.guide-feature-icon[b-4coewf99gl] {
  color: var(--brand-primary);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-feature h4[b-4coewf99gl] {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.guide-feature p[b-4coewf99gl] {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ── Status Legend ── */
.guide-status-legend[b-4coewf99gl] {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.guide-status-row[b-4coewf99gl] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--transition-fast);
}

.guide-status-row:hover[b-4coewf99gl] {
  background: #fafbfc;
}

.guide-status-row:hover .guide-status-info[b-4coewf99gl],
.guide-status-row:hover .guide-status-range[b-4coewf99gl] {
  color: var(--text-main);
}

.guide-status-row:last-child[b-4coewf99gl] {
  border-bottom: none;
}

.guide-status-info[b-4coewf99gl] {
  font-size: 0.84rem;
  color: var(--text-soft);
}

.guide-status-range[b-4coewf99gl] {
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-main);
  min-width: 100px;
}

/* ── Metric Definitions ── */
.guide-metrics[b-4coewf99gl] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guide-metric-item[b-4coewf99gl] {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-soft);
}

.guide-metric-item:last-child[b-4coewf99gl] {
  border-bottom: none;
  padding-bottom: 0;
}

.guide-metric-term[b-4coewf99gl] {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.guide-metric-def[b-4coewf99gl] {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ── Export Cards ── */
.guide-export-card[b-4coewf99gl] {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.guide-export-card:hover[b-4coewf99gl] {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.guide-export-icon[b-4coewf99gl] {
  font-size: 36px;
  color: var(--brand-primary);
}

.guide-export-card h4[b-4coewf99gl] {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.guide-export-card p[b-4coewf99gl] {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.guide-export-card ul[b-4coewf99gl] {
  margin: 0.25rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ── Tip Cards ── */
.guide-tips-grid[b-4coewf99gl] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.guide-tip[b-4coewf99gl] {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  padding: 0.85rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.guide-tip:hover[b-4coewf99gl] {
  border-color: var(--brand-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.guide-tip-icon[b-4coewf99gl] {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-md);
  background: var(--brand-secondary-weak);
  color: var(--brand-secondary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.guide-tip:hover .guide-tip-icon[b-4coewf99gl] {
  background: var(--brand-secondary);
  color: #fff;
}

.guide-tip-icon .material-symbols-rounded[b-4coewf99gl] {
  font-size: 18px;
}

.guide-tip h4[b-4coewf99gl] {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.guide-tip p[b-4coewf99gl] {
  margin: 0.1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* ── Section scroll offset ── */
section[id][b-4coewf99gl] {
  scroll-margin-top: 1rem;
}

.guide-section-intro[b-4coewf99gl] {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.guide-settings-link[b-4coewf99gl] {
  margin-top: 0.75rem;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.guide-settings-link a[b-4coewf99gl] {
  color: var(--brand-secondary);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .guide-nav-grid[b-4coewf99gl] {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-tips-grid[b-4coewf99gl] {
    grid-template-columns: 1fr;
  }

  .guide-hero[b-4coewf99gl] {
    grid-template-columns: 1fr;
  }

  .guide-hero-visual[b-4coewf99gl] {
    display: none;
  }
}

@media (max-width: 680px) {
  .guide-nav-grid[b-4coewf99gl] {
    grid-template-columns: 1fr;
  }
}
/* /Components/Shared/Snackbar.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   Snackbar — Toast Notifications
   ═══════════════════════════════════════════════════════════════ */

.snackbar[b-j8qci1whf1] {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.1rem;
    border-radius: var(--radius-lg);
    background: var(--text-main);
    color: #fff;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    animation: snackbar-in-b-j8qci1whf1 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.snackbar-icon[b-j8qci1whf1] {
    font-size: 18px;
    color: #34d399;
}

.snackbar-close[b-j8qci1whf1] {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition-fast);
}

.snackbar-close:hover[b-j8qci1whf1] {
    color: #fff;
}

.snackbar-close .material-symbols-rounded[b-j8qci1whf1] {
    font-size: 16px;
}

@keyframes snackbar-in-b-j8qci1whf1 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(1.5rem) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}
