:root {
  --shell-display-font: "Trebuchet MS", "Segoe UI", sans-serif;
  --shell-body-font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --shell-header-height: 88px;
  --shell-bg: #eef4fb;
  --shell-bg-accent: rgba(9, 86, 160, 0.12);
  --shell-surface: rgba(255, 255, 255, 0.84);
  --shell-elevated: #ffffff;
  --shell-header-bg: rgba(248, 251, 255, 0.82);
  --shell-card-soft: rgba(255, 255, 255, 0.72);
  --shell-border: rgba(15, 44, 82, 0.09);
  --shell-border-strong: rgba(15, 44, 82, 0.18);
  --shell-shadow: 0 24px 50px rgba(9, 28, 54, 0.09);
  --shell-text-primary: #10253d;
  --shell-text-muted: #63748a;
  --shell-text-soft: #7a8798;
  --shell-primary: #0f6cbd;
  --shell-primary-strong: #084f90;
  --shell-secondary: #1a8f7c;
  --shell-violet: #6852d6;
  --shell-warning: #c47a1f;
  --shell-danger: #c04b45;
  --shell-grid-line: rgba(16, 37, 61, 0.08);
  --chart-primary: #0f6cbd;
  --chart-primary-soft: rgba(15, 108, 189, 0.14);
  --chart-accent: #17b890;
  --chart-tertiary: #6852d6;
  --chart-warning: #f4b942;
  --chart-muted: #91a5bc;
}

body[data-shell-theme="midnight"] {
  --shell-bg: #08111d;
  --shell-bg-accent: rgba(18, 126, 255, 0.18);
  --shell-surface: rgba(11, 22, 37, 0.85);
  --shell-elevated: #122133;
  --shell-header-bg: rgba(7, 14, 25, 0.88);
  --shell-card-soft: rgba(14, 26, 42, 0.9);
  --shell-border: rgba(124, 157, 196, 0.18);
  --shell-border-strong: rgba(124, 157, 196, 0.32);
  --shell-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
  --shell-text-primary: #e8eff9;
  --shell-text-muted: #a8bbd2;
  --shell-text-soft: #7f96af;
  --shell-primary: #5eb0ff;
  --shell-primary-strong: #8ac6ff;
  --shell-secondary: #3fd0b1;
  --shell-violet: #9b8cff;
  --shell-warning: #ffbe5c;
  --shell-danger: #ff8f86;
  --shell-grid-line: rgba(232, 239, 249, 0.08);
  --chart-primary: #5eb0ff;
  --chart-primary-soft: rgba(94, 176, 255, 0.18);
  --chart-accent: #3fd0b1;
  --chart-tertiary: #9b8cff;
  --chart-warning: #ffbe5c;
  --chart-muted: #5b6f87;
}

body[data-shell-theme="sunrise"] {
  --shell-bg: #f8efe7;
  --shell-bg-accent: rgba(208, 120, 66, 0.16);
  --shell-surface: rgba(255, 249, 244, 0.86);
  --shell-elevated: #fffaf4;
  --shell-header-bg: rgba(255, 246, 237, 0.84);
  --shell-card-soft: rgba(255, 243, 232, 0.88);
  --shell-border: rgba(121, 69, 32, 0.12);
  --shell-border-strong: rgba(121, 69, 32, 0.2);
  --shell-shadow: 0 22px 48px rgba(121, 69, 32, 0.1);
  --shell-text-primary: #4a2b1c;
  --shell-text-muted: #8a634d;
  --shell-text-soft: #a37b65;
  --shell-primary: #b85c38;
  --shell-primary-strong: #8f4023;
  --shell-secondary: #1f8a70;
  --shell-violet: #8154d6;
  --shell-warning: #d99b2b;
  --shell-danger: #b84f48;
  --shell-grid-line: rgba(74, 43, 28, 0.08);
  --chart-primary: #b85c38;
  --chart-primary-soft: rgba(184, 92, 56, 0.16);
  --chart-accent: #1f8a70;
  --chart-tertiary: #8154d6;
  --chart-warning: #d99b2b;
  --chart-muted: #b4957d;
}

body {
  background:
    radial-gradient(circle at top right, var(--shell-bg-accent), transparent 28%),
    linear-gradient(180deg, var(--shell-bg) 0%, color-mix(in srgb, var(--shell-bg) 76%, white 24%) 100%);
  color: var(--shell-text-primary);
  font-family: var(--shell-body-font);
  font-size: 0.92rem;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 220ms ease, color 220ms ease;
}

body.shell-loading {
  overflow: hidden;
}

.shell-loader {
  align-items: center;
  backdrop-filter: blur(8px);
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--shell-primary) 12%, transparent 88%), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--shell-bg) 82%, white 18%) 0%, color-mix(in srgb, var(--shell-bg) 92%, black 8%) 100%);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 1.5rem;
  pointer-events: none;
  position: fixed;
  transition: opacity 200ms ease, visibility 200ms ease;
  visibility: hidden;
  will-change: opacity, visibility;
  z-index: 2000;
}

