@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 100 700;
  src: url("./assets/fonts/material-symbols-outlined.ttf") format("truetype");
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

.sxs-functional {
  box-sizing: border-box;
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: 32px 28px 40px;
  color: #0b1c30;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sxs-functional * {
  box-sizing: border-box;
}

.sxs-functional-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.sxs-functional h1,
.sxs-functional h2,
.sxs-functional h3,
.sxs-functional p {
  margin: 0;
}

.sxs-functional h1 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.sxs-functional-subtitle {
  margin-top: 6px;
  color: #617062;
  font-size: 14px;
}

.sxs-functional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.sxs-functional-card {
  border: 1px solid #dbe7dd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 60, 25, 0.05);
}

.sxs-functional-card-pad {
  padding: 18px;
}

.sxs-metric-label {
  color: #617062;
  font-size: 13px;
  font-weight: 700;
}

.sxs-metric-value {
  margin-top: 8px;
  color: #0b1c30;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.sxs-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sxs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.sxs-search-field {
  position: relative;
  flex: 1 1 240px;
  min-width: 220px;
}

.sxs-search-field .material-symbols-outlined {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6d7b6c;
  font-size: 18px;
  pointer-events: none;
}

.sxs-search-field .sxs-input {
  width: 100%;
  padding-left: 34px;
}

.sxs-input,
.sxs-select,
.sxs-textarea {
  min-height: 38px;
  border: 1px solid #bccbb9;
  border-radius: 10px;
  background: #fff;
  color: #0b1c30;
  font-size: 14px;
  outline: 0;
  padding: 8px 10px;
}

.sxs-textarea {
  min-height: 74px;
  resize: vertical;
}

.sxs-input:focus,
.sxs-select:focus,
.sxs-textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.sxs-btn {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: #eef7f0;
  color: #006e2f;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  padding: 8px 14px;
}

.sxs-btn:hover {
  filter: brightness(0.98);
}

.sxs-btn-primary {
  background: #22c55e;
  color: #004b1e;
}

.sxs-btn-dark {
  background: #0b1c30;
  color: #fff;
}

.sxs-btn-danger {
  background: #ffdad6;
  color: #93000a;
}

.sxs-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.sxs-table-wrap {
  overflow: auto;
}

.sxs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.sxs-table th,
.sxs-table td {
  border-bottom: 1px solid #edf2ee;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.sxs-table th {
  background: #f4f8f5;
  color: #617062;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.sxs-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid #edf2ee;
  color: #617062;
  font-size: 13px;
}

.sxs-pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sxs-page-btn {
  min-width: 32px;
  height: 32px;
  border: 1px solid #dbe7dd;
  border-radius: 8px;
  background: #fff;
  color: #0b1c30;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sxs-page-btn:hover:not(:disabled) {
  background: #eef7f0;
  border-color: #bccbb9;
}

.sxs-page-btn.is-active {
  background: #22c55e;
  border-color: #22c55e;
  color: #004b1e;
}

.sxs-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.sxs-page-icon .material-symbols-outlined {
  font-size: 18px;
}

.sxs-pagination-ellipsis {
  padding: 0 2px;
  color: #617062;
  font-weight: 850;
}

.sxs-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.sxs-product-thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #eef4ef;
  border: 1px solid #dbe7dd;
}

.sxs-product-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007a3d;
  font-size: 24px;
  font-weight: 900;
}

.sxs-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  padding: 4px 10px;
}

.sxs-badge-green {
  background: #daf8e5;
  color: #006e2f;
}

.sxs-badge-orange {
  background: #fff0de;
  color: #b85d00;
}

.sxs-badge-gray {
  background: #eef1ef;
  color: #5d6a5f;
}

.sxs-badge-red {
  background: #ffdad6;
  color: #93000a;
}

.sxs-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.sxs-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sxs-form-field label {
  color: #617062;
  font-size: 12px;
  font-weight: 850;
}

