/* DevDeBizz app shell — admin + client dashboard */

.shell-body {
  background: var(--shell-bg);
  color: var(--shell-text);
  min-height: 100vh;
}

.shell-layout {
  display: flex;
  min-height: 100vh;
}

.shell-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 4.25rem;
  flex-shrink: 0;
  background: var(--shell-sidebar-bg);
  border-right: 1px solid var(--shell-border);
  transition: width 0.22s ease, transform 0.22s ease;
  overflow: hidden;
  z-index: 40;
  display: flex;
  flex-direction: column;
}

.shell-sidebar.is-expanded {
  width: 15rem;
}

.shell-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 4rem;
  padding: 0 0.875rem;
  border-bottom: 1px solid var(--shell-border);
  white-space: nowrap;
  flex-shrink: 0;
}

.shell-sidebar-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  margin: 0 -0.375rem;
  padding: 0.375rem;
  border-radius: 0.625rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.shell-sidebar-brand-link:hover {
  background: var(--shell-sidebar-hover);
}

.shell-sidebar-brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: var(--shell-primary);
  color: var(--shell-button-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--shell-primary) 25%, transparent);
}

.shell-sidebar-brand-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.15s ease;
  font-weight: 600;
  color: var(--shell-text);
}

.shell-sidebar.is-expanded .shell-sidebar-brand-text {
  opacity: 1;
  width: auto;
}

.shell-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  flex: 1;
  overflow-y: auto;
}

.shell-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.875rem;
  color: var(--shell-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.shell-nav-link:hover {
  color: var(--shell-text);
}

.shell-nav-link:hover .shell-nav-icon-wrap {
  background: var(--shell-sidebar-hover);
  color: var(--shell-primary);
}

.shell-nav-link.is-active {
  color: var(--shell-accent);
}

.shell-nav-link.is-active .shell-nav-icon-wrap {
  background: var(--shell-accent-soft);
  color: var(--shell-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--shell-accent) 20%, transparent);
}

.shell-nav-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
  color: inherit;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.shell-nav-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.shell-nav-label {
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.15s ease;
}

.shell-sidebar.is-expanded .shell-nav-label {
  opacity: 1;
  width: auto;
}

.shell-sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--shell-border);
  padding: 0.5rem;
}

.shell-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-left: 4.25rem;
  transition: margin-left 0.22s ease;
}

.shell-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.75rem 1rem;
  background: var(--shell-topbar-bg);
  border-bottom: 1px solid var(--shell-border);
}

@media (min-width: 768px) {
  .shell-topbar {
    padding: 0.75rem 1.5rem;
  }
}

.shell-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.shell-topbar-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--shell-topbar-text);
}

@media (min-width: 768px) {
  .shell-topbar-title {
    font-size: 1.25rem;
  }
}

.shell-topbar-subtitle {
  font-size: 0.8125rem;
  color: var(--shell-muted);
  margin-top: 0.125rem;
}

.shell-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.shell-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--shell-border);
  background: var(--shell-surface);
  color: var(--shell-text);
  cursor: pointer;
}

@media (min-width: 768px) {
  .shell-menu-btn {
    display: none;
  }
}

.shell-content {
  flex: 1;
  padding: 1rem;
}

@media (min-width: 768px) {
  .shell-content {
    padding: 1.5rem;
  }
}

.shell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 0.625rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.shell-btn-primary {
  background: var(--shell-button-bg);
  color: var(--shell-button-text);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--shell-button-bg) 30%, transparent);
}

.shell-btn-primary:hover {
  background: var(--shell-button-bg-hover);
}

.shell-btn-secondary {
  background: var(--shell-surface);
  color: var(--shell-text);
  border: 1px solid var(--shell-border);
}

.shell-btn-secondary:hover {
  background: color-mix(in srgb, var(--shell-primary) 10%, white);
  color: var(--shell-primary);
  border-color: color-mix(in srgb, var(--shell-primary) 28%, var(--shell-border));
}

.shell-card {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: 0.875rem;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--shell-border) 65%, transparent);
}

.shell-table {
  width: 100%;
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: 0.875rem;
  overflow: hidden;
  font-size: 0.875rem;
  border-collapse: separate;
  border-spacing: 0;
}

.shell-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--shell-border);
  border-radius: 1rem;
  background: var(--shell-surface);
  box-shadow: var(--shell-shadow-sm, 0 1px 2px color-mix(in srgb, var(--shell-border) 65%, transparent));
}

.shell-table-wrap .shell-table {
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-width: 100%;
}

.shell-table thead {
  background: var(--shell-table-header);
  text-align: left;
}

.shell-table th {
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell-muted);
  border-bottom: 1px solid var(--shell-border);
  white-space: nowrap;
}

.shell-table td {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--shell-border);
  vertical-align: middle;
}

.shell-table tbody tr:first-child td {
  border-top: none;
}

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

.shell-th-actions,
.shell-table td:has(.shell-row-actions) {
  text-align: right;
}

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

.shell-td-muted {
  color: var(--shell-muted);
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell-td-nowrap {
  white-space: nowrap;
}

.shell-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: flex-end;
  align-items: center;
}

.shell-row-actions form,
.shell-row-actions .button_to {
  display: inline;
  margin: 0;
  padding: 0;
}

.shell-row-actions button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.shell-link {
  color: var(--shell-link);
  text-decoration: none;
  font-weight: 600;
}