body.shell-loading .shell-loader {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.shell-loader-panel {
  align-items: center;
  background: color-mix(in srgb, var(--shell-elevated) 88%, transparent 12%);
  border: 1px solid var(--shell-border-strong);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(9, 28, 54, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 28rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
  width: min(100%, 28rem);
}

.shell-loader-logo {
  display: block;
  height: auto;
  max-width: min(100%, 5.3rem);
  width: min(100%, 5.3rem);
}

.shell-loader-mark {
  display: flex;
  justify-content: center;
  width: 100%;
}

.shell-loader-infinity {
  filter: drop-shadow(0 16px 28px color-mix(in srgb, var(--shell-primary) 20%, transparent 80%));
  max-width: 13rem;
  width: 100%;
  will-change: filter;
}

.shell-loader-track,
.shell-loader-trace {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 10;
}

.shell-loader-track {
  opacity: 0.18;
  stroke: color-mix(in srgb, var(--shell-text-muted) 35%, transparent 65%);
}

.shell-loader-trace {
  animation: shell-loader-dash 1.8s linear infinite;
  stroke: url(#shellLoaderGradient);
  stroke-dasharray: 132 292;
  will-change: stroke-dashoffset;
}

.shell-loader-title {
  font-family: var(--shell-display-font);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.shell-loader-copy {
  color: var(--shell-text-muted);
  margin: 0;
}

@keyframes shell-loader-dash {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -424;
  }
}

body,
.table,
.form-control,
.form-select,
.dropdown-menu,
.btn {
  color: var(--shell-text-primary);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
.dashboard-title {
  font-family: var(--shell-display-font);
}

.shell-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: var(--shell-header-bg);
  border-bottom: 1px solid var(--shell-border);
  box-shadow: 0 12px 28px rgba(9, 28, 54, 0.08);
  flex-wrap: nowrap;
  gap: 1rem;
  isolation: isolate;
  overflow: visible;
  padding: 0.9rem 1.25rem;
  top: 0;
  z-index: 1046;
}

.shell-header.shell-menu-open {
  z-index: 3000;
}

.shell-brand-wrap {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 1rem;
  min-width: 0;
}

.shell-brand {
  align-items: center;
  color: var(--shell-text-primary);
  display: inline-flex;
  flex: 1 1 auto;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.shell-brand:hover {
  color: var(--shell-primary);
}

.shell-brand-logo {
  display: block;
  flex: 0 0 auto;
  height: auto;
  max-width: min(5.3rem, 15vw);
  width: min(5.3rem, 15vw);
}

.shell-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.shell-brand-subtitle {
  display: block;
}

.shell-brand-subtitle {
  color: var(--shell-text-muted);
  font-size: 0.78rem;
  margin-top: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell-toolbar {
  align-items: center;
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  gap: 0.75rem;
  justify-content: flex-end;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  white-space: nowrap;
}

.shell-menu {
  isolation: isolate;
  position: relative;
}

.shell-menu.is-open {
  z-index: 3001;
}

.shell-toolbar-btn,
.shell-user-button,
.shell-sidebar-size-toggle,
.shell-sidebar-action,
.quick-action-tile {
  align-items: center;
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: 16px;
  color: var(--shell-text-primary);
  display: inline-flex;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.72rem 0.95rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.shell-toolbar-btn:hover,
.shell-user-button:hover,
.shell-sidebar-size-toggle:hover,
.shell-sidebar-action:hover,
.quick-action-tile:hover,
.shell-nav-link:hover {
  border-color: var(--shell-border-strong);
  box-shadow: 0 14px 28px rgba(9, 28, 54, 0.08);
  color: var(--shell-text-primary);
  transform: translateY(-1px);
}

.shell-mobile-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--shell-border);
  border-radius: 14px;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.shell-toolbar > * {
  flex: 0 0 auto;
}

.shell-toolbar::-webkit-scrollbar {
  display: none;
}

.shell-sidebar-toolbar {
  display: flex;
  justify-content: flex-start;
}

.shell-sidebar-size-toggle {
  backdrop-filter: blur(14px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--shell-elevated) 92%, white 8%), color-mix(in srgb, var(--shell-surface) 96%, transparent 4%));
  border-color: color-mix(in srgb, var(--shell-primary) 16%, transparent 84%);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(9, 28, 54, 0.08);
  gap: 0.85rem;
  justify-content: flex-start;
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  width: 100%;
}

.shell-sidebar-size-toggle-icon {
  display: inline-flex;
  flex: 0 0 auto;
  height: 16px;
  position: relative;
  width: 20px;
}

.shell-sidebar-size-toggle-bar {
  background: currentColor;
  border-radius: 999px;
  height: 2px;
  left: 0;
  position: absolute;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
  width: 20px;
}

.shell-sidebar-size-toggle-bar.bar-top {
  top: 1px;
}

.shell-sidebar-size-toggle-bar.bar-middle {
  top: 7px;
}

.shell-sidebar-size-toggle-bar.bar-bottom {
  top: 13px;
}

.shell-sidebar-size-toggle-copy {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shell-sidebar-size-toggle.is-expanded {
  background: linear-gradient(135deg, color-mix(in srgb, var(--shell-primary) 14%, white 86%), color-mix(in srgb, var(--shell-secondary) 10%, white 90%));
  border-color: color-mix(in srgb, var(--shell-primary) 26%, transparent 74%);
  color: var(--shell-primary-strong);
}

.shell-sidebar-size-toggle.is-expanded .shell-sidebar-size-toggle-bar.bar-top {
  top: 7px;
  transform: rotate(45deg);
}

.shell-sidebar-size-toggle.is-expanded .shell-sidebar-size-toggle-bar.bar-middle {
  opacity: 0;
  transform: scaleX(0.2);
}

.shell-sidebar-size-toggle.is-expanded .shell-sidebar-size-toggle-bar.bar-bottom {
  top: 7px;
  transform: rotate(-45deg);
}

.shell-mobile-toggle .navbar-toggler-icon {
  filter: invert(0.35);
}

body[data-shell-theme="midnight"] .shell-mobile-toggle .navbar-toggler-icon {
  filter: invert(1);
}

.shell-user-button {
  padding-right: 1.05rem;
}

.shell-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--shell-primary), var(--shell-violet));
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.shell-user-meta {
  line-height: 1.1;
}

.shell-user-meta small {
  color: var(--shell-text-soft);
  display: block;
}

.shell-dropdown-menu {
  background: var(--shell-elevated);
  border: 1px solid var(--shell-border);
  border-radius: 20px;
  box-shadow: var(--shell-shadow);
  margin-top: 0.7rem;
  min-width: 16rem;
  padding: 0.5rem;
  z-index: 3002;
}

.shell-dropdown-menu.shell-dropdown-floating {
  bottom: auto !important;
  inset: auto !important;
  left: var(--shell-dropdown-left, 1rem) !important;
  margin-top: 0;
  max-height: var(--shell-dropdown-max-height, calc(100vh - 2rem)) !important;
  max-width: calc(100vw - 2rem) !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  position: fixed !important;
  right: auto !important;
  top: var(--shell-dropdown-top, calc(var(--shell-header-height) + 0.5rem)) !important;
  transform: none !important;
  width: var(--shell-dropdown-width, 20rem) !important;
  z-index: 5000 !important;
  -webkit-overflow-scrolling: touch;
}

.shell-toolbar-btn span,
.shell-user-meta strong,
.shell-user-meta small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell-dropdown-action {
  align-items: center;
  border-radius: 14px;
  display: flex;
  gap: 0.7rem;
  padding: 0.78rem 0.85rem;
}

.shell-dropdown-action i {
  color: var(--shell-primary);
}

.shell-dropdown-action.is-active,
.dashboard-theme-option.is-active {
  background: color-mix(in srgb, var(--shell-primary) 12%, transparent 88%);
  color: var(--shell-primary-strong);
}

.shell-danger-action i,
.shell-danger-action {
  color: var(--shell-danger);
}

.theme-dot {
  border-radius: 999px;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.theme-dot.executive { background: linear-gradient(135deg, #0f6cbd, #17b890); }
.theme-dot.midnight { background: linear-gradient(135deg, #122133, #5eb0ff); }
.theme-dot.sunrise { background: linear-gradient(135deg, #b85c38, #f4b942); }

.shell-status-mini,
.shell-badge-soft,
.dashboard-chip,
.dashboard-trend {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
}

.shell-badge-soft,
.dashboard-chip,
.shell-status-mini {
  background: color-mix(in srgb, var(--shell-primary) 10%, transparent 90%);
  color: var(--shell-primary-strong);
}

.dashboard-trend.is-positive {
  background: color-mix(in srgb, var(--shell-secondary) 12%, transparent 88%);
  color: var(--shell-secondary);
}

.dashboard-trend.is-negative {
  background: color-mix(in srgb, var(--shell-danger) 12%, transparent 88%);
  color: var(--shell-danger);
}

.shell-app {
  --shell-sidebar-width: 92px;
  --shell-sidebar-gap: 1rem;
  padding: 1.2rem 1.25rem 2rem;
}

.shell-app.shell-sidebar-expanded {
  --shell-sidebar-width: 312px;
  --shell-sidebar-gap: 1.35rem;
}

.shell-layout {
  align-items: start;
  column-gap: var(--shell-sidebar-gap);
  display: grid;
  gap: 0;
  grid-template-columns: var(--shell-sidebar-width) minmax(0, 1fr);
  transition: grid-template-columns 220ms ease, column-gap 220ms ease;
}

.shell-sidebar-column {
  align-self: start;
  inline-size: var(--shell-sidebar-width);
  max-inline-size: var(--shell-sidebar-width);
  min-width: 0;
  overflow: hidden;
  position: sticky;
  top: calc(var(--shell-header-height) + 1rem);
  transition: inline-size 220ms ease, max-inline-size 220ms ease;
}

.shell-sidebar {
  background: transparent;
  min-width: 0;
  padding: 0;
  position: static;
}

.shell-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  inline-size: 100%;
  max-height: calc(100vh - var(--shell-header-height) - 2rem);
  overflow-y: auto;
  padding-right: 0.2rem;
}

.shell-mobile-nav {
  background: var(--shell-elevated);
  border-right: 1px solid var(--shell-border);
  color: var(--shell-text-primary);
  max-width: 360px;
  z-index: 1049;
  width: min(88vw, 360px);
}

.offcanvas-backdrop.show {
  z-index: 1048;
}

.shell-mobile-nav .offcanvas-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--shell-border);
  padding: 1rem 1.1rem;
}

.shell-mobile-nav .offcanvas-body {
  padding: 1rem;
}

.shell-mobile-nav .btn-close {
  box-shadow: none;
}

body[data-shell-theme="midnight"] .shell-mobile-nav .btn-close {
  filter: invert(1) grayscale(100%);
}

.shell-mobile-nav-copy {
  color: var(--shell-text-muted);
  font-size: 0.82rem;
}

.shell-mobile-nav-logo {
  display: block;
  height: auto;
  max-width: 4.7rem;
  width: 100%;
}

.shell-mobile-nav .shell-sidebar-inner {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.shell-card,
.shell-sidebar-card,
.shell-nav-section,
.shell-card-muted {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: 28px;
  box-shadow: var(--shell-shadow);
}

.shell-card-muted {
  background: var(--shell-card-soft);
}

.shell-sidebar-card,
.shell-nav-section,
.shell-card {
  padding: 1.1rem;
}

.shell-eyebrow,
.shell-nav-title,
.dashboard-kpi-label,
.dashboard-kpi-meta,
.mini-stat-card span,
.hero-score-details span,
.progress-stack-item span,
.shell-sidebar-card p,
.side-mini-card span {
  color: var(--shell-text-muted);
}

.shell-eyebrow,
.shell-nav-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.shell-sidebar-card h3,
.dashboard-section-head h3,
.mini-stat-card strong,
.side-mini-card strong {
  font-family: var(--shell-display-font);
}

.shell-sidebar-meta {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.shell-sidebar-meta span {
  align-items: center;
  color: var(--shell-text-muted);
  display: inline-flex;
  gap: 0.45rem;
}

.shell-sidebar-actions {
  display: grid;
  gap: 0.7rem;
}

.shell-sidebar-action.primary {
  background: linear-gradient(135deg, var(--shell-primary), var(--shell-secondary));
  border-color: transparent;
  color: #fff;
  justify-content: center;
}

.shell-sidebar-action {
  justify-content: center;
}

.shell-nav-link {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--shell-text-primary);
  display: flex;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  text-decoration: none;
}

.shell-nav-link i {
  color: var(--shell-primary);
  font-size: 1.1rem;
  flex: 0 0 auto;
}

.shell-nav-link.is-active {
  background: color-mix(in srgb, var(--shell-primary) 11%, transparent 89%);
  border-color: color-mix(in srgb, var(--shell-primary) 18%, transparent 82%);
  color: var(--shell-primary-strong);
}

.shell-app.shell-sidebar-collapsed .shell-sidebar-toolbar {
  justify-content: center;
}

.shell-app.shell-sidebar-collapsed .shell-sidebar-size-toggle {
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(9, 28, 54, 0.08);
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem;
  width: 48px;
}

.shell-app.shell-sidebar-collapsed .shell-sidebar-size-toggle-copy {
  display: none;
}

.shell-app.shell-sidebar-expanded .shell-sidebar-size-toggle {
  width: 100%;
}

.shell-app.shell-sidebar-collapsed .shell-sidebar-card {
  display: none;
}

.shell-app.shell-sidebar-collapsed .shell-nav-section {
  border-radius: 24px;
  padding: 0.7rem;
}

.shell-app.shell-sidebar-collapsed .shell-nav-title {
  display: none;
}

.shell-app.shell-sidebar-collapsed .shell-nav-link {
  gap: 0;
  justify-content: center;
  padding: 0.8rem 0.6rem;
}

.shell-app.shell-sidebar-collapsed .shell-nav-link span {
  display: none;
}

.shell-app.shell-sidebar-collapsed .shell-nav-link i {
  font-size: 1.24rem;
}

.shell-main {
  min-width: 0;
  padding: 0 0 2rem;
}

.shell-main.shell-workspace {
  padding-left: 0;
}

.shell-main.shell-workspace > .col-md-9.ms-sm-auto.col-lg-10 {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: 30px;
  box-shadow: var(--shell-shadow);
  flex: 0 0 100%;
  margin: 0 !important;
  max-width: none;
  padding: 1.35rem !important;
  width: 100%;
}

.shell-main.shell-workspace > .col-md-9.ms-sm-auto.col-lg-10 > .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0;
}

.shell-main.shell-workspace > .col-md-9.ms-sm-auto.col-lg-10 > .row > [class*="col-"],
.shell-main.shell-workspace > .col-md-9.ms-sm-auto.col-lg-10 > [class*="col-"] {
  padding: 0;
}

.shell-main.shell-workspace .page-breadcrumb {
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
}

.shell-page-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.shell-page-copy {
  min-width: 0;
}

.shell-page-title {
  color: var(--shell-text-primary);
  font-family: var(--shell-display-font);
  font-size: clamp(1.55rem, 2vw, 2.35rem);
  font-weight: 700;
  margin: 0;
}

.shell-breadcrumb {
  align-items: center;
  background: color-mix(in srgb, var(--shell-primary) 8%, transparent 92%);
  border: 1px solid color-mix(in srgb, var(--shell-primary) 12%, transparent 88%);
  border-radius: 999px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0;
  padding: 0.45rem 0.8rem;
}

.shell-breadcrumb .breadcrumb-item,
.shell-breadcrumb .breadcrumb-item.active,
.shell-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--shell-text-muted);
}

.shell-breadcrumb .breadcrumb-item a {
  color: var(--shell-primary-strong);
  text-decoration: none;
}

.shell-breadcrumb .breadcrumb-item.active {
  color: var(--shell-text-primary);
  font-weight: 600;
}

.shell-main.shell-workspace form {
  margin-top: 0.5rem;
}

.shell-main.shell-workspace .form-group,
.shell-main.shell-workspace .mb-3 {
  margin-bottom: 1rem !important;
}

.shell-main.shell-workspace .form-label,
.shell-main.shell-workspace label,
.shell-main.shell-workspace .requiredField {
  color: var(--shell-text-muted);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.shell-main.shell-workspace .asteriskField {
  color: var(--shell-danger);
  margin-left: 0.2rem;
}

.shell-main.shell-workspace .form-control,
.shell-main.shell-workspace .form-select,
.shell-main.shell-workspace select,
.shell-main.shell-workspace textarea,
.shell-main.shell-workspace input[type="text"],
.shell-main.shell-workspace input[type="email"],
.shell-main.shell-workspace input[type="number"],
.shell-main.shell-workspace input[type="password"],
.shell-main.shell-workspace input[type="date"],
.shell-main.shell-workspace input[type="datetime-local"],
.shell-main.shell-workspace input[type="search"],
.shell-main.shell-workspace input[type="tel"],
.shell-main.shell-workspace input[type="url"] {
  background: color-mix(in srgb, var(--shell-elevated) 96%, white 4%);
  border: 1px solid var(--shell-border);
  border-radius: 18px;
  box-shadow: none;
  color: var(--shell-text-primary);
  min-height: 50px;
  padding: 0.82rem 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.shell-main.shell-workspace textarea,
.shell-main.shell-workspace textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.shell-main.shell-workspace .form-control:focus,
.shell-main.shell-workspace .form-select:focus,
.shell-main.shell-workspace select:focus,
.shell-main.shell-workspace textarea:focus {
  background: var(--shell-elevated);
  border-color: color-mix(in srgb, var(--shell-primary) 55%, white 45%);
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--shell-primary) 16%, transparent 84%);
}

.shell-main.shell-workspace .helptext,
.shell-main.shell-workspace .form-text,
.shell-main.shell-workspace small {
  color: var(--shell-text-muted);
}

.shell-main.shell-workspace .select2-container {
  width: 100% !important;
}

.shell-main.shell-workspace .select2-container--default .select2-selection--single,
.shell-main.shell-workspace .select2-container--default .select2-selection--multiple {
  background: color-mix(in srgb, var(--shell-elevated) 96%, white 4%);
  border: 1px solid var(--shell-border);
  border-radius: 18px;
  min-height: 50px;
  padding: 0.35rem 0.4rem;
}

.shell-main.shell-workspace .select2-container--default.select2-container--focus .select2-selection--single,
.shell-main.shell-workspace .select2-container--default.select2-container--focus .select2-selection--multiple,
.shell-main.shell-workspace .select2-container--default.select2-container--open .select2-selection--single,
.shell-main.shell-workspace .select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: color-mix(in srgb, var(--shell-primary) 55%, white 45%);
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--shell-primary) 16%, transparent 84%);
}

.shell-main.shell-workspace .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--shell-text-primary);
  line-height: 2.4rem;
  padding-left: 0.75rem;
  padding-right: 2rem;
}