.sxs-group-settings {
  width: min(100%, 920px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sxs-group-title {
  margin-bottom: 4px;
}

.sxs-group-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sxs-group-title h2 {
  color: #0b1c30;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.sxs-group-title p {
  margin-top: 8px;
  color: #617062;
  font-size: 14px;
}

.sxs-group-card {
  border-radius: 12px;
  padding: 28px;
}

.sxs-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.sxs-section-heading .material-symbols-outlined {
  color: #007a3d;
}

.sxs-section-heading h3 {
  color: #0b1c30;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 900;
}

.sxs-section-heading-between {
  justify-content: space-between;
}

.sxs-section-heading-between > .sxs-section-heading {
  margin-bottom: 0;
}

.sxs-group-form-grid {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.sxs-info-line {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #dbe7dd;
  border-radius: 8px;
  background: #f2f6ff;
  color: #4f5e53;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sxs-info-line .material-symbols-outlined {
  font-size: 20px;
}

.sxs-info-line p {
  font-size: 14px;
}

.sxs-group-actions {
  justify-content: flex-end;
  margin: 20px 0 0;
}

.sxs-group-history-table th {
  background: #ffffff;
}

.sxs-group-history-table td,
.sxs-group-history-table th {
  padding: 16px 12px;
}

.sxs-table-action {
  text-align: right !important;
  white-space: nowrap;
}

.sxs-link-primary,
.sxs-link-danger {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  padding: 0;
}

.sxs-link-primary {
  color: #007a3d;
}

.sxs-link-danger {
  color: #ba1a1a;
}

.sxs-delivery-courier-select {
  min-width: 140px;
  min-height: 34px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
}

.sxs-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 16px;
}

.sxs-stats-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.sxs-stats-card-head h2 {
  flex: 1;
  min-width: 0;
}

.sxs-stats-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #617062;
  font-size: 12px;
  font-weight: 800;
}

.sxs-stats-filter .sxs-input {
  min-width: 168px;
}

.sxs-stats-filter-static {
  justify-content: flex-end;
}

.sxs-label-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  align-items: start;
}

.sxs-print-label {
  position: relative;
  min-height: 180px;
  border: 2px solid #111;
  border-radius: 10px;
  background: #fff;
  color: #000;
  padding: 14px 16px 16px;
  overflow: hidden;
}

.sxs-print-label,
.sxs-print-label * {
  box-sizing: border-box;
  min-width: 0;
}

.sxs-print-label-head {
  position: relative;
  display: block;
  border-bottom: 2px solid #111;
  padding: 0 48px 8px 0;
  margin-bottom: 12px;
}

.sxs-label-head-main {
  flex: 1;
}

.sxs-label-seq {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 6px;
  background: #000;
  color: #fff;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.sxs-label-section + .sxs-label-section {
  margin-top: 8px;
}

.sxs-print-label small {
  display: block;
  color: #5d6670;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.sxs-print-label strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sxs-label-community {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sxs-print-label .sxs-label-order-no {
  max-width: 100%;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  word-break: keep-all;
}

.sxs-label-user {
  font-size: 22px;
}

.sxs-label-product {
  font-size: 22px;
  line-height: 1.18;
}

@media print {
  .sxs-admin-sidebar,
  .sxs-admin-topbar,
  .sxs-functional-header,
  .sxs-toolbar {
    display: none !important;
  }

  .sxs-admin-main,
  .sxs-admin-content {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }

  .sxs-admin-content {
    padding: 0 !important;
    background: #fff !important;
  }

  .sxs-label-grid {
    display: grid;
    grid-template-columns: repeat(3, 62mm);
    gap: 5mm;
    padding: 6mm;
  }

  .sxs-print-label {
    width: 62mm;
    min-height: 42mm;
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none !important;
  }
}

.sxs-login-message {
  min-height: 20px;
  margin-top: 12px;
  color: #93000a;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.sxs-empty {
  padding: 34px;
  color: #617062;
  text-align: center;
}

.sxs-muted {
  color: #617062;
}

/* ===== Notice Dialog ===== */
.sxs-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(11, 28, 48, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: sxs-fade-in 0.15s ease;
}

.sxs-notice {
  width: min(100%, 380px);
  border: 1px solid #dbe7dd;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(11, 28, 48, 0.18);
  padding: 22px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  animation: sxs-slide-up 0.18s ease;
}

.sxs-notice-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff0de;
  color: #b85d00;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sxs-notice-success .sxs-notice-icon {
  background: #daf8e5;
  color: #006e2f;
}

.sxs-notice-error .sxs-notice-icon {
  background: #ffdad6;
  color: #93000a;
}

.sxs-notice-content {
  min-width: 0;
}

.sxs-notice-content h3 {
  margin: 0;
  color: #0b1c30;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
}

.sxs-notice-content p {
  margin: 6px 0 0;
  color: #617062;
  font-size: 14px;
  line-height: 1.55;
}

.sxs-notice-close {
  grid-column: 2;
  justify-self: start;
  min-height: 36px;
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  background: #0b1c30;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  padding: 8px 14px;
}