.shell-link:hover {
  color: var(--shell-primary-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shell-link--danger {
  color: #dc2626;
}

.shell-link--danger:hover {
  color: #b91c1c;
}

.shell-muted {
  color: var(--shell-muted);
}

.shell-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25rem;
  white-space: nowrap;
}

.shell-badge--pending {
  background: color-mix(in srgb, #f59e0b 18%, var(--shell-surface));
  color: #b45309;
}

.shell-badge--running {
  background: color-mix(in srgb, #3b82f6 18%, var(--shell-surface));
  color: #1d4ed8;
}

.shell-badge--scheduled {
  background: color-mix(in srgb, #8b5cf6 18%, var(--shell-surface));
  color: #6d28d9;
}

.shell-badge--blocked {
  background: color-mix(in srgb, #64748b 18%, var(--shell-surface));
  color: #334155;
}

.shell-badge--failed {
  background: color-mix(in srgb, #ef4444 18%, var(--shell-surface));
  color: #b91c1c;
}

.shell-badge--finished,
.shell-badge--success,
.shell-badge--completed {
  background: color-mix(in srgb, #22c55e 18%, var(--shell-surface));
  color: #15803d;
}

.shell-badge--muted,
.shell-badge--cancelled {
  background: color-mix(in srgb, var(--shell-muted) 14%, var(--shell-surface));
  color: var(--shell-muted);
}

.shell-badge--pending {
  background: color-mix(in srgb, #f59e0b 18%, var(--shell-surface));
  color: #b45309;
}

.shell-badge--confirmed {
  background: color-mix(in srgb, #3b82f6 18%, var(--shell-surface));
  color: #1d4ed8;
}

.shell-reject-details {
  display: inline-block;
}

.shell-reject-details summary {
  cursor: pointer;
  list-style: none;
}

.shell-reject-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  min-width: 14rem;
}

.shell-badge--unknown {
  background: var(--shell-sidebar-hover);
  color: var(--shell-muted);
}

.shell-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--shell-muted);
  border: 1px solid var(--shell-border);
  background: var(--shell-surface);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shell-filter-tab:hover {
  color: #fff;
  background: var(--shell-primary);
  border-color: var(--shell-primary);
}

.shell-filter-tab:hover .shell-filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.shell-filter-tab.is-active {
  color: #fff;
  background: #081849;
  border-color: #081849;
}

.shell-filter-tab.is-active .shell-filter-count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.shell-filter-count {
  display: inline-flex;
  min-width: 1.25rem;
  justify-content: center;
  padding: 0 0.375rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.shell-code-block {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--shell-border) 25%, var(--shell-surface));
  border: 1px solid var(--shell-border);
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.shell-code-inline {
  display: inline-block;
  max-width: 100%;
  padding: 0.2rem 0.45rem;
  border-radius: 0.375rem;
  background: color-mix(in srgb, var(--shell-border) 25%, var(--shell-surface));
  border: 1px solid var(--shell-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
  line-height: 1.4;
  word-break: break-all;
}

.shell-code-block--error {
  border-color: color-mix(in srgb, #ef4444 40%, var(--shell-border));
  background: color-mix(in srgb, #ef4444 8%, var(--shell-surface));
  color: #991b1b;
}

.shell-text {
  color: var(--shell-text);
}

.shell-form {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: 0.875rem;
  padding: 1.5rem;
}

.shell-input {
  width: 100%;
  border: 1px solid var(--shell-border);
  border-radius: 0.625rem;
  padding: 0.5rem 0.75rem;
  background: var(--shell-surface);
  color: var(--shell-text);
}

.shell-input:focus {
  outline: 2px solid color-mix(in srgb, var(--shell-primary) 35%, transparent);
  outline-offset: 1px;
}

.shell-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.shell-section-note {
  margin: -0.5rem 0 1.25rem;
  font-size: 0.8rem;
  color: var(--shell-muted);
}

.shell-quota-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--shell-surface);
  border: 1px solid color-mix(in srgb, var(--shell-border) 85%, transparent);
  border-radius: 1.15rem;
  box-shadow: var(--shell-shadow-sm, 0 8px 20px color-mix(in srgb, var(--shell-primary) 8%, transparent));
}

.shell-quota-card-label,
.shell-stat-chip-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--shell-muted);
}

.shell-quota-card-value,
.shell-stat-chip-value {
  margin: 0.2rem 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--shell-text);
  line-height: 1.1;
}

.shell-quota-card-value span,
.shell-stat-chip-value span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--shell-muted);
}

.shell-quota-card-limit {
  font-size: 0.875rem;
  font-weight: 600;
  color: #b45309;
}

.shell-stat-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.1rem;
  background: color-mix(in srgb, var(--shell-primary) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--shell-primary) 12%, var(--shell-border));
  border-radius: 1rem;
  min-width: 9rem;
}

.shell-quota-card--stack {
  flex-direction: column;
  align-items: stretch;
}

.shell-upcoming-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--shell-text);
}

.shell-upcoming-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.shell-upcoming-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--shell-border);
  font-size: 0.875rem;
}

.shell-upcoming-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.shell-fieldset {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--shell-border);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--shell-primary) 2%, #fff);
}

.shell-fieldset-legend {
  padding: 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--shell-text);
}

.shell-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .shell-field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.shell-page-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--shell-text);
}

.shell-code {
  display: block;
  background: color-mix(in srgb, var(--shell-primary) 6%, var(--shell-surface));
  border: 1px solid var(--shell-border);
  padding: 0.75rem;
  border-radius: 0.625rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}

.shell-flash--notice {
  background: color-mix(in srgb, var(--shell-accent) 12%, white);
  color: color-mix(in srgb, var(--shell-accent) 80%, black);
  border: 1px solid color-mix(in srgb, var(--shell-accent) 25%, white);
}

.shell-flash--alert {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.shell-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.35);
  z-index: 35;
}

.shell-sidebar-backdrop.is-visible {
  display: block;
}

@media (max-width: 767px) {
  .shell-sidebar {
    transform: translateX(-100%);
    width: 15rem;
  }

  .shell-sidebar.is-mobile-open {
    transform: translateX(0);
  }

  .shell-sidebar.is-mobile-open.is-expanded,
  .shell-sidebar.is-expanded {
    width: 15rem;
  }

  .shell-main {
    margin-left: 0;
  }

  .shell-nav-label {
    opacity: 1;
    width: auto;
  }

  .shell-sidebar-brand-text {
    opacity: 1;
    width: auto;
  }
}

@media (min-width: 768px) {
  .shell-sidebar:hover {
    width: 15rem;
  }

  .shell-sidebar:hover .shell-nav-label,
  .shell-sidebar.is-expanded .shell-nav-label {
    opacity: 1;
    width: auto;
  }

  .shell-sidebar:hover .shell-sidebar-brand-text,
  .shell-sidebar.is-expanded .shell-sidebar-brand-text {
    opacity: 1;
    width: auto;
  }
}

/* Google Material Symbols */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.shell-nav-icon-wrap .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Pagination (Pagy) */
.shell-pagy {
  margin-top: 1rem;
}

.shell-pagy--end {
  display: flex;
  justify-content: flex-end;
}

