:root {
  --color-primary:          #0058be;
  --color-primary-dim:      #aec6ff;
  --color-success:          #059669;
  --color-success-bg:       #ecfdf5;
  --color-danger:           #dc2626;
  --color-danger-bg:        #fef2f2;
  --color-warning:          #d97706;
  --color-outline:          #727785;
  --surface-container-low:  #f1f3ff;
  --on-surface:             #151b29;
  --font-family-base:       Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #151b29;
  background: #f7f7f7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #151b29;
}

a {
  color: #0058be;
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: #2270e3;
}

.text-display {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.text-display-md {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.text-headline {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
}

.text-body {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.text-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.text-muted {
  color: #727785 !important;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(194, 198, 214, 0.4);
  border-radius: 9999px;
}

.app-shell {
  display: flex;
  min-height: 100vh;
  background: #f7f7f7;
}

.main-content {
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-body {
  flex: 1;
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-header__overline {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0058be;
  margin-bottom: 0.25rem;
  display: block;
}

.section-header__title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #151b29;
  margin: 0;
}

.section-header__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.ds-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ds-grid--2 {
  grid-template-columns: repeat(1, 1fr);
}

.ds-grid--3 {
  grid-template-columns: repeat(1, 1fr);
}

.ds-grid--4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .ds-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ds-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .ds-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ds-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .ds-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ds-grid--asymmetric {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .ds-grid--asymmetric {
    grid-template-columns: 2fr 1fr;
  }
}

.ds-grid--criteria {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .ds-grid--criteria {
    grid-template-columns: 3fr 4fr 2fr 2fr 1fr;
    align-items: end;
  }
}

.criteria-row {
  padding: 1rem;
}

.ds-section {
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .page-body {
    padding: 1rem;
  }
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 16rem;
  background: #1a202e;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 40;
  overflow-y: auto;
}

.sidebar__brand {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar__brand-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.sidebar__brand-label {
  font-size: 0.625rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar__nav {
  flex: 1;
  padding: 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar__section-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  opacity: 0.6;
  padding: 1.5rem 1rem 0.5rem;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 200ms ease, background 200ms ease;
  position: relative;
  border-radius: 0.375rem;
}

.sidebar__link .material-symbols-outlined {
  font-size: 20px;
}

.sidebar__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar__link--active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
}

.sidebar__link--active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.5rem;
  background: #0058be;
  border-radius: 9999px;
}

.sidebar__footer {
  padding: 1rem;
  margin-top: auto;
}

.sidebar__status {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 0.75rem;
  color: #ffffff;
}

.sidebar__status-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.sidebar__status-value {
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 4rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 3px 0 rgba(21, 27, 41, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(194, 198, 214, 0.15);
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.top-bar__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #151b29;
  margin: 0;
}

.top-bar__search {
  display: none;
  align-items: center;
  background: #f1f3ff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: box-shadow 200ms ease;
}

@media (min-width: 1024px) {
  .top-bar__search {
    display: flex;
  }
}

.top-bar__search:focus-within {
  box-shadow: 0 0 0 2px rgba(0, 88, 190, 0.2);
}

.top-bar__search .material-symbols-outlined {
  color: #727785;
  font-size: 0.875rem;
  margin-right: 0.5rem;
}

.top-bar__search input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: #151b29;
  width: 16rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.top-bar__search input::placeholder {
  color: #727785;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar__icon-btn {
  padding: 0.5rem;
  color: #727785;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: color 150ms ease;
}

.top-bar__icon-btn:hover {
  color: #0058be;
}

.top-bar__divider {
  height: 2rem;
  width: 1px;
  background: #c2c6d6;
  opacity: 0.3;
  margin: 0 0.5rem;
}

.top-bar__user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #424753;
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0 1rem;
  }
}

.ds-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(21, 27, 41, 0.04);
  padding: 1.5rem;
  transition: box-shadow 200ms ease;
}

.ds-card:hover {
  box-shadow: 0 4px 12px -2px rgba(21, 27, 41, 0.06);
}

.ds-card--error {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3);
}

.ds-card--stat {
  position: relative;
}

.ds-card--stat.accent-primary {
  border-bottom: 4px solid rgba(0, 88, 190, 0.2);
}

.ds-card--stat.accent-secondary {
  border-bottom: 4px solid rgba(121, 88, 42, 0.2);
}

.ds-card--stat.accent-tertiary {
  border-bottom: 4px solid rgba(86, 92, 108, 0.2);
}

.ds-card--stat.accent-success {
  border-bottom: 4px solid rgba(5, 150, 105, 0.2);
}

.ds-card--stat.accent-warning {
  border-bottom: 4px solid rgba(217, 119, 6, 0.2);
}

.ds-card--stat.accent-danger {
  border-bottom: 4px solid rgba(220, 38, 38, 0.2);
}

.ds-card__icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ds-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
}