.shell-main.shell-workspace .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 0.85rem;
}

.shell-main.shell-workspace .select2-dropdown {
  border: 1px solid var(--shell-border);
  border-radius: 18px;
  box-shadow: var(--shell-shadow);
  overflow: hidden;
}

.shell-main.shell-workspace .btn,
.shell-main.shell-workspace input[type="submit"],
.shell-main.shell-workspace button[type="submit"] {
  border-radius: 16px;
  font-weight: 600;
  padding: 0.72rem 1rem;
}

.shell-main.shell-workspace .btn-primary,
.shell-main.shell-workspace input.btn-primary,
.shell-main.shell-workspace button.btn-primary,
.shell-main.shell-workspace input[type="submit"] {
  background: linear-gradient(135deg, var(--shell-primary), var(--shell-secondary));
  border-color: transparent;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--shell-primary) 18%, transparent 82%);
}

.shell-main.shell-workspace .btn-secondary {
  background: color-mix(in srgb, var(--shell-elevated) 92%, white 8%);
  border-color: var(--shell-border);
  color: var(--shell-text-primary);
}

.shell-main.shell-workspace .btn-danger {
  background: linear-gradient(135deg, color-mix(in srgb, var(--shell-danger) 94%, white 6%), color-mix(in srgb, var(--shell-danger) 82%, black 18%));
  border-color: transparent;
}