.sxs-notice-close:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.24);
  outline-offset: 2px;
}

/* ===== Modal ===== */
.sxs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: sxs-fade-in 0.15s ease;
}

.sxs-modal {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: sxs-slide-up 0.2s ease;
  overflow: hidden;
}

.sxs-product-modal {
  max-width: 560px;
}

.sxs-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.sxs-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
  color: #0b1c30;
}

.sxs-modal-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #90a091;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}

.sxs-modal-close:hover {
  background: #eef7f0;
  color: #006e2f;
}

.sxs-modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sxs-modal-body .sxs-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sxs-modal-body .sxs-form-field label {
  font-size: 13px;
  font-weight: 800;
  color: #4f5e53;
}

.sxs-modal-body .sxs-input {
  width: 100%;
}

.sxs-input-error {
  border-color: #ba1a1a !important;
  box-shadow: 0 0 0 3px rgba(186, 26, 26, 0.1) !important;
}

.sxs-stock-modal {
  max-width: 460px;
}

.sxs-stock-product {
  border: 1px solid #dbe7dd;
  border-radius: 14px;
  background: #f8fcf9;
  padding: 12px;
}

.sxs-stock-product strong {
  display: block;
  color: #0b1c30;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.sxs-stock-kicker {
  margin-bottom: 4px;
  color: #617062;
  font-size: 12px;
  font-weight: 850;
}

.sxs-stock-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sxs-stock-summary > div {
  border: 1px solid #edf2ee;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.sxs-stock-summary span {
  display: block;
  color: #617062;
  font-size: 12px;
  font-weight: 850;
}

.sxs-stock-summary strong {
  display: block;
  margin-top: 6px;
  color: #0b1c30;
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

.sxs-stock-input {
  min-height: 48px;
  font-size: 22px;
  font-weight: 900;
}

.sxs-stock-help {
  margin: 0;
  font-size: 12px;
}

.sxs-stock-error {
  min-height: 18px;
  margin: 0;
  color: #ba1a1a;
  font-size: 12px;
  font-weight: 800;
}

.sxs-product-upload {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.sxs-product-upload-preview {
  width: 132px;
  height: 132px;
  border-radius: 18px;
  border: 1px dashed #bccbb9;
  background: linear-gradient(135deg, #f7fff8 0%, #eef7f0 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sxs-product-upload-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sxs-product-upload-placeholder {
  color: #7f8d81;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  padding: 0 12px;
}

.sxs-product-upload-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sxs-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 24px 20px;
}

@keyframes sxs-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sxs-slide-up {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .sxs-functional {
    padding: 18px;
  }

  .sxs-functional-header,
  .sxs-two-col,
  .sxs-stats-card-head {
    display: flex;
    flex-direction: column;
  }

  .sxs-stats-card-head {
    align-items: stretch;
  }

  .sxs-product-upload {
    grid-template-columns: 1fr;
  }
}

/* Shared admin polish layer */

.sxs-page-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 32px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sxs-page-shell-wide {
  width: min(100%, 1560px);
}

.sxs-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.sxs-page-header > div:first-child h1,
.sxs-page-header > div:first-child h2 {
  margin: 0;
  color: #0b1c30;
  font-size: 38px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.sxs-page-header > div:first-child p {
  margin: 8px 0 0;
  color: #607062;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 550;
}

.sxs-page-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sxs-panel,
.sxs-toolbar-card,
.sxs-kpi-card,
.sxs-table-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dbe7dd;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(8, 36, 20, 0.05);
}

.sxs-panel {
  padding: 24px;
}

.sxs-panel-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 252, 249, 0.96) 100%);
}

.sxs-toolbar-card {
  padding: 18px 20px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.sxs-kpi-grid {
  display: grid;
  gap: 20px;
}

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

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

.sxs-kpi-card {
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sxs-kpi-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 52px rgba(8, 36, 20, 0.07);
}

.sxs-kpi-label {
  color: #607062;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sxs-kpi-value {
  margin-top: 10px;
  color: #0b1c30;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.sxs-kpi-value.is-money {
  font-size: 34px;
}

.sxs-kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.sxs-inline-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(188, 203, 185, 0.55);
  background: #f3f8f4;
  color: #4f5e53;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sxs-inline-chip.is-green {
  background: rgba(34, 197, 94, 0.12);
  color: #006e2f;
  border-color: rgba(34, 197, 94, 0.2);
}