.shell-pagy nav.pagy.series-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.shell-pagy nav.pagy.series-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border-radius: 0.625rem;
  border: 1px solid var(--shell-border);
  background: var(--shell-surface);
  color: var(--shell-text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shell-pagy nav.pagy.series-nav a:hover:not([aria-disabled="true"]) {
  background: color-mix(in srgb, var(--shell-primary) 10%, white);
  color: var(--shell-primary);
  border-color: color-mix(in srgb, var(--shell-primary) 25%, var(--shell-border));
}

.shell-pagy nav.pagy.series-nav a[aria-current="page"] {
  background: var(--shell-button-bg);
  color: var(--shell-button-text);
  border-color: var(--shell-button-bg);
  cursor: default;
}

.shell-pagy nav.pagy.series-nav a[aria-disabled="true"]:not([aria-current="page"]) {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.shell-pagy nav.pagy.series-nav a[role="separator"] {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 0.25rem;
  color: var(--shell-muted);
}

/* Reports bar charts */
.shell-chart-wrap {
  width: 100%;
}

.shell-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 11rem;
  padding-top: 0.5rem;
}

.shell-chart-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.shell-chart-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--shell-text);
  margin-bottom: 0.375rem;
  line-height: 1;
}

.shell-chart-track {
  flex: 1;
  width: 100%;
  max-width: 2.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: color-mix(in srgb, var(--shell-primary) 6%, var(--shell-surface));
  border-radius: 0.5rem 0.5rem 0 0;
  min-height: 4rem;
}

.shell-chart-bar {
  width: 100%;
  background: var(--shell-primary);
  border-radius: 0.5rem 0.5rem 0 0;
  min-height: 2px;
  transition: height 0.2s ease;
}

.shell-chart-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--shell-muted);
  margin-top: 0.5rem;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .shell-chart {
    gap: 0.75rem;
    height: 12rem;
  }

  .shell-chart-track {
    max-width: 3.5rem;
  }

  .shell-chart-label {
    font-size: 0.8125rem;
  }

  .shell-chart-value {
    font-size: 0.875rem;
  }
}

/* Settings secondary sidebar */
.shell-settings-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .shell-settings-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.shell-settings-nav {
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .shell-settings-nav {
    width: 13rem;
    position: sticky;
    top: 5rem;
  }
}

.shell-settings-nav-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell-muted);
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}

.shell-settings-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .shell-settings-nav-list {
    flex-direction: column;
    overflow: visible;
    background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: 0.875rem;
    padding: 0.375rem;
  }
}

.shell-settings-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--shell-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

@media (min-width: 768px) {
  .shell-settings-nav-link {
    display: flex;
    width: 100%;
  }
}

.shell-settings-nav-link:hover {
  color: var(--shell-text);
  background: var(--shell-sidebar-hover);
}

.shell-settings-nav-link.is-active {
  color: var(--shell-primary);
  background: color-mix(in srgb, var(--shell-primary) 10%, var(--shell-surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--shell-primary) 18%, transparent);
}

.shell-settings-nav-icon {
  font-size: 1.125rem !important;
}

.shell-settings-panel {
  flex: 1;
  min-width: 0;
}

.shell-settings-panel-header {
  margin-bottom: 1rem;
}

.shell-settings-panel-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--shell-text);
  line-height: 1.2;
}

.shell-settings-panel-description {
  font-size: 0.875rem;
  color: var(--shell-muted);
  margin-top: 0.25rem;
}

.shell-settings-dl {
  display: grid;
  gap: 1rem;
}

.shell-settings-dl > div {
  display: grid;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .shell-settings-dl > div {
    grid-template-columns: 10rem 1fr;
    align-items: baseline;
    gap: 1rem;
  }
}

.shell-settings-dl dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--shell-muted);
}

.shell-settings-dl dd {
  margin: 0;
  color: var(--shell-text);
}

/* ── Admin-only skin (Option A) ─────────────────────────────────────────── */