.legacy-action-bar,
#ExtraButtons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

#ExtraButtons .btn-group,
.shell-inline-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#ExtraButtons .btn,
.legacy-action-bar .btn {
  border-radius: 16px !important;
  min-width: 7rem;
}

.shell-main.shell-workspace hr {
  border-color: var(--shell-border);
  margin: 1.25rem 0;
  opacity: 0.75;
}

.shell-main.shell-workspace .dataTables_wrapper {
  margin-top: 0.4rem;
}

.shell-main.shell-workspace .dataTables_length,
.shell-main.shell-workspace .dataTables_filter,
.shell-main.shell-workspace .dataTables_info,
.shell-main.shell-workspace .dataTables_paginate {
  color: var(--shell-text-muted) !important;
  margin-bottom: 0.9rem;
}

.shell-main.shell-workspace .dataTables_filter input,
.shell-main.shell-workspace .dataTables_length select {
  background: color-mix(in srgb, var(--shell-elevated) 96%, white 4%);
  border: 1px solid var(--shell-border);
  border-radius: 14px;
  color: var(--shell-text-primary);
  min-height: 42px;
  padding: 0.55rem 0.8rem;
}

.shell-main.shell-workspace .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--shell-text-primary);
  margin-bottom: 0;
}

.shell-main.shell-workspace .table thead th {
  background: color-mix(in srgb, var(--shell-primary) 8%, transparent 92%);
  border-bottom: 1px solid var(--shell-border);
  color: var(--shell-text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.95rem 0.9rem;
  text-transform: uppercase;
}

.shell-main.shell-workspace .table tbody td {
  border-color: var(--shell-border);
  padding: 0.95rem 0.9rem;
  vertical-align: middle;
}

.shell-main.shell-workspace .table tbody tr:hover {
  background: color-mix(in srgb, var(--shell-primary) 4%, transparent 96%);
}

.shell-main.shell-workspace .table a {
  color: var(--shell-primary-strong);
  font-weight: 600;
  text-decoration: none;
}

.auth-shell {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--shell-secondary) 16%, transparent 84%), transparent 32%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--shell-primary) 16%, transparent 84%), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--shell-bg) 84%, white 16%) 0%, color-mix(in srgb, var(--shell-bg) 74%, white 26%) 100%);
}

.auth-layout {
  min-height: 100vh;
  padding: 1.2rem;
  position: relative;
}

.auth-layout::before {
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--shell-grid-line) 60%, transparent 40%) 1px, transparent 1px),
    linear-gradient(0deg, color-mix(in srgb, var(--shell-grid-line) 50%, transparent 50%) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  position: fixed;
}

.auth-topbar,
.auth-main {
  margin: 0 auto;
  max-width: 1180px;
  position: relative;
  z-index: 1;
}

.auth-topbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.auth-brand {
  align-items: center;
  color: var(--shell-text-primary);
  display: inline-flex;
  gap: 0.9rem;
  text-decoration: none;
}

.auth-brand:hover {
  color: var(--shell-primary);
}

.auth-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--shell-primary), var(--shell-secondary));
  border-radius: 18px;
  box-shadow: 0 18px 32px color-mix(in srgb, var(--shell-primary) 24%, transparent 76%);
  color: #fff;
  display: inline-flex;
  font-family: var(--shell-display-font);
  font-size: 1.05rem;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.auth-brand-name,
.auth-brand-subtitle {
  display: block;
}