.ds-card__icon--primary {
  background: rgba(174, 198, 255, 0.3);
  color: #0058be;
}

.ds-card__icon--secondary {
  background: rgba(255, 221, 180, 0.3);
  color: #79582a;
}

.ds-card__icon--tertiary {
  background: rgba(221, 226, 246, 0.5);
  color: #565c6c;
}

.ds-card__icon--success {
  background: #ecfdf5;
  color: #059669;
}

.ds-card__icon--warning {
  background: #fffbeb;
  color: #d97706;
}

.ds-card__icon--danger {
  background: #fef2f2;
  color: #dc2626;
}

.ds-card__trend {
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

.ds-card__trend--up {
  color: #065f46;
  background: #ecfdf5;
}

.ds-card__trend--down {
  color: #991b1b;
  background: #fef2f2;
}

.ds-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #727785;
}

.ds-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.25rem;
  color: #151b29;
}

.ds-card__value--sm {
  font-size: 1rem;
}

.ds-card__sub {
  font-size: 0.75rem;
  color: #727785;
  margin-top: 0.25rem;
}

.ds-card--lg {
  padding: 2rem;
  border-radius: 1rem;
}

.ds-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ds-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #151b29;
}

.ds-card__subtitle {
  font-size: 0.875rem;
  color: #727785;
  margin-top: 0.25rem;
}

.ds-card--link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  gap: 0.75rem;
  cursor: pointer;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.ds-card--link:hover {
  box-shadow: 0 12px 40px -10px rgba(21, 27, 41, 0.08);
  transform: translateY(-2px);
}

.ds-card--link .material-symbols-outlined {
  font-size: 2rem;
  color: #0058be;
}

.ds-card--link .ds-card__link-title {
  font-size: 1rem;
  font-weight: 600;
  color: #151b29;
  margin: 0;
}

.ds-chart-container {
  position: relative;
  width: 100%;
  max-height: 300px;
  height: 300px;
}

.ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem;
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
}

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

.ds-btn .material-symbols-outlined {
  font-size: 18px;
}

.ds-btn--primary {
  background: linear-gradient(135deg, #0058be, #2270e3);
  color: #ffffff;
  box-shadow: 0 4px 14px -3px rgba(0, 88, 190, 0.2);
}

.ds-btn--primary:hover {
  box-shadow: 0 6px 20px -4px rgba(0, 88, 190, 0.3);
  color: #ffffff;
}

.ds-btn--secondary {
  background: #f1f3ff;
  color: #0058be;
}

.ds-btn--secondary:hover {
  background: #e2e8fb;
}

.ds-btn--tertiary {
  background: transparent;
  color: #0058be;
  padding: 0.5rem 0.75rem;
}

.ds-btn--tertiary:hover {
  background: #e2e8fb;
}

.ds-btn--danger {
  background: #ba1a1a;
  color: #ffffff;
}

.ds-btn--danger:hover {
  box-shadow: 0 4px 14px -3px rgba(186, 26, 26, 0.3);
}

.ds-btn--outline {
  background: transparent;
  color: #0058be;
  border: 1px solid rgba(0, 88, 190, 0.15);
}

.ds-btn--outline:hover {
  background: rgba(0, 88, 190, 0.05);
}

.ds-btn--sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
}

.ds-btn--lg {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

.ds-btn--icon {
  padding: 0.5rem;
  border-radius: 0.375rem;
  background: none;
  color: #727785;
}

.ds-btn--icon:hover {
  color: #0058be;
  background: #f1f3ff;
}

.ds-btn--block {
  width: 100%;
  justify-content: center;
}

.ds-table-wrap {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(21, 27, 41, 0.04);
  overflow-x: auto;
}

.ds-table-header {
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid rgba(194, 198, 214, 0.15);
}

@media (min-width: 640px) {
  .ds-table-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ds-table-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #151b29;
}

.ds-table-subtitle {
  font-size: 0.875rem;
  color: #727785;
}

.ds-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ds-table thead tr {
  background: rgba(241, 243, 255, 0.5);
}

.ds-table th {
  padding: 1rem 2rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #727785;
  border: none;
}

.ds-table td {
  padding: 1rem 2rem;
  font-size: 0.875rem;
  color: #151b29;
  border: none;
  border-bottom: 1px solid rgba(194, 198, 214, 0.15);
}

.ds-table tbody tr {
  transition: background 150ms ease;
}

.ds-table tbody tr:hover {
  background: rgba(241, 243, 255, 0.4);
}

.ds-table tbody tr:last-child td {
  border-bottom: none;
}

.ds-table-footer {
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  background: rgba(241, 243, 255, 0.3);
}

.ds-table__row--danger {
  background: rgba(220, 38, 38, 0.06);
}

.ds-table__row--danger:hover {
  background: rgba(220, 38, 38, 0.1);
}

.ds-form-group {
  margin-bottom: 1rem;
}

.ds-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #151b29;
  margin-bottom: 0.5rem;
}