.shell-body--admin {
  --admin-float-gap: 1rem;
  --admin-sidebar-rail: 4.5rem;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, color-mix(in srgb, #5F3475 14%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, color-mix(in srgb, #213885 10%, transparent), transparent 50%),
    linear-gradient(180deg, #f4ebe3 0%, var(--shell-bg) 40%, #e6d8c9 100%);
  color: var(--shell-text);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

.shell-body--admin .shell-admin-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, #213885 8%, transparent), transparent 28%),
    radial-gradient(circle at 88% 18%, color-mix(in srgb, #5F3475 7%, transparent), transparent 26%);
  z-index: 0;
}

.shell-body--admin .shell-layout {
  position: relative;
  z-index: auto;
}

.shell-body--admin .shell-sidebar {
  z-index: 50;
}

.shell-body--admin .shell-sidebar-backdrop {
  z-index: 45;
}

.shell-body--admin .shell-sidebar {
  top: var(--admin-float-gap);
  left: var(--admin-float-gap);
  bottom: var(--admin-float-gap);
  height: auto;
  width: var(--admin-sidebar-rail);
  border-right: none;
  border-radius: 1.75rem;
  background:
    linear-gradient(160deg, color-mix(in srgb, #fff 8%, transparent), transparent 34%),
    linear-gradient(185deg, #081849 0%, #152a6b 42%, #213885 68%, #5F3475 100%);
  box-shadow:
    0 24px 48px color-mix(in srgb, #081849 28%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent);
  padding-bottom: 0.5rem;
  backdrop-filter: blur(8px);
}

.shell-body--admin .shell-sidebar.is-expanded {
  width: 16rem;
}

.shell-body--admin .shell-sidebar-brand {
  border-bottom: 1px solid var(--shell-sidebar-border);
  height: auto;
  min-height: 5rem;
  padding: 1.25rem 1rem;
  gap: 0.875rem;
}

.shell-body--admin .shell-sidebar-brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #3a56a8 0%, #213885 55%, #5F3475 100%);
  color: #fff;
  box-shadow:
    0 8px 18px color-mix(in srgb, #081849 35%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 28%, transparent);
  font-size: 1rem;
  font-weight: 800;
}

.shell-body--admin .shell-sidebar-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.18s ease;
}

.shell-body--admin .shell-sidebar.is-expanded .shell-sidebar-brand-copy,
.shell-body--admin .shell-sidebar:hover .shell-sidebar-brand-copy {
  opacity: 1;
  width: auto;
}

.shell-body--admin .shell-sidebar-brand-text {
  opacity: 1 !important;
  width: auto !important;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.shell-body--admin .shell-sidebar-brand-sub {
  font-size: 0.7rem;
  color: var(--shell-sidebar-muted);
  margin-top: 0.25rem;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell-body--admin .shell-nav {
  padding: 1rem 0.7rem;
  gap: 0.4rem;
}

.shell-body--admin .shell-nav-link {
  color: var(--shell-sidebar-muted);
  position: relative;
  border-radius: 1rem;
  padding: 0.78rem 0.8rem;
  gap: 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.shell-body--admin .shell-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  color: inherit;
}

.shell-body--admin .shell-nav-icon .material-symbols-outlined {
  font-size: 1.3rem;
}

.shell-body--admin .shell-nav-link:hover {
  color: #fff;
  background: color-mix(in srgb, #fff 12%, transparent);
  transform: translateX(2px);
}

.shell-body--admin .shell-nav-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2a4499 0%, #213885 55%, #4a2d6e 100%);
  box-shadow:
    0 10px 22px color-mix(in srgb, #081849 28%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 16%, transparent);
}

.shell-body--admin .shell-nav-link.is-active .shell-nav-chevron,
.shell-body--admin .shell-nav-link:hover .shell-nav-chevron {
  color: #fff;
}

.shell-body--admin .shell-nav-chevron {
  margin-left: auto;
  opacity: 0;
  width: 0;
  overflow: hidden;
  color: var(--shell-sidebar-muted);
  transition: opacity 0.15s ease;
  display: inline-flex;
  align-items: center;
}

.shell-body--admin .shell-nav-chevron .material-symbols-outlined {
  font-size: 1.05rem;
}

.shell-body--admin .shell-sidebar.is-expanded .shell-nav-chevron,
.shell-body--admin .shell-sidebar:hover .shell-nav-chevron {
  opacity: 1;
  width: auto;
}

.shell-body--admin .shell-sidebar-footer {
  border-top: 1px solid var(--shell-sidebar-border);
  padding: 0.75rem;
}

.shell-body--admin .shell-sidebar-logout-form {
  width: 100%;
  margin: 0;
}

.shell-body--admin .shell-sidebar-logout {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.shell-body--admin .shell-sidebar-logout:hover {
  background: color-mix(in srgb, #fff 10%, transparent);
  color: #fff;
}

.shell-body--admin .shell-main {
  margin-left: calc(var(--admin-sidebar-rail) + var(--admin-float-gap) + 0.75rem);
  padding: var(--admin-float-gap) var(--admin-float-gap) var(--admin-float-gap) 0;
}

.shell-body--admin .shell-topbar {
  margin: 0;
  min-height: 4.5rem;
  padding: 0.95rem 1.35rem;
  border: none;
  border-radius: 1.4rem;
  background:
    linear-gradient(115deg, color-mix(in srgb, #fff 10%, transparent), transparent 36%),
    linear-gradient(100deg, #081849 0%, #1a3278 45%, #213885 70%, #5F3475 100%);
  box-shadow:
    0 16px 36px color-mix(in srgb, #081849 22%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent);
  position: sticky;
  top: var(--admin-float-gap);
  backdrop-filter: blur(10px);
}

.shell-body--admin .shell-topbar-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.shell-body--admin .shell-topbar-subtitle {
  color: var(--shell-sidebar-muted);
  font-weight: 500;
}

.shell-body--admin .shell-menu-btn {
  background: color-mix(in srgb, #fff 12%, transparent);
  border-color: color-mix(in srgb, #fff 18%, transparent);
  color: #fff;
  border-radius: 0.9rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.shell-body--admin .shell-menu-btn:hover {
  background: color-mix(in srgb, #fff 18%, transparent);
  transform: translateY(-1px);
}

.shell-body--admin .shell-topbar-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #fff;
  min-width: 0;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 8%, transparent);
  border: 1px solid color-mix(in srgb, #fff 12%, transparent);
  transition: background 0.15s ease, transform 0.15s ease;
}

.shell-body--admin .shell-topbar-profile:hover {
  background: color-mix(in srgb, #fff 14%, transparent);
  transform: translateY(-1px);
}

.shell-body--admin .shell-topbar-avatar {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #3a56a8, #5F3475);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 2px color-mix(in srgb, #fff 22%, transparent);
}

.shell-body--admin .shell-topbar-avatar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #34d399;
  border: 2px solid #213885;
}

.shell-body--admin .shell-topbar-profile-meta {
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.2;
  padding-right: 0.35rem;
}

.shell-body--admin .shell-topbar-profile-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.shell-body--admin .shell-topbar-profile-email {
  font-size: 0.72rem;
  color: var(--shell-sidebar-muted);
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell-body--admin .shell-content {
  padding-top: 1.25rem;
}

.shell-body--admin .shell-btn {
  border-radius: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.shell-body--admin .shell-btn-primary {
  box-shadow: 0 10px 22px color-mix(in srgb, var(--shell-primary) 28%, transparent);
}

.shell-body--admin .shell-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--shell-primary) 34%, transparent);
}

.shell-body--admin .shell-btn-secondary {
  background: #fff;
  border-color: color-mix(in srgb, var(--shell-primary) 16%, var(--shell-border));
}

.shell-body--admin .shell-btn-secondary:hover {
  background: color-mix(in srgb, var(--shell-primary) 8%, white);
  color: var(--shell-primary);
  border-color: color-mix(in srgb, var(--shell-primary) 30%, var(--shell-border));
  transform: translateY(-1px);
}

.shell-body--admin .shell-input {
  border-radius: 0.85rem;
  border: 1px solid var(--shell-border);
  background: #fff;
  padding: 0.6rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shell-body--admin .shell-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--shell-primary) 45%, var(--shell-border));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--shell-primary) 14%, transparent);
}

.shell-body--admin .shell-table {
  border-radius: 1rem;
  box-shadow: none;
  overflow: hidden;
}

.shell-body--admin .shell-table thead {
  background: linear-gradient(180deg, color-mix(in srgb, var(--shell-primary) 5%, white), #fff);
}

.shell-body--admin .shell-table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.shell-body--admin .shell-table tbody tr {
  transition: background 0.15s ease;
}

.shell-body--admin .shell-flash {
  border-radius: 1rem;
  box-shadow: var(--shell-shadow-sm);
  font-weight: 600;
}

.shell-body--admin .shell-filter-tab {
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--shell-border) 50%, transparent);
}

.shell-body--admin .shell-filter-tab:hover,
.shell-body--admin .shell-filter-tab.is-active {
  box-shadow: 0 10px 20px color-mix(in srgb, #081849 18%, transparent);
  transform: translateY(-1px);
}

.shell-body--admin .shell-settings-nav-list {
  border: none;
  background: transparent;
  padding: 0;
  gap: 0.4rem;
}

.shell-body--admin .shell-settings-nav-link {
  border-radius: 0.9rem;
  background: color-mix(in srgb, #fff 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--shell-border) 80%, transparent);
  box-shadow: 0 4px 12px color-mix(in srgb, #081849 4%, transparent);
  font-weight: 600;
  padding: 0.7rem 0.85rem;
}

.shell-body--admin .shell-settings-nav-link:hover {
  background: #fff;
  color: var(--shell-primary);
  transform: translateX(2px);
}

.shell-body--admin .shell-settings-nav-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, #213885, #5F3475);
  border-color: transparent;
  box-shadow: 0 12px 24px color-mix(in srgb, #213885 28%, transparent);
}

.shell-body--admin .shell-settings-nav-label {
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.shell-section-card {
  background: color-mix(in srgb, #fff 92%, var(--shell-bg));
  border: 1px solid color-mix(in srgb, #fff 70%, var(--shell-border));
  border-radius: 1.35rem;
  box-shadow:
    var(--shell-shadow),
    inset 0 1px 0 color-mix(in srgb, #fff 80%, transparent);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.shell-section-card-header {
  padding: 1.25rem 1.4rem 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--shell-border) 70%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 96%, var(--shell-primary)), color-mix(in srgb, var(--shell-primary) 3%, white));
}

.shell-section-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.shell-section-card-body {
  padding: 1.35rem 1.4rem 1.45rem;
}

.shell-body--admin .shell-settings-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--shell-text);
}

.shell-body--admin .shell-settings-panel-description {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.shell-stat-tile {
  background: linear-gradient(160deg, #fff 0%, color-mix(in srgb, var(--shell-primary) 5%, white) 100%);
  border: 1px solid color-mix(in srgb, var(--shell-primary) 10%, var(--shell-border));
  border-radius: 1.1rem;
  padding: 1.1rem;
  box-shadow: 0 8px 18px color-mix(in srgb, #081849 5%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shell-stat-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px color-mix(in srgb, #081849 10%, transparent);
}

.shell-breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
}

.shell-breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.shell-breadcrumbs-item:not(:last-child)::after {
  content: "/";
  color: color-mix(in srgb, var(--shell-muted) 80%, transparent);
  font-weight: 500;
}

.shell-breadcrumbs-link {
  color: var(--shell-link);
  text-decoration: none;
  font-weight: 700;
}

.shell-breadcrumbs-link:hover {
  text-decoration: underline;
}

.shell-breadcrumbs-current {
  color: var(--shell-muted);
  font-weight: 600;
}

.shell-body--admin .shell-settings-nav {
  top: 7rem;
}

.shell-body--admin .shell-settings-panel-header {
  margin-bottom: 0;
}

.shell-body--admin .shell-settings-dl > div {
  padding: 0.85rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--shell-border) 75%, transparent);
}

.shell-body--admin .shell-settings-dl > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.shell-body--admin .shell-settings-dl > div:first-child {
  padding-top: 0;
}

.shell-body--admin .shell-pagy nav.pagy.series-nav a {
  border-radius: 0.8rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .shell-body--admin .shell-sidebar {
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    border-radius: 0 1.35rem 1.35rem 0;
  }

  .shell-body--admin .shell-main {
    margin-left: 0;
    padding: 0.85rem;
  }

  .shell-body--admin .shell-topbar {
    margin: 0;
    border-radius: 1.15rem;
  }

  .shell-body--admin .shell-sidebar-brand-copy {
    opacity: 1;
    width: auto;
  }

  .shell-body--admin .shell-nav-chevron {
    opacity: 1;
    width: auto;
  }
}

@media (min-width: 768px) {
  .shell-body--admin .shell-sidebar:hover {
    width: 16rem;
  }

  .shell-body--admin .shell-sidebar:hover .shell-sidebar-brand-copy,
  .shell-body--admin .shell-sidebar.is-expanded .shell-sidebar-brand-copy {
    opacity: 1;
    width: auto;
  }
}

/* ── Dashboard floating shell (tenant theme variables) ── */

.shell-body--dashboard {
  --dash-float-gap: 1rem;
  --dash-sidebar-rail: 4.5rem;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, color-mix(in srgb, var(--shell-accent) 12%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, color-mix(in srgb, var(--shell-primary) 10%, transparent), transparent 50%),
    linear-gradient(180deg, color-mix(in srgb, var(--shell-primary) 5%, var(--shell-bg)) 0%, var(--shell-bg) 42%, color-mix(in srgb, var(--shell-accent) 4%, var(--shell-bg)) 100%);
  color: var(--shell-text);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

.shell-body--dashboard .shell-dashboard-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--shell-primary) 8%, transparent), transparent 28%),
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--shell-accent) 7%, transparent), transparent 26%);
  z-index: 0;
}

.shell-body--dashboard .shell-layout {
  position: relative;
  z-index: auto;
}

.shell-body--dashboard .shell-sidebar-backdrop {
  z-index: 45;
}

.shell-body--dashboard .shell-sidebar-backdrop.is-visible {
  background: rgb(15 23 42 / 0.12);
}

.shell-body--dashboard .shell-sidebar {
  top: var(--dash-float-gap);
  left: var(--dash-float-gap);
  bottom: var(--dash-float-gap);
  height: auto;
  width: var(--dash-sidebar-rail);
  border-right: none;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow:
    var(--shell-shadow),
    inset 0 1px 0 color-mix(in srgb, #fff 70%, transparent);
  padding-bottom: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--shell-border) 70%, transparent);
  overflow: hidden;
  z-index: 50;
}

.shell-body--dashboard .shell-sidebar.is-expanded {
  width: 16rem;
}

.shell-body--dashboard .shell-sidebar-brand-link {
  justify-content: center;
  margin: 0;
  padding: 0;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-sidebar-brand-link,
.shell-body--dashboard .shell-sidebar:hover .shell-sidebar-brand-link {
  justify-content: flex-start;
}

.shell-body--dashboard .shell-sidebar-brand {
  border-bottom: 1px solid var(--shell-border);
  height: auto;
  min-height: 4.5rem;
  padding: 1rem 0.75rem;
  gap: 0.875rem;
  justify-content: center;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-sidebar-brand,
.shell-body--dashboard .shell-sidebar:hover .shell-sidebar-brand {
  justify-content: flex-start;
  padding-left: 1rem;
  padding-right: 1rem;
}

.shell-body--dashboard .shell-sidebar-brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--shell-primary) 0%, color-mix(in srgb, var(--shell-accent) 55%, var(--shell-primary)) 100%);
  color: var(--shell-button-text);
  box-shadow:
    0 8px 18px color-mix(in srgb, var(--shell-primary) 28%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 28%, transparent);
  font-size: 1rem;
  font-weight: 800;
}

.shell-body--dashboard .shell-sidebar-brand-copy {
  display: none;
  flex-direction: column;
  min-width: 0;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-sidebar-brand-copy,
.shell-body--dashboard .shell-sidebar:hover .shell-sidebar-brand-copy {
  display: flex;
}

.shell-body--dashboard .shell-sidebar-brand-text {
  opacity: 1 !important;
  width: auto !important;
  color: var(--shell-text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.shell-body--dashboard .shell-sidebar-brand-sub {
  font-size: 0.7rem;
  color: var(--shell-muted);
  margin-top: 0.25rem;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell-body--dashboard .shell-nav {
  padding: 0.5rem;
  gap: 0.15rem;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shell-body--dashboard .shell-nav::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-nav,
.shell-body--dashboard .shell-sidebar:hover .shell-nav,
.shell-body--dashboard .shell-sidebar.is-mobile-open .shell-nav {
  overflow-y: auto;
  padding: 0.65rem 0.7rem;
}

.shell-body--dashboard .shell-nav-link {
  color: var(--shell-muted);
  position: relative;
  border-radius: 0.9rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin-inline: auto;
  gap: 0;
  font-weight: 600;
  font-size: 0.9rem;
  justify-content: center;
  align-items: center;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-nav-link,
.shell-body--dashboard .shell-sidebar:hover .shell-nav-link {
  width: auto;
  height: auto;
  margin-inline: 0;
  padding: 0.7rem 0.8rem;
  gap: 0.85rem;
  justify-content: flex-start;
}

.shell-body--dashboard .shell-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  color: inherit;
}

.shell-body--dashboard .shell-nav-icon .material-symbols-outlined {
  font-size: 1.3rem;
}

.shell-body--dashboard .shell-nav-link:hover {
  color: var(--shell-primary);
  background: color-mix(in srgb, var(--shell-primary) 8%, transparent);
}

.shell-body--dashboard .shell-nav-link.is-active {
  color: var(--shell-primary);
  background: color-mix(in srgb, var(--shell-primary) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--shell-primary) 14%, transparent);
}

.shell-body--dashboard .shell-nav-link.is-active .shell-nav-icon,
.shell-body--dashboard .shell-nav-link.is-active .shell-nav-label,
.shell-body--dashboard .shell-nav-link.is-active .shell-nav-chevron,
.shell-body--dashboard .shell-nav-link:hover .shell-nav-chevron {
  color: var(--shell-primary);
}

.shell-body--dashboard .shell-nav-label,
.shell-body--dashboard .shell-nav-chevron {
  display: none;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-nav-label,
.shell-body--dashboard .shell-sidebar:hover .shell-nav-label {
  display: inline;
  opacity: 1;
  width: auto;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-nav-chevron,
.shell-body--dashboard .shell-sidebar:hover .shell-nav-chevron {
  display: inline-flex;
  margin-left: auto;
  opacity: 1;
  width: auto;
  align-items: center;
  color: var(--shell-muted);
}

.shell-body--dashboard .shell-nav-chevron .material-symbols-outlined {
  font-size: 1.05rem;
}

.shell-body--dashboard .shell-sidebar-footer {
  border-top: 1px solid var(--shell-border);
  padding: 0.5rem;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-sidebar-footer,
.shell-body--dashboard .shell-sidebar:hover .shell-sidebar-footer {
  padding: 0.75rem;
}

.shell-body--dashboard .shell-sidebar-logout-form {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-sidebar-logout-form,
.shell-body--dashboard .shell-sidebar:hover .shell-sidebar-logout-form {
  display: block;
}

.shell-body--dashboard .shell-sidebar-logout {
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 0;
  margin: 0;
}

.shell-body--dashboard .shell-sidebar.is-expanded .shell-sidebar-logout,
.shell-body--dashboard .shell-sidebar:hover .shell-sidebar-logout {
  width: 100%;
  height: auto;
  padding: 0.7rem 0.8rem;
}

.shell-body--dashboard .shell-sidebar-logout:hover {
  background: color-mix(in srgb, var(--shell-primary) 8%, transparent);
  color: var(--shell-primary);
}

.shell-body--dashboard .shell-main {
  margin-left: calc(var(--dash-sidebar-rail) + var(--dash-float-gap) + 0.75rem);
  padding: var(--dash-float-gap) var(--dash-float-gap) var(--dash-float-gap) 0;
  min-width: 0;
  overflow-x: clip;
}

.shell-body--dashboard .shell-content {
  min-width: 0;
  max-width: 100%;
  padding-top: 1.25rem;
  position: relative;
}

.shell-content--billing-locked {
  pointer-events: none;
  user-select: none;
  filter: blur(1.5px);
  opacity: 0.55;
}

.shell-layout--billing-locked .shell-sidebar {
  pointer-events: none;
  opacity: 0.55;
}

.shell-billing-banner {
  flex-shrink: 0;
  margin: 0 0 0.85rem;
  border-radius: 1rem;
  border: 1px solid transparent;
}

.shell-billing-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 0.85rem 1.15rem;
}

.shell-billing-banner__copy {
  min-width: 0;
  flex: 1 1 16rem;
}

.shell-billing-banner__message {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.shell-billing-banner__detail {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.88;
}

.shell-billing-banner__cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.95rem;
  border-radius: 0.55rem;
  border: 1px solid currentColor;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  color: inherit;
}

.shell-billing-banner__cta:hover {
  background: color-mix(in srgb, #fff 70%, currentColor);
  color: inherit;
}

.shell-billing-banner--info {
  background: #eef4ff;
  border-color: #c7d7fe;
  color: #1e3a8a;
}

.shell-billing-banner--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #78350f;
}

.shell-billing-banner--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.shell-billing-lock {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.shell-billing-lock__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.shell-billing-lock__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  border-radius: 1rem;
  background: #fff;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  text-align: center;
}

.shell-billing-lock__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
}

.shell-billing-lock__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.shell-billing-lock__body {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #334155;
}

.shell-billing-lock__amount {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.shell-billing-lock__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.15rem;
  min-width: 11rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.65rem;
  background: #0f172a;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.shell-billing-lock__cta:hover {
  background: #1e293b;
  color: #fff;
}

.shell-billing-lock__hint {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

.shell-confirm-dialog {
  border: none;
  border-radius: 1rem;
  padding: 0;
  max-width: calc(100vw - 2rem);
  width: 26rem;
  background: transparent;
}

.shell-confirm-dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
}

.shell-confirm-dialog__panel {
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--shell-border) 80%, transparent);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
}

.shell-confirm-dialog__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.shell-confirm-dialog__body {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #475569;
}

.shell-confirm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.shell-body--dashboard .shell-topbar {
  margin: 0;
  min-height: 4.5rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid color-mix(in srgb, var(--shell-border) 70%, transparent);
  border-radius: 1.4rem;
  background:
    linear-gradient(115deg, color-mix(in srgb, #fff 55%, transparent), transparent 36%),
    linear-gradient(
      100deg,
      var(--shell-topbar-bg) 0%,
      color-mix(in srgb, var(--shell-primary) 8%, var(--shell-topbar-bg)) 55%,
      color-mix(in srgb, var(--shell-accent) 6%, var(--shell-topbar-bg)) 100%
    );
  box-shadow:
    var(--shell-shadow-sm),
    inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent);
  position: sticky;
  top: var(--dash-float-gap);
  backdrop-filter: blur(10px);
}

.shell-body--dashboard .shell-topbar-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--shell-topbar-text);
}

.shell-body--dashboard .shell-topbar-subtitle {
  color: var(--shell-muted);
  font-weight: 500;
}

.shell-body--dashboard .shell-menu-btn {
  background: color-mix(in srgb, var(--shell-primary) 8%, var(--shell-surface));
  border-color: color-mix(in srgb, var(--shell-primary) 16%, var(--shell-border));
  color: var(--shell-topbar-text);
  border-radius: 0.9rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.shell-body--dashboard .shell-menu-btn:hover {
  background: color-mix(in srgb, var(--shell-primary) 14%, var(--shell-surface));
  transform: translateY(-1px);
}

.shell-body--dashboard .shell-topbar-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.9rem;
  color: var(--shell-topbar-text);
  text-decoration: none;
  background: color-mix(in srgb, var(--shell-primary) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--shell-border) 80%, transparent);
  transition: background 0.15s ease, transform 0.15s ease;
}

.shell-body--dashboard .shell-topbar-icon-btn:hover {
  background: color-mix(in srgb, var(--shell-primary) 12%, transparent);
  transform: translateY(-1px);
}

.shell-body--dashboard .shell-topbar-badge {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--shell-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.05rem;
  text-align: center;
  box-shadow: 0 0 0 2px var(--shell-topbar-bg);
}

.shell-body--dashboard .shell-topbar-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--shell-topbar-text);
  min-width: 0;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--shell-primary) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--shell-border) 80%, transparent);
  transition: background 0.15s ease, transform 0.15s ease;
}

.shell-body--dashboard .shell-topbar-profile:hover {
  background: color-mix(in srgb, var(--shell-primary) 12%, transparent);
  transform: translateY(-1px);
}

.shell-body--dashboard .shell-topbar-avatar {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--shell-primary), var(--shell-accent));
  color: var(--shell-button-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--shell-primary) 18%, transparent);
}

.shell-body--dashboard .shell-topbar-avatar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #34d399;
  border: 2px solid var(--shell-topbar-bg);
}