.auth-brand-name {
  font-family: var(--shell-display-font);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.auth-brand-subtitle {
  color: var(--shell-text-muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.auth-language-form {
  align-items: center;
  background: color-mix(in srgb, var(--shell-elevated) 88%, transparent 12%);
  border: 1px solid var(--shell-border);
  border-radius: 18px;
  box-shadow: var(--shell-shadow);
  display: inline-flex;
  gap: 0.65rem;
  padding: 0.65rem;
}

.auth-language-form .form-select {
  background: color-mix(in srgb, var(--shell-elevated) 96%, white 4%);
  border: 1px solid var(--shell-border);
  border-radius: 14px;
  color: var(--shell-text-primary);
  min-width: 11rem;
}

.auth-language-form .btn {
  border-radius: 14px;
  font-weight: 600;
  padding-inline: 1rem;
}

.auth-language-form .btn-outline-primary {
  border-color: color-mix(in srgb, var(--shell-primary) 28%, transparent 72%);
  color: var(--shell-primary-strong);
}

.auth-language-form .btn-outline-primary:hover,
.auth-language-form .btn-outline-primary:focus {
  background: color-mix(in srgb, var(--shell-primary) 10%, transparent 90%);
  border-color: color-mix(in srgb, var(--shell-primary) 34%, transparent 66%);
  color: var(--shell-primary-strong);
}

.auth-main {
  align-items: stretch;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
}

.auth-panel,
.auth-card {
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--shell-elevated) 88%, transparent 12%);
  border: 1px solid var(--shell-border);
  border-radius: 30px;
  box-shadow: var(--shell-shadow);
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.auth-card-panel {
  align-items: stretch;
  display: flex;
}

.auth-card {
  margin-left: auto;
  max-width: 41rem;
  padding: 2rem;
  width: 100%;
}

.auth-card.is-wide {
  max-width: 49rem;
}

.auth-form-section {
  margin-bottom: 0.25rem;
}

.auth-eyebrow,
.auth-section-kicker {
  color: var(--shell-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.auth-title,
.auth-card-title,
.auth-section-title {
  color: var(--shell-text-primary);
  font-family: var(--shell-display-font);
  font-weight: 700;
  margin: 0;
}

.auth-title {
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  line-height: 1.05;
  max-width: 10ch;
}

.auth-card-title {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.1;
}

.auth-section-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.auth-copy {
  color: var(--shell-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 1rem 0 0;
  max-width: 34rem;
}

.auth-feature-list {
  display: grid;
  gap: 0.95rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.auth-feature-list li {
  align-items: flex-start;
  display: flex;
  gap: 0.85rem;
}

.auth-feature-list i {
  align-items: center;
  background: color-mix(in srgb, var(--shell-primary) 12%, transparent 88%);
  border-radius: 14px;
  color: var(--shell-primary);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.1rem;
  height: 2.4rem;
  justify-content: center;
  width: 2.4rem;
}

.auth-feature-list span {
  color: var(--shell-text-primary);
  line-height: 1.65;
}

.auth-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.auth-metric {
  align-items: center;
  background: color-mix(in srgb, var(--shell-primary) 8%, transparent 92%);
  border: 1px solid color-mix(in srgb, var(--shell-primary) 12%, transparent 88%);
  border-radius: 999px;
  color: var(--shell-primary-strong);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
}

.auth-divider {
  border-color: var(--shell-border);
  margin: 1.4rem 0;
  opacity: 0.85;
}

.auth-form,
.auth-card form {
  margin-top: 0.4rem;
}

.auth-form .form-group,
.auth-form .mb-3 {
  margin-bottom: 1rem !important;
}

.auth-form .form-label,
.auth-form label,
.auth-form .requiredField {
  color: var(--shell-text-muted);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.auth-form .asteriskField {
  color: var(--shell-danger);
  margin-left: 0.2rem;
}

.auth-form .form-control,
.auth-form .form-select,
.auth-form select,
.auth-form textarea,
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="number"],
.auth-form input[type="password"],
.auth-form input[type="date"],
.auth-form input[type="datetime-local"],
.auth-form input[type="search"],
.auth-form input[type="tel"],
.auth-form input[type="url"] {
  background: color-mix(in srgb, var(--shell-elevated) 96%, white 4%);
  border: 1px solid var(--shell-border);
  border-radius: 18px;
  box-shadow: none;
  color: var(--shell-text-primary);
  min-height: 50px;
  padding: 0.82rem 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.auth-form textarea,
.auth-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  background: var(--shell-elevated);
  border-color: color-mix(in srgb, var(--shell-primary) 55%, white 45%);
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--shell-primary) 16%, transparent 84%);
}

.auth-form .helptext,
.auth-form .form-text,
.auth-form small,
.auth-card .text-muted {
  color: var(--shell-text-muted) !important;
}

.auth-form .btn,
.auth-form input[type="submit"],
.auth-form button[type="submit"],
.auth-language-form .btn {
  border-radius: 16px;
  font-weight: 600;
  padding: 0.78rem 1rem;
}

.auth-form .btn-primary,
.auth-form input.btn-primary,
.auth-form button.btn-primary,
.auth-form input[type="submit"] {
  background: linear-gradient(135deg, var(--shell-primary), var(--shell-secondary));
  border-color: transparent;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--shell-primary) 18%, transparent 82%);
}

.auth-form .btn-secondary {
  background: color-mix(in srgb, var(--shell-elevated) 92%, white 8%);
  border-color: var(--shell-border);
  color: var(--shell-text-primary);
}

.auth-card .alert {
  border-radius: 18px;
  margin-bottom: 1rem;
}

.auth-link-row {
  color: var(--shell-text-muted);
  margin-top: 1.3rem;
}

.auth-link-row a {
  color: var(--shell-primary-strong);
  font-weight: 600;
  text-decoration: none;
}

.auth-secondary-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: space-between;
  margin-top: 1rem;
}

.auth-secondary-link {
  color: var(--shell-primary-strong);
  font-weight: 700;
  text-decoration: none;
}

.auth-secondary-copy,
.auth-support-note {
  color: var(--shell-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.auth-secondary-copy a,
.auth-support-note a {
  color: var(--shell-primary-strong);
  font-weight: 600;
  text-decoration: none;
}

.auth-trust-band,
.workspace-form-shell-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.auth-trust-band span,
.workspace-form-shell-pill {
  align-items: center;
  background: color-mix(in srgb, var(--shell-primary) 8%, transparent 92%);
  border: 1px solid color-mix(in srgb, var(--shell-primary) 12%, transparent 88%);
  border-radius: 999px;
  color: var(--shell-primary-strong);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.45rem;
  padding: 0.5rem 0.82rem;
}

.auth-status-grid {
  display: grid;
  gap: 0.85rem;
}

.auth-status-card {
  background: color-mix(in srgb, var(--shell-elevated) 96%, white 4%);
  border: 1px solid var(--shell-border);
  border-radius: 18px;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
}

.auth-status-card strong {
  color: var(--shell-text-primary);
  font-size: 0.92rem;
}

.auth-status-card span {
  color: var(--shell-text-muted);
  line-height: 1.6;
}

.auth-card-footer,
.auth-inline-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.password-visibility-group {
  align-items: center;
  display: flex;
  position: relative;
}

.password-visibility-group .form-control,
.password-visibility-group input {
  padding-right: 3.6rem !important;
}

.password-visibility-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--shell-text-muted);
  display: inline-flex;
  height: 2.4rem;
  justify-content: center;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease;
  width: 2.4rem;
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus-visible {
  background: color-mix(in srgb, var(--shell-primary) 10%, transparent 90%);
  color: var(--shell-primary-strong);
  outline: none;
}

.password-strength-meter {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.password-strength-meter-track {
  background: color-mix(in srgb, var(--shell-border) 70%, transparent 30%);
  border-radius: 999px;
  height: 0.5rem;
  overflow: hidden;
}

.password-strength-meter-fill {
  background: linear-gradient(90deg, #f97316, #facc15);
  border-radius: inherit;
  height: 100%;
  transition: width 220ms ease, background 220ms ease;
  width: 0;
}

.password-strength-meter-label {
  color: var(--shell-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.password-strength-meter.is-weak .password-strength-meter-fill {
  background: linear-gradient(90deg, #ef4444, #f97316);
  width: 25%;
}

.password-strength-meter.is-fair .password-strength-meter-fill {
  background: linear-gradient(90deg, #f97316, #facc15);
  width: 50%;
}

.password-strength-meter.is-good .password-strength-meter-fill {
  background: linear-gradient(90deg, #2563eb, #22c55e);
  width: 75%;
}

.password-strength-meter.is-strong .password-strength-meter-fill {
  background: linear-gradient(90deg, #16a34a, #0f766e);
  width: 100%;
}

.workspace-form-shell {
  margin-bottom: 1.4rem;
}

.workspace-form-shell-grid {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
}

.workspace-form-shell-side {
  display: grid;
  gap: 1.15rem;
  position: sticky;
  top: 5.5rem;
}

.workspace-form-shell-main {
  padding: clamp(1.15rem, 2vw, 1.7rem);
}

.workspace-form-shell-kicker,
.workspace-form-kicker {
  color: var(--shell-primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.workspace-form-shell-title,
.workspace-form-title {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0.15rem 0 0;
}

.workspace-form-shell-copy,
.workspace-form-copy {
  color: var(--shell-text-muted);
  line-height: 1.7;
  margin: 0;
}

.workspace-form-shell-note {
  background: color-mix(in srgb, var(--shell-primary) 6%, transparent 94%);
  border: 1px solid color-mix(in srgb, var(--shell-primary) 14%, transparent 86%);
  border-radius: 22px;
  color: var(--shell-text-primary);
  padding: 1rem 1.05rem;
}

.workspace-form-shell-note strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}

.workspace-form-shell-note p {
  color: var(--shell-text-muted);
  line-height: 1.7;
}

.workspace-form-intro {
  display: grid;
  gap: 0.35rem;
}

.workspace-form-divider {
  border-color: var(--shell-border);
  margin: 1rem 0 1.25rem;
  opacity: 0.85;
}

.premium-form {
  display: block;
  width: 100%;
}

.premium-form-stack {
  display: grid;
  gap: 1rem;
}

.premium-form-stack--tabs {
  gap: 1.1rem;
}

.premium-form-row {
  --bs-gutter-y: 0;
}

.premium-form-section {
  background: color-mix(in srgb, var(--shell-elevated) 96%, white 4%);
  border: 1px solid var(--shell-border);
  border-radius: 24px;
  box-shadow: 0 18px 32px rgba(9, 28, 54, 0.06);
  overflow: hidden;
}

.premium-form-section-head {
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--shell-primary) 11%, transparent 89%), color-mix(in srgb, var(--shell-secondary) 10%, transparent 90%));
  border-bottom: 1px solid color-mix(in srgb, var(--shell-primary) 12%, transparent 88%);
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.15rem;
}

.premium-form-section-title {
  font-family: var(--shell-display-font);
  font-size: 1rem;
  margin: 0;
}

.premium-form-section-body {
  padding: 1.05rem 1.15rem 1.2rem;
}

.premium-field {
  display: grid;
}

.premium-help-text {
  line-height: 1.65;
  margin-top: 0.45rem;
}

.premium-field-errors {
  color: var(--shell-danger);
  display: grid;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.45rem;
}

.premium-form .premium-action-button,
.premium-form .premium-inline-button {
  align-items: center;
  border-radius: 16px;
  display: inline-flex;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
}

.premium-form .premium-action-button {
  margin-right: 0.75rem;
  margin-top: 0.85rem;
  min-width: 10.5rem;
  padding: 0.8rem 1rem;
}

.premium-form .premium-inline-button {
  margin-top: 0;
  min-width: 3rem;
  padding: 0.82rem 1rem;
}

.premium-input-group {
  align-items: stretch;
  display: flex;
  gap: 0.65rem;
}

.premium-input-group > .form-control,
.premium-input-group > .form-select,
.premium-input-group > select,
.premium-input-group > textarea,
.premium-input-group > input {
  flex: 1 1 auto;
}

.premium-choice-card {
  background: color-mix(in srgb, var(--shell-primary) 6%, transparent 94%);
  border: 1px solid color-mix(in srgb, var(--shell-primary) 12%, transparent 88%);
  border-radius: 18px;
  padding: 0.9rem 1rem;
}

.premium-toggle {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin: 0;
}

.premium-toggle span {
  color: var(--shell-text-primary);
  font-weight: 600;
}

.premium-group-label {
  color: var(--shell-text-muted);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.premium-choice-list > div,
.premium-choice-list ul,
.premium-choice-list li {
  display: grid;
  gap: 0.7rem;
}

.premium-choice-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.premium-choice-list label {
  align-items: center;
  background: color-mix(in srgb, var(--shell-elevated) 94%, white 6%);
  border: 1px solid var(--shell-border);
  border-radius: 16px;
  color: var(--shell-text-primary);
  display: flex;
  gap: 0.7rem;
  margin: 0;
  padding: 0.8rem 0.9rem;
}

.premium-check-input {
  margin-top: 0;
}

.premium-form-alert {
  border-radius: 18px;
  margin-bottom: 1rem;
}

.premium-search-form {
  background: color-mix(in srgb, var(--shell-elevated) 94%, white 6%);
  border: 1px solid var(--shell-border);
  border-radius: 24px;
  box-shadow: 0 16px 30px rgba(9, 28, 54, 0.05);
  margin-bottom: 1.15rem;
  padding: 1rem 1.05rem;
}

.premium-search-form .premium-action-button {
  margin-top: 0.55rem;
}

.modal .premium-form-section {
  border-radius: 20px;
  box-shadow: none;
}

.modal .premium-form-section-body {
  padding: 0.95rem 1rem 1rem;
}
.workspace-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.workspace-form-actions .btn {
  border-radius: 16px;
  font-weight: 700;
  padding: 0.8rem 1rem;
}

.workspace-premium-form .accordion-item {
  background: color-mix(in srgb, var(--shell-elevated) 96%, white 4%);
  border: 1px solid var(--shell-border);
  border-radius: 22px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.workspace-premium-form .accordion-button {
  background: transparent;
  color: var(--shell-text-primary);
  font-weight: 700;
  padding: 1rem 1.1rem;
}

.workspace-premium-form .accordion-button:not(.collapsed) {
  background: color-mix(in srgb, var(--shell-primary) 9%, transparent 91%);
  box-shadow: none;
  color: var(--shell-primary-strong);
}

.workspace-premium-form .accordion-button:focus {
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--shell-primary) 16%, transparent 84%);
}

.workspace-premium-form .accordion-body {
  padding: 1rem 1.1rem 1.2rem;
}

.dashboard-home {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dashboard-hero {
  align-items: center;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  overflow: hidden;
  position: relative;
}

.dashboard-hero::before {
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--shell-primary) 18%, transparent 82%), transparent 46%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.dashboard-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.45rem;
  position: relative;
}

.dashboard-subtitle {
  color: var(--shell-text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
  max-width: 52rem;
  position: relative;
}

.dashboard-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  position: relative;
}

.dashboard-hero-panel {
  align-items: center;
  background: var(--shell-card-soft);
  border: 1px solid var(--shell-border);
  border-radius: 24px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 140px 1fr;
  padding: 1rem;
  position: relative;
}

.hero-score-ring {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(closest-side, var(--shell-elevated) 78%, transparent 80% 100%),
    conic-gradient(var(--shell-primary) calc(var(--score) * 1%), color-mix(in srgb, var(--shell-primary) 10%, transparent 90%) 0);
  border-radius: 50%;
  display: grid;
  justify-items: center;
}

.hero-score-ring span,
.hero-score-ring strong {
  display: block;
  text-align: center;
}

.hero-score-ring span {
  color: var(--shell-text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero-score-ring strong {
  font-size: 1.7rem;
}

.hero-score-details {
  display: grid;
  gap: 0.75rem;
}

.hero-score-details strong {
  display: block;
  font-size: 1rem;
}

.dashboard-kpi-grid,
.dashboard-mini-grid {
  display: grid;
  gap: 1rem;
}

.dashboard-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-mini-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dashboard-kpi-card {
  display: grid;
  gap: 1rem;
  grid-template-columns: 62px 1fr auto;
  min-height: 172px;
}

.dashboard-kpi-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.dashboard-kpi-icon {
  align-items: center;
  border-radius: 20px;
  color: #fff;
  display: inline-flex;
  font-size: 1.7rem;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.dashboard-kpi-card.tone-emerald .dashboard-kpi-icon { background: linear-gradient(135deg, #0f6cbd, #17b890); }
.dashboard-kpi-card.tone-cyan .dashboard-kpi-icon { background: linear-gradient(135deg, #1488cc, #2bcbba); }
.dashboard-kpi-card.tone-violet .dashboard-kpi-icon { background: linear-gradient(135deg, #6852d6, #8a6dff); }
.dashboard-kpi-card.tone-amber .dashboard-kpi-icon { background: linear-gradient(135deg, #f1a42b, #d76a1d); }

.dashboard-kpi-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.dashboard-kpi-meta {
  font-size: 0.82rem;
  margin-bottom: 0;
}

.mini-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 138px;
}

.mini-stat-card strong {
  font-size: 1.45rem;
}

.mini-stat-card small,
.side-mini-card small,
.dashboard-watchlist small {
  color: var(--shell-text-soft);
}

.dashboard-chart-card,
.dashboard-table-card,
.dashboard-actions-card,
.dashboard-side-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-chart-frame {
  flex: 1 1 auto;
  height: 320px;
  min-height: 320px;
  position: relative;
}

.dashboard-chart-frame canvas {
  display: block;
  height: 100% !important;
  max-height: 100%;
  min-height: 0;
  width: 100% !important;
}

.dashboard-section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.dashboard-section-head h3 {
  font-size: 1.18rem;
  margin: 0;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-feed.compact {
  gap: 0.75rem;
}

.activity-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--shell-border);
  border-radius: 1.1rem;
  background: color-mix(in srgb, var(--shell-card-soft) 82%, transparent 18%);
}

.activity-feed.compact .activity-row {
  padding: 0.85rem 1rem;
}

.activity-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--chart-primary-soft) 68%, white 32%);
  color: var(--shell-primary);
  font-size: 1.1rem;
}

.activity-copy {
  min-width: 0;
}

.activity-copy strong,
.activity-copy p,
.activity-copy small,
.activity-aside strong,
.activity-aside small,
.insight-row strong,
.insight-row small,
.dashboard-data-row strong,
.dashboard-data-row small {
  display: block;
}

.activity-copy p {
  margin: 0.2rem 0 0.25rem;
  color: var(--shell-text-muted);
}

.activity-copy small,
.activity-aside small,
.insight-row small,
.dashboard-data-row small {
  color: var(--shell-text-soft);
}

.activity-aside {
  min-width: 6rem;
  text-align: right;
}

.insight-stack,
.dashboard-data-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.insight-row,
.dashboard-data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--shell-border);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--shell-card-soft) 86%, transparent 14%);
}

.insight-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.insight-badge {
  background: color-mix(in srgb, var(--chart-primary-soft) 78%, white 22%);
  color: var(--shell-primary-strong);
}

.status-pill.tone-danger {
  background: rgba(224, 108, 95, 0.14);
  color: #a33d32;
}

.status-pill.tone-amber {
  background: rgba(244, 185, 66, 0.18);
  color: #9a6406;
}

.status-pill.tone-emerald {
  background: rgba(23, 184, 144, 0.16);
  color: #0d7c61;
}

.dashboard-action-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.dashboard-media-card {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.dashboard-media-card img,
.product-visual-fallback {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1.15rem;
  object-fit: cover;
}

.product-visual-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--chart-primary-soft), rgba(23, 184, 144, 0.2));
  color: var(--shell-primary-strong);
  font-size: 2rem;
}

.dashboard-property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.dashboard-property {
  padding: 0.95rem 1rem;
  border: 1px solid var(--shell-border);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--shell-card-soft) 86%, transparent 14%);
}

.dashboard-property span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--shell-text-soft);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-property strong {
  display: block;
  word-break: break-word;
}

.pos-frontdesk-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pos-frontdesk-toolbar {
  display: flex;
  gap: 0.75rem;
}

.pos-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.pos-product-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--shell-border);
  border-radius: 1.15rem;
  background: color-mix(in srgb, var(--shell-card-soft) 82%, transparent 18%);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pos-product-card:hover {
  border-color: var(--shell-primary);
  box-shadow: 0 14px 30px rgba(15, 108, 189, 0.12);
  transform: translateY(-2px);
}

.pos-product-card strong {
  font-size: 1rem;
}

.pos-product-card small,
.pos-product-card p {
  color: var(--shell-text-muted);
  margin: 0;
}

.pos-product-type {
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--chart-primary-soft) 76%, white 24%);
  color: var(--shell-primary-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pos-product-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--shell-text-soft);
}

.pos-cart-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 12rem;
}