.ds-input,
.ds-select {
  display: block;
  width: 100%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: #151b29;
  background: #f1f3ff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  outline: none;
  transition: box-shadow 150ms ease;
}

.ds-input::placeholder,
.ds-select::placeholder {
  color: #727785;
}

.ds-input:focus,
.ds-select:focus {
  box-shadow: 0 0 0 2px rgba(0, 88, 190, 0.2);
}

.ds-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23727785' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.ds-form-error {
  font-size: 0.625rem;
  color: #dc2626;
  margin-top: 0.25rem;
}

.ds-label--inline {
  display: inline;
  margin: 0;
}

.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.ds-badge--success {
  background: #ecfdf5;
  color: #065f46;
}

.ds-badge--warning {
  background: #fffbeb;
  color: #92400e;
}

.ds-badge--danger, .ds-badge--error {
  background: #fef2f2;
  color: #991b1b;
}

.ds-badge--info, .ds-badge--primary {
  background: rgba(216, 226, 255, 0.5);
  color: #001a42;
}

.ds-badge--secondary {
  background: #e2e8fb;
  color: #424753;
}

.ds-badge--accent {
  background: rgba(174, 198, 255, 0.3);
  color: #0058be;
}

.ds-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.ds-alert--success {
  background: #ecfdf5;
  color: #065f46;
}

.ds-alert--warning {
  background: #fffbeb;
  color: #92400e;
}

.ds-alert--danger, .ds-alert--error {
  background: #fef2f2;
  color: #991b1b;
}

.ds-alert--info {
  background: #eff6ff;
  color: #1e40af;
}

.ds-alert__close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  transition: opacity 150ms ease;
  line-height: 1;
}

.ds-alert__close:hover {
  opacity: 1;
}

.ds-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.ds-pagination__item--disabled {
  pointer-events: none;
  opacity: 0.5;
}

.ds-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #424753;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background 150ms ease, color 150ms ease;
}

.ds-pagination__link:hover {
  background: #f1f3ff;
  color: #0058be;
}

.ds-pagination__item--active .ds-pagination__link {
  background: linear-gradient(135deg, #0058be, #2270e3);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px -3px rgba(0, 88, 190, 0.2);
}

.ds-pagination__item--disabled .ds-pagination__link {
  color: #727785;
  background: none;
}

.ds-pagination__link.active {
  background: linear-gradient(135deg, #0058be, #2270e3);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px -3px rgba(0, 88, 190, 0.2);
}

.ds-pagination__link--disabled {
  pointer-events: none;
  color: #727785;
}

.ds-filter-bar {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(21, 27, 41, 0.04);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.ds-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.ds-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1 1 10rem;
}

.ds-filter-group--auto {
  flex: 0 0 auto;
}

.ds-filter-group--search {
  flex: 0 1 20rem;
}

.ds-filter-group--grow {
  flex-grow: 1;
  max-width: 24rem;
}

.ds-filter-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #727785;
}

.ds-filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  flex: 0 0 auto;
}

.ds-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  margin: 0;
}

@media (min-width: 768px) {
  .ds-dl {
    grid-template-columns: max-content 1fr max-content 1fr;
  }
}

.ds-dl__dt {
  font-size: 0.875rem;
  font-weight: 600;
  color: #424753;
}

.ds-dl__dd {
  font-size: 0.875rem;
  color: #151b29;
  margin: 0;
}

@media (min-width: 768px) {
  .ds-dl__dt--full {
    grid-column: 1;
  }
}

@media (min-width: 768px) {
  .ds-dl__dd--full {
    grid-column: 2 / -1;
  }
}

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

.ds-page-header__info {
  flex: 1 1 auto;
}

.ds-page-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #151b29;
  margin: 0 0 0.25rem;
}

.ds-page-header__subtitle {
  font-size: 0.875rem;
  color: #727785;
  margin: 0;
}

.ds-page-header__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.75rem;
  color: #0058be;
  background: rgba(216, 226, 255, 0.25);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

pre {
  background: #f1f3ff;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-size: 0.75rem;
  line-height: 1.5;
}

pre code {
  background: none;
  padding: 0;
  color: #151b29;
}

.ds-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(194, 198, 214, 0.15);
  margin-bottom: 1.5rem;
}

.ds-tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #727785;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ds-tab:hover {
  color: #0058be;
}

.ds-tab--active, .ds-tab.active {
  color: #0058be;
  font-weight: 600;
  border-bottom-color: #0058be;
}

.ds-tab-content > .ds-tab-pane {
  display: none;
}