.sxs-inline-chip.is-blue {
  background: rgba(130, 171, 255, 0.16);
  color: #003d88;
  border-color: rgba(130, 171, 255, 0.3);
}

.sxs-inline-chip.is-amber {
  background: rgba(255, 217, 167, 0.26);
  color: #9a5a00;
  border-color: rgba(245, 158, 11, 0.18);
}

.sxs-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.sxs-panel-header h3,
.sxs-panel-header h2 {
  margin: 0;
  color: #0b1c30;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.sxs-panel-header p {
  margin: 6px 0 0;
  color: #607062;
  font-size: 14px;
  line-height: 1.45;
}

.sxs-table-panel {
  overflow: hidden;
}

.sxs-table-panel .overflow-x-auto {
  width: 100%;
}

.sxs-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.sxs-data-table thead th {
  background: #f7faf7;
  color: #667467;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
}

.sxs-data-table tbody td {
  color: #0b1c30;
  font-size: 15px;
  line-height: 1.45;
}

.sxs-data-table tbody tr {
  transition: background-color 0.16s ease;
}

.sxs-data-table tbody tr:hover {
  background: rgba(34, 197, 94, 0.035);
}

.sxs-table-panel [class*="uppercase"],
.sxs-panel [class*="uppercase"],
.sxs-kpi-card [class*="uppercase"] {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}

.sxs-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sxs-status-pill.is-neutral {
  background: rgba(213, 224, 248, 0.46);
  border-color: rgba(84, 95, 115, 0.14);
  color: #4e5a6e;
}

.sxs-status-pill.is-warning {
  background: rgba(255, 240, 222, 0.92);
  border-color: rgba(245, 158, 11, 0.18);
  color: #b86a00;
}

.sxs-status-pill.is-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.18);
  color: #0a8c3b;
}

.sxs-status-pill.is-muted {
  background: rgba(238, 241, 239, 0.95);
  border-color: rgba(93, 106, 95, 0.14);
  color: #5d6a5f;
}

.sxs-mini-stat-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e2ebe3;
  background: linear-gradient(180deg, #ffffff 0%, #fbfefb 100%);
  box-shadow: 0 14px 28px rgba(8, 36, 20, 0.04);
}

.sxs-ranking-item {
  border-radius: 16px;
  padding: 12px;
}

.sxs-ranking-item:hover {
  background: #f6faf6 !important;
}

.sxs-page-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.sxs-page-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #dbe7dd;
  border-radius: 999px;
  background: #ffffff;
  color: #617062;
  font-size: 14px;
  font-weight: 800;
}

.sxs-page-tab.is-active {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.2);
  color: #006e2f;
}

.sxs-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sxs-filter-pill {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #dbe7dd;
  background: #ffffff;
  color: #4f5e53;
  font-size: 13px;
  font-weight: 700;
}

.sxs-filter-pill.is-active {
  background: rgba(130, 171, 255, 0.16);
  border-color: rgba(130, 171, 255, 0.28);
  color: #003d88;
}

.sxs-label-grid > div {
  border-color: #171a1d !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 36px rgba(11, 28, 48, 0.06);
}

.sxs-label-grid [class*="uppercase"] {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}

.sxs-label-grid .font-mono {
  font-size: 16px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
}

.sxs-label-grid .text-gray-500 {
  color: #6c786d !important;
  font-weight: 700 !important;
}

.sxs-label-grid .font-title-lg {
  line-height: 1.2 !important;
}

.sxs-btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sxs-page-shell button,
.sxs-page-shell select,
.sxs-page-shell input {
  transition: box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.sxs-page-shell select,
.sxs-page-shell input {
  min-height: 42px;
  border-radius: 14px;
}

.sxs-page-shell .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500;
}

@media (max-width: 1180px) {
  .sxs-kpi-grid-3,
  .sxs-kpi-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sxs-page-shell,
  .sxs-page-shell-wide {
    width: 100%;
    padding: 24px 18px 30px;
    gap: 18px;
  }

  .sxs-page-header > div:first-child h1,
  .sxs-page-header > div:first-child h2 {
    font-size: 30px;
  }

  .sxs-panel,
  .sxs-kpi-card {
    padding: 18px;
    border-radius: 18px;
  }

  .sxs-toolbar-card {
    padding: 16px;
  }

  .sxs-kpi-grid-3,
  .sxs-kpi-grid-2 {
    grid-template-columns: 1fr;
  }
}