.pos-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--shell-border);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--shell-card-soft) 84%, transparent 16%);
}

.pos-cart-row strong,
.pos-cart-row small {
  display: block;
}

.pos-cart-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pos-cart-summary {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.pos-cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 0.95rem;
  background: color-mix(in srgb, var(--shell-card-soft) 80%, transparent 20%);
}

.dashboard-side-grid,
.quick-action-grid {
  display: grid;
  gap: 0.85rem;
}

.dashboard-side-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.side-mini-card {
  min-height: 104px;
}

.side-mini-card strong {
  font-size: 1.25rem;
}

.quick-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-action-tile {
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
}

.quick-action-tile i {
  color: var(--shell-primary);
  font-size: 1.5rem;
}

.progress-stack {
  display: grid;
  gap: 0.9rem;
}

.progress-stack-item {
  display: grid;
  gap: 0.45rem;
}

.shell-progress {
  background: color-mix(in srgb, var(--shell-primary) 8%, transparent 92%);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.shell-progress .progress-bar {
  border-radius: 999px;
}

.dashboard-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--shell-border);
  --bs-table-color: var(--shell-text-primary);
  margin-top: 0.25rem;
}

.dashboard-table thead th {
  color: var(--shell-text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table-empty,
.watchlist-empty {
  color: var(--shell-text-soft);
  padding: 1rem 0.2rem !important;
}

.dashboard-watchlist {
  display: grid;
  gap: 0.8rem;
}

.dashboard-watchlist li {
  align-items: center;
  background: var(--shell-card-soft);
  border: 1px solid var(--shell-border);
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 1rem;
}

canvas {
  width: 100% !important;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--shell-text-soft) 12%, transparent 88%);
}