.ds-tab-content > .ds-tab-pane.active {
  display: block;
}

.ds-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 27, 41, 0.45);
  backdrop-filter: blur(4px);
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
}

.ds-modal-overlay.open {
  display: flex;
}

.ds-modal {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 12px 40px -10px rgba(21, 27, 41, 0.08);
  max-width: 48rem;
  width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
}

.ds-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(194, 198, 214, 0.15);
}

.ds-modal__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #151b29;
  margin: 0;
}

.ds-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: #727785;
  transition: color 150ms ease;
}

.ds-modal__close:hover {
  color: #151b29;
}

.ds-modal__body {
  padding: 1.5rem;
}

.ds-modal__footer {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top: 1px solid rgba(194, 198, 214, 0.15);
}

.form-control {
  display: block;
  width: 100%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: #151b29;
  background: #f1f3ff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  outline: none;
  transition: box-shadow 150ms ease;
}

.form-control::placeholder {
  color: #727785;
}

.form-control:focus {
  box-shadow: 0 0 0 2px rgba(0, 88, 190, 0.2);
  background: #f1f3ff;
}

.form-control.is-invalid {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3);
}

.form-select {
  display: block;
  width: 100%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: #151b29;
  background: #f1f3ff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  padding-right: 2.5rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23727785' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: box-shadow 150ms ease;
}

.form-select:focus {
  box-shadow: 0 0 0 2px rgba(0, 88, 190, 0.2);
}

.form-select.is-invalid {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3);
}

.form-control-sm,
.form-select-sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #151b29;
  margin-bottom: 0.5rem;
}

.form-label-sm {
  font-size: 0.75rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-check-input {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: #0058be;
  cursor: pointer;
}

.form-check-label {
  font-size: 0.875rem;
  color: #151b29;
  cursor: pointer;
}

.form-text {
  font-size: 0.75rem;
  color: #727785;
  margin-top: 0.25rem;
}

.invalid-feedback {
  font-size: 0.625rem;
  color: #dc2626;
  margin-top: 0.25rem;
}

.invalid-feedback.d-block {
  display: block;
}

.valid-feedback {
  font-size: 0.625rem;
  color: #059669;
  margin-top: 0.25rem;
}

.input-group {
  display: flex;
  gap: 0;
}

.input-group > .form-control {
  border-radius: 0.5rem 0 0 0.5rem;
  flex: 1;
}

.input-group > .ds-btn,
.input-group > .btn {
  border-radius: 0;
}

.input-group > .ds-btn:last-child,
.input-group > .btn:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}

.text-center {
  text-align: center;
}

.text-end {
  text-align: right;
}

.text-start {
  text-align: left;
}

.text-primary {
  color: #0058be !important;
}

.text-success {
  color: #059669 !important;
}

.text-danger {
  color: #dc2626 !important;
}

.text-warning {
  color: #d97706 !important;
}

.text-muted {
  color: #727785 !important;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-nowrap {
  white-space: nowrap;
}

.text-uppercase {
  text-transform: uppercase;
}

.fw-semibold {
  font-weight: 600;
}

.fw-bold {
  font-weight: 700;
}

.small {
  font-size: 0.75rem;
}

.font-mono {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-inline {
  display: inline;
}

.d-inline-block {
  display: inline-block;
}

.d-inline-flex {
  display: inline-flex;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-grow-1 {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: flex-end;
}

.align-items-start {
  align-items: flex-start;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-end {
  justify-content: flex-end;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.w-100 {
  width: 100%;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-8 {
  margin-top: 2rem;
}

.me-1 {
  margin-right: 0.25rem;
}

.me-2 {
  margin-right: 0.5rem;
}

.me-3 {
  margin-right: 0.75rem;
}

.ms-1 {
  margin-left: 0.25rem;
}

.ms-2 {
  margin-left: 0.5rem;
}

.p-0 {
  padding: 0;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.p-6 {
  padding: 1.5rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.m-0 {
  margin: 0;
}

.col-span-2 {
  grid-column: span 2;
}

.max-w-sm {
  max-width: 12rem;
}

.max-w-md {
  max-width: 24rem;
}

.max-w-200 {
  max-width: 200px;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-help {
  cursor: help;
}

.icon-sm {
  font-size: 0.875rem !important;
  vertical-align: middle;
}

.icon-md {
  font-size: 1rem !important;
  vertical-align: middle;
}

.icon-lg {
  font-size: 1.25rem !important;
  vertical-align: middle;
}

.icon-xl {
  font-size: 1.5rem !important;
  vertical-align: middle;
}

.ds-container-sm {
  max-width: 32rem;
  margin: 0 auto;
}

.ds-container-md {
  max-width: 48rem;
  margin: 0 auto;
}

/*# sourceMappingURL=main.css.map */