.shell-body--dashboard .shell-topbar-profile-meta {
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.2;
  padding-right: 0.35rem;
}

.shell-body--dashboard .shell-topbar-profile-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--shell-topbar-text);
}

.shell-body--dashboard .shell-topbar-profile-email {
  font-size: 0.72rem;
  color: var(--shell-muted);
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell-body--dashboard .shell-btn {
  border-radius: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.shell-body--dashboard .shell-btn-primary {
  box-shadow: 0 10px 22px color-mix(in srgb, var(--shell-primary) 28%, transparent);
}

.shell-body--dashboard .shell-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--shell-primary) 34%, transparent);
}

.shell-body--dashboard .shell-btn-secondary {
  background: #fff;
  border-color: color-mix(in srgb, var(--shell-primary) 16%, var(--shell-border));
}

.shell-body--dashboard .shell-btn-secondary:hover {
  background: color-mix(in srgb, var(--shell-primary) 8%, white);
  color: var(--shell-primary);
  border-color: color-mix(in srgb, var(--shell-primary) 30%, var(--shell-border));
  transform: translateY(-1px);
}

.shell-body--dashboard .shell-input {
  border-radius: 0.85rem;
  border: 1px solid var(--shell-border);
  background: #fff;
  padding: 0.7rem 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shell-body--dashboard .shell-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--shell-primary) 45%, var(--shell-border));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--shell-primary) 14%, transparent);
}