::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--shell-primary) 40%, transparent 60%);
  border-radius: 999px;
}

@media (max-width: 1399.98px) {
  .dashboard-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .shell-header {
    align-items: center;
    flex-wrap: nowrap;
  }

  .shell-brand-wrap {
    flex: 0 1 26rem;
  }

  .shell-toolbar {
    flex: 1 1 auto;
    justify-content: flex-end;
    overflow: visible;
    white-space: nowrap;
  }

  .shell-menu,
  .shell-toolbar-btn,
  .shell-user-button {
    max-width: 100%;
  }

  .workspace-switcher .shell-toolbar-btn {
    max-width: min(100%, 22rem);
  }
}

@media (max-width: 1199.98px) {
  .shell-header {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .shell-brand-wrap {
    flex: 1 0 100%;
    justify-content: space-between;
    width: 100%;
  }

  .shell-layout {
    grid-template-columns: 1fr;
  }

  .shell-toolbar {
    flex-wrap: nowrap;
    gap: 0.55rem;
    justify-content: flex-start;
    margin-left: 0 !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.2rem;
    width: 100%;
  }

  .shell-header.shell-menu-open,
  .shell-header.shell-menu-open .shell-brand-wrap,
  .shell-header.shell-menu-open .shell-toolbar {
    overflow: visible;
  }

  .shell-header.shell-menu-open .shell-toolbar {
    flex-wrap: wrap;
    white-space: normal;
  }

  .shell-toolbar > * {
    flex: 0 0 auto;
  }

  .shell-toolbar::-webkit-scrollbar {
    display: none;
  }

  .dashboard-kpi-grid,
  .dashboard-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-media-card,
  .dashboard-property-grid,
  .pos-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .shell-app {
    padding: 0.95rem 0.85rem 1.5rem;
  }

  .shell-loader-panel {
    border-radius: 24px;
    padding: 1.25rem 1.1rem;
  }

  .shell-loader-infinity {
    max-width: 11rem;
  }

  .shell-main {
    padding: 0 0 1rem;
  }

  .shell-main.shell-workspace > .col-md-9.ms-sm-auto.col-lg-10 {
    border-radius: 24px;
    padding: 1rem !important;
  }

  .dashboard-kpi-grid,
  .dashboard-mini-grid,
  .dashboard-side-grid,
  .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-chart-frame {
    height: 280px;
    min-height: 280px;
  }

  .dashboard-kpi-card {
    grid-template-columns: 52px 1fr;
  }

  .dashboard-trend {
    justify-self: start;
  }

  .shell-header {
    padding: 0.75rem 0.9rem;
  }

  .shell-brand-wrap {
    gap: 0.75rem;
  }

  .shell-toolbar {
    gap: 0.5rem;
  }

  .dashboard-hero-panel {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .activity-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .activity-aside {
    grid-column: 2;
    text-align: left;
  }

  .insight-row,
  .dashboard-data-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .shell-page-head {
    flex-direction: column;
  }

  .dashboard-watchlist li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .auth-layout {
    padding: 0.95rem;
  }

  .auth-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-main {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    order: 2;
  }

  .auth-card {
    margin-left: 0;
    max-width: none;
  }

  .auth-language-form {
    width: 100%;
  }

  .workspace-form-shell-grid {
    grid-template-columns: 1fr;
  }

  .workspace-form-shell-side {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .shell-dropdown-menu.shell-dropdown-floating {
    left: 0.9rem !important;
    right: 0.9rem !important;
    width: auto !important;
  }

  .shell-brand-logo {
    max-width: min(4.4rem, 21vw);
    width: min(4.4rem, 21vw);
  }

  .shell-brand-subtitle {
    max-width: 11rem;
  }

  .shell-mobile-toggle {
    padding: 0.48rem 0.58rem;
  }

  .shell-toolbar-btn,
  .shell-user-button {
    border-radius: 14px;
    justify-content: center;
    padding: 0.68rem 0.78rem;
  }

  .shell-toolbar-btn span {
    display: none;
  }

  .shell-user-meta {
    display: none !important;
  }

  .auth-language-form {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-language-form .form-select,
  .auth-language-form .btn {
    width: 100%;
  }

  .auth-secondary-actions {
    align-items: flex-start;
    flex-direction: column;
  }

.workspace-form-actions {
    flex-direction: column;
  }

  .workspace-form-actions .btn {
    width: 100%;
  }
}




.report-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
}

.report-hero-stat {
  min-width: 11rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(18, 28, 45, 0.08);
  text-align: center;
}

.report-hero-stat span,
.report-card-metrics span,
.report-table-meta span,
.report-section-copy,
.report-card-copy {
  color: var(--shell-muted);
}

.report-hero-stat strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 2rem;
}

.report-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.report-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.report-card-topline,
.report-table-header,
.report-section-header,
.report-export-actions,
.report-filter-form,
.report-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.report-card-topline,
.report-table-header,
.report-section-header {
  justify-content: space-between;
}

.report-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 96, 91, 0.1);
  color: var(--shell-primary);
  font-size: 1.25rem;
}

