.msl-viewer {
  --msl-font: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --msl-heading-font: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --msl-text: #1f2a37;
  --msl-muted: #6b7280;
  --msl-border: #e4e7ec;
  --msl-border-dark: #d9dee7;
  --msl-bg: #ffffff;
  --msl-subtle: #f8fafc;
  --msl-subtle-2: #f2f5f8;
  --msl-blue: #1e567e;
  --msl-blue-dark: #123d5d;
  --msl-active: #1d4f73;
  --msl-focus: rgba(30, 86, 126, .16);
  width: 100%;
  max-width: 1220px;
  margin: 24px 0 36px;
  color: var(--msl-text);
  font-family: var(--msl-font);
}

.msl-viewer *,
.msl-viewer *::before,
.msl-viewer *::after {
  box-sizing: border-box;
}

.msl-toolbar {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 30px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.msl-search-panel {
  width: min(100%, 460px);
}

.msl-search-panel label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.msl-search-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.msl-search,
.msl-viewer input[type="search"].msl-search {
  width: 230px;
  height: 45px;
  min-height: 45px;
  padding: 0 12px;
  color: #474747;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 4px;
  box-shadow: none;
  font-family: var(--msl-font);
  font-size: 14px;
  line-height: 45px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.msl-search::placeholder {
  color: #9099a4;
}

.msl-search:focus {
  border-color: var(--msl-blue);
  box-shadow: 0 0 0 3px var(--msl-focus);
}

.msl-search-all,
.msl-viewer button.msl-search-all {
  height: 41px;
  min-height: 41px;
  padding: 0 17px;
  color: #fff;
  background: linear-gradient(180deg, #28648d, #1e567e);
  border: 1px solid #174765;
  border-radius: 4px;
  box-shadow: none;
  cursor: pointer;
  font-family: var(--msl-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 39px;
  text-align: center;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.msl-search-all:hover,
.msl-search-all:focus-visible {
  background: linear-gradient(180deg, #1f5b82, #16496b);
  border-color: #103b57;
  box-shadow: 0 2px 7px rgba(17, 24, 39, .10);
  outline: none;
}

.msl-shell {
  display: grid;
  grid-template-columns: 257px minmax(0, 1fr);
  gap: 19px;
  min-height: 560px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.msl-sidebar {
  padding: 0;
  background: transparent;
  border: 0;
}

.msl-sidebar-title {
  display: none;
}

.msl-tab-list {
  display: grid;
  gap: 6px;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.msl-tab,
.msl-tab:visited {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 41px;
  padding: 10px 14px;
  color: #1f3447;
  background: #fff;
  border: 1px solid #e0e4e9;
  border-radius: 4px;
  box-shadow: none;
  cursor: pointer;
  font-family: var(--msl-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, box-shadow .15s ease, background .15s ease;
}

.msl-tab::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: transparent;
  border-radius: 2px;
  transition: background .15s ease;
}

.msl-tab-name {
  display: block;
  width: 100%;
  color: inherit;
  font-family: var(--msl-font);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: uppercase;
}

.msl-tab:hover,
.msl-tab:focus-visible {
  color: var(--msl-blue-dark);
  background: #fff;
  border-color: #cfd8e3;
  box-shadow: 0 2px 7px rgba(17, 24, 39, .06);
  outline: none;
  text-decoration: none;
}

.msl-tab.is-active {
  color: var(--msl-blue-dark);
  background: #fff;
  border-color: #d7dfe8;
  box-shadow: 0 3px 13px rgba(17, 24, 39, .06);
}

.msl-tab.is-active::before {
  background: #d6dee8;
}

.msl-content {
  min-width: 0;
  padding: 0;
  background: transparent;
}

.msl-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 15px;
  padding: 22px 16px 21px;
  background: #fff;
  border: 1px solid #edf0f3;
  border-radius: 0;
  box-shadow: none;
}

.msl-kicker {
  display: block;
  margin: 0 0 8px;
  color: #4b5563;
  font-family: var(--msl-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.msl-current-heading,
.msl-table-header h3,
.msl-result-group h4 {
  margin: 0;
  color: #1f2937;
  font-family: var(--msl-heading-font);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}

.msl-current-meta,
.msl-table-header p {
  margin: 8px 0 0;
  color: #6b7280;
  font-family: var(--msl-font);
  font-size: 13px;
  line-height: 1.4;
}

.msl-count {
  flex: 0 0 auto;
  min-width: 106px;
  padding: 13px 15px 14px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e4e9;
  border-radius: 13px;
}

.msl-count strong {
  display: block;
  color: #1d3551;
  font-family: var(--msl-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.msl-count span {
  display: block;
  margin-top: 8px;
  color: #4b5563;
  font-family: var(--msl-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.msl-table-wrap {
  width: 100%;
  overflow: auto;
  background: #fff;
  border: 1px solid #dfe5eb;
  border-radius: 0;
  box-shadow: none;
}

.msl-table-wrap.compact {
  border-radius: 0;
}

.msl-table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--msl-text);
  font-family: var(--msl-font);
  font-size: 14px;
  line-height: 1.35;
}

.msl-table col.msl-col-document-number {
  width: 20%;
}

.msl-table col.msl-col-description {
  width: 50%;
}

.msl-table thead th,
.msl-table .msl-th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #172839;
  background: linear-gradient(180deg, #f7f9fb, #eef3f7);
  border-bottom: 1px solid #cfd7e1;
  text-align: left;
  white-space: nowrap;
}

.msl-table th,
.msl-table td {
  padding: 11px 13px;
  border-bottom: 1px solid #e4e8ee;
  vertical-align: top;
}

.msl-table th + th,
.msl-table td + td {
  border-left: 1px solid #e7ebf0;
}

.msl-table tbody tr:nth-child(even):not(.msl-group-row) {
  background: #f8fafc;
}

.msl-table tbody tr:hover:not(.msl-group-row) {
  background: #fdfefe;
}

.msl-table tbody tr:last-child td {
  border-bottom: 0;
}

.msl-sort,
.msl-viewer button.msl-sort {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font-family: var(--msl-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
}

.msl-column-label {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
}

.msl-sort-icon::before {
  content: "↕";
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.msl-sort.is-sorted.asc .msl-sort-icon::before { content: "↑"; color: var(--msl-blue); }
.msl-sort.is-sorted.desc .msl-sort-icon::before { content: "↓"; color: var(--msl-blue); }

.msl-td,
.msl-table td {
  color: #172839;
  font-family: var(--msl-font);
  font-size: 14px;
  font-weight: 400;
}

.msl-td-document-number {
  width: 20%;
  color: #193a54;
  font-weight: 400;
  white-space: nowrap;
}

.msl-td-description {
  width: 50%;
  min-width: 50%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.msl-th-document-number,
.msl-th-description,
.msl-th-revision,
.msl-td-document-number,
.msl-td-description,
.msl-td-revision {
  font-family: var(--msl-font);
}

.msl-table mark {
  color: #2f2504;
  background: #fff0a6;
  border-radius: 2px;
  padding: 0 2px;
}

.msl-group-row td {
  color: #555f6d;
  background: #f9fafb;
  border-bottom-color: #e4e8ee;
  font-family: var(--msl-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.msl-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 24px;
  color: var(--msl-muted);
  background: #fff;
  border: 1px solid var(--msl-border);
  border-radius: 0;
  font-family: var(--msl-font);
  font-size: 14px;
  text-align: center;
}

.msl-error {
  color: #b42318;
  background: #fffafa;
  border-color: #f1b8b2;
}

.msl-error strong,
.msl-error span {
  display: block;
}

.msl-spinner {
  width: 20px;
  height: 20px;
  margin-bottom: 8px;
  border: 2px solid #d6dce4;
  border-top-color: var(--msl-blue);
  border-radius: 50%;
  animation: msl-spin .8s linear infinite;
}

@keyframes msl-spin {
  to { transform: rotate(360deg); }
}

.msl-skeleton {
  height: 41px;
  border: 1px solid #e0e4e9;
  border-radius: 4px;
  background: linear-gradient(90deg, #f4f6f8 0%, #fff 50%, #f4f6f8 100%);
  background-size: 200% 100%;
  animation: msl-shimmer 1.2s ease-in-out infinite;
}

.msl-skeleton.short {
  width: 100%;
}

@keyframes msl-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.msl-empty {
  color: var(--msl-muted);
  font-family: var(--msl-font);
  font-size: 14px;
}

.msl-result-group {
  margin-top: 15px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.msl-result-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 10px;
}

.msl-result-group h4 {
  font-size: 18px;
}

.msl-result-group-head span {
  color: var(--msl-muted);
  font-family: var(--msl-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .msl-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .msl-tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .msl-viewer {
    margin-top: 18px;
  }

  .msl-search-row,
  .msl-table-header,
  .msl-result-group-head {
    flex-direction: column;
    align-items: stretch;
  }

  .msl-search-panel,
  .msl-search,
  .msl-viewer input[type="search"].msl-search,
  .msl-search-all,
  .msl-viewer button.msl-search-all {
    width: 100%;
  }

  .msl-tab-list {
    grid-template-columns: 1fr;
  }

  .msl-table-header {
    padding: 18px 14px;
  }

  .msl-table th,
  .msl-table td {
    padding: 10px 11px;
  }
}