.shell-body--dashboard .shell-table {
  border-radius: 1rem;
  box-shadow: none;
  overflow: hidden;
}

.shell-body--dashboard .shell-table thead {
  background: linear-gradient(180deg, color-mix(in srgb, var(--shell-primary) 5%, white), #fff);
}

.shell-body--dashboard .shell-table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.shell-body--dashboard .shell-table tbody tr {
  transition: background 0.15s ease;
}

.shell-body--dashboard .shell-card {
  border-radius: 1.15rem;
  box-shadow: var(--shell-shadow-sm);
  border-color: color-mix(in srgb, var(--shell-border) 80%, transparent);
}

.shell-body--dashboard .shell-pagy nav.pagy.series-nav a {
  border-radius: 0.7rem;
  font-weight: 600;
}

/* Toasts — top-right, above shell chrome */
.shell-toast-stack {
  position: sticky;
  top: calc(var(--dash-float-gap, 1rem) + 5.1rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
  margin: -0.25rem 0 0;
  padding: 0 0.15rem;
}

.shell-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: min(24rem, calc(100vw - 2.5rem));
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--shell-border);
  box-shadow: var(--shell-shadow);
  animation: shell-toast-in 0.22s ease;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.shell-toast.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

.shell-toast--notice {
  border-color: color-mix(in srgb, #10b981 28%, var(--shell-border));
  background: linear-gradient(135deg, #ecfdf5, #fff 55%);
}

.shell-toast--alert {
  border-color: color-mix(in srgb, #ef4444 28%, var(--shell-border));
  background: linear-gradient(135deg, #fef2f2, #fff 55%);
}

.shell-toast-body {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--shell-text);
  line-height: 1.4;
}

.shell-toast-icon {
  flex-shrink: 0;
  font-size: 1.25rem !important;
  width: 1.25rem;
  height: 1.25rem;
}

.shell-toast--notice .shell-toast-icon {
  color: #059669;
}

.shell-toast--alert .shell-toast-icon {
  color: #dc2626;
}

.shell-toast-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--shell-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.shell-toast-close:hover {
  background: color-mix(in srgb, var(--shell-text) 6%, transparent);
  color: var(--shell-text);
}

@keyframes shell-toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Centered roomy form panel */
.shell-form-page {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1.5rem;
}

.shell-form-panel {
  width: 100%;
  max-width: 42rem;
  background: var(--shell-surface);
  border: 1px solid color-mix(in srgb, var(--shell-border) 85%, transparent);
  border-radius: 1.35rem;
  box-shadow: var(--shell-shadow);
  overflow: hidden;
}

.shell-form-panel-header {
  padding: 1.5rem 1.75rem 1.15rem;
  border-bottom: 1px solid color-mix(in srgb, var(--shell-border) 80%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--shell-primary) 4%, white), #fff);
}

.shell-form-back {
  display: inline-flex;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--shell-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.shell-form-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--shell-text);
  line-height: 1.2;
}

.shell-form-panel-description {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--shell-muted);
  line-height: 1.45;
  max-width: 36rem;
}

.shell-form-panel-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.shell-form-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.shell-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.shell-field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}