.report-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.report-card-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--shell-muted);
}

.report-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.report-card-metrics strong {
  display: block;
  margin-top: 0.25rem;
}

.report-card-link {
  margin-top: auto;
  justify-content: center;
}

.report-filter-card {
  padding: 1.5rem;
}

.report-filter-form {
  flex-wrap: wrap;
  align-items: end;
}

.report-filter-field {
  min-width: 11rem;
  flex: 1 1 11rem;
}

.report-filter-search {
  flex: 2 1 18rem;
}

.report-filter-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--shell-muted);
}

.report-filter-field input {
  width: 100%;
  min-height: 3rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(18, 28, 45, 0.12);
  background: rgba(255, 255, 255, 0.84);
  padding: 0.8rem 1rem;
}

.report-filter-actions {
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.report-table-card {
  padding: 1.5rem;
}

.report-table-meta {
  text-align: right;
}

.report-table-meta strong {
  display: block;
  font-size: 1.2rem;
}

.report-table-note {
  margin: 0.9rem 0 1rem;
  color: var(--shell-muted);
}

.report-table-wrap {
  border-radius: 1rem;
  border: 1px solid rgba(18, 28, 45, 0.08);
  overflow: hidden;
}

.report-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--shell-muted);
  background: rgba(18, 28, 45, 0.04);
}

.report-table tbody td {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.report-empty-state {
  padding: 2rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .report-hero,
  .report-table-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-export-actions,
  .report-filter-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .report-card-metrics {
    grid-template-columns: 1fr;
  }
}