.shell-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--shell-text);
}

.shell-label--inline {
  font-weight: 600;
}

.shell-field-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--shell-muted);
  line-height: 1.4;
}

.shell-textarea {
  min-height: 7rem;
  resize: vertical;
}

.shell-checkbox {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--shell-primary);
}

.shell-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.shell-form-errors {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #fef2f2;
  border: 1px solid color-mix(in srgb, #ef4444 25%, transparent);
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .shell-body--dashboard .shell-sidebar {
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    width: min(18rem, 86vw);
    border-radius: 0 1.35rem 1.35rem 0;
    background: #fff;
    box-shadow: 0 20px 48px color-mix(in srgb, var(--shell-text) 14%, transparent);
    transform: translateX(-105%);
    z-index: 50;
  }

  .shell-body--dashboard .shell-sidebar.is-mobile-open {
    transform: translateX(0);
  }

  .shell-body--dashboard .shell-sidebar-brand {
    justify-content: flex-start;
    padding: 1.15rem 1rem;
  }

  .shell-body--dashboard .shell-sidebar-brand-link {
    justify-content: flex-start;
  }

  .shell-body--dashboard .shell-sidebar-brand-copy {
    display: flex;
  }

  .shell-body--dashboard .shell-nav {
    overflow-y: auto;
    padding: 0.65rem 0.7rem;
  }

  .shell-body--dashboard .shell-nav-link,
  .shell-body--dashboard .shell-sidebar-logout {
    width: 100%;
    height: auto;
    margin-inline: 0;
    padding: 0.7rem 0.8rem;
    gap: 0.85rem;
    justify-content: flex-start;
  }

  .shell-body--dashboard .shell-sidebar-logout-form {
    display: block;
  }

  .shell-body--dashboard .shell-sidebar-footer {
    padding: 0.75rem;
  }

  .shell-body--dashboard .shell-nav-label {
    display: inline;
    opacity: 1;
    width: auto;
  }

  .shell-body--dashboard .shell-nav-chevron {
    display: inline-flex;
    margin-left: auto;
    opacity: 1;
    width: auto;
  }

  .shell-body--dashboard .shell-main {
    margin-left: 0;
    padding: 0.65rem;
  }

  .shell-body--dashboard .shell-topbar {
    min-height: 3.5rem;
    border-radius: 1rem;
    padding: 0.55rem 0.7rem;
    gap: 0.5rem;
  }

  .shell-body--dashboard .shell-topbar-title {
    font-size: 1.05rem;
  }

  .shell-body--dashboard .shell-topbar-subtitle {
    font-size: 0.72rem;
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shell-body--dashboard .shell-topbar-actions {
    gap: 0.4rem;
  }

  .shell-body--dashboard .shell-topbar-icon-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
  }

  .shell-body--dashboard .shell-topbar-profile {
    padding: 0.2rem;
  }

  .shell-body--dashboard .shell-topbar-avatar {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.8rem;
  }

  .shell-body--dashboard .shell-menu-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
  }

  .shell-body--dashboard .shell-content {
    padding-top: 0.85rem;
  }

  .shell-table th,
  .shell-table td {
    padding: 0.75rem 0.85rem;
  }

  .shell-quota-card {
    padding: 1rem;
  }

  .shell-form-panel-header,
  .shell-form-panel-body {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .shell-toast-stack {
    top: auto;
    position: fixed;
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    align-items: stretch;
  }

  .shell-toast {
    max-width: none;
  }
}

@media (min-width: 768px) {
  .shell-body--dashboard .shell-sidebar:hover {
    width: 16rem;
  }

  .shell-body--dashboard .shell-sidebar:hover .shell-sidebar-brand-copy,
  .shell-body--dashboard .shell-sidebar.is-expanded .shell-sidebar-brand-copy {
    display: flex;
  }
}
