:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #1c2940;
  background: #fff;
  font-synthesis: none;
  --muted: #758096;
  --line: #e7ebf1;
  --blue: #2857d9;
  --pale: #eef3ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue);
}
.topbar {
  height: 80px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 700;
}
.brand-symbol {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -2px;
  padding-right: 3px;
}
.brand-divider {
  color: #c3cbd9;
  margin: 0 15px;
  font-weight: 350;
}
.brand-sub {
  font-size: 19px;
  letter-spacing: -0.5px;
  font-weight: 450;
}
.top-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #68748b;
  font-size: 12px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #38a67a;
  border-radius: 50%;
}
.shell {
  display: flex;
  min-height: calc(100vh - 80px);
}
.sidebar {
  width: 245px;
  flex-shrink: 0;
  background: #f8f9fc;
  border-right: 1px solid var(--line);
  padding: 36px 20px 25px;
  display: flex;
  flex-direction: column;
}
.nav-label {
  font-size: 10px;
  color: #9099aa;
  letter-spacing: 1.6px;
  font-weight: 650;
  padding: 0 17px;
  margin: 0 0 14px;
}
.products-label {
  margin-top: 36px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #657086;
  padding: 12px 15px;
  border-radius: 7px;
  margin: 3px 0;
  font-weight: 500;
}
.nav-link > span:first-child {
  font-size: 21px;
  width: 20px;
  line-height: 20px;
}
.nav-link.active {
  background: #eaf0ff;
  color: #2453cb;
}
.nav-link:hover {
  background: #edf0f7;
}
.sidebar-foot {
  margin-top: auto;
  padding: 90px 15px 0;
  color: #7e899c;
  font-size: 12px;
  line-height: 1.8;
}
.sidebar-foot strong {
  display: block;
  font-size: 12px;
  color: #5f6c82;
  margin-top: 14px;
}
.sidebar-foot p {
  margin: 4px 0;
}
.small-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dce2ed;
  border-radius: 9px;
  color: #657aa2;
  font-size: 20px;
}
main {
  width: 100%;
  max-width: 1500px;
  padding: 34px 52px 24px;
  min-width: 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8590a4;
  font-size: 12px;
  margin-bottom: 38px;
}
.breadcrumbs a:hover {
  color: var(--blue);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #7e8aa0;
  font-weight: 650;
  margin: 0 0 10px;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 620;
  margin: 0 0 12px;
}
h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0;
}
h3 {
  font-size: 15px;
  margin: 0 0 6px;
  font-weight: 600;
}
.subtitle {
  color: #7c879a;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.secondary,
.primary {
  border-radius: 6px;
  padding: 10px 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.secondary {
  border: 1px solid #dfe5ef;
  background: white;
  color: #516078;
}
.secondary:hover {
  border-color: #a6b6d5;
  background: #f9fbff;
}
.primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}
.primary:hover {
  background: #1d46b5;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 34px 0 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.search {
  display: flex;
  align-items: center;
  border: 1px solid #e1e6ef;
  border-radius: 7px;
  padding: 10px 12px;
  max-width: 360px;
  width: 100%;
  gap: 10px;
  background: #fff;
}
.search svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #91a0b8;
  stroke-width: 1.6;
  flex-shrink: 0;
}
.search input {
  border: 0;
  outline: 0;
  width: 100%;
  color: #33435e;
  font-size: 12px;
  background: transparent;
}
.search:focus-within {
  border-color: #94adea;
  box-shadow: 0 0 0 2px #edf3ff;
}
.search input::placeholder {
  color: #9aa5b7;
}
.count {
  font-size: 12px;
  color: #929bac;
  white-space: nowrap;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: #65748b;
  margin: 0 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  min-height: 205px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  position: relative;
}
.product-card:hover {
  border-color: #bccbed;
  box-shadow: 0 4px 18px #253c6710;
}
.folder {
  display: block;
  width: 46px;
  height: 36px;
  border-radius: 4px 6px 6px 6px;
  background: #e6edff;
  position: relative;
  margin: 9px 0 24px;
  border: 1px solid #cfdbf9;
}
.folder:before {
  content: "";
  position: absolute;
  top: -8px;
  left: -1px;
  width: 21px;
  height: 9px;
  background: #d6e1fc;
  border: 1px solid #cfdbf9;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}
.product-card:nth-child(even) .folder {
  background: #e4f2ee;
  border-color: #c8e5dc;
}
.product-card:nth-child(even) .folder:before {
  background: #d3eae2;
  border-color: #c8e5dc;
}
.card-arrow {
  position: absolute;
  right: 24px;
  top: 22px;
  color: #9ba9c1;
  font-size: 19px;
}
.card-description {
  color: #8d97a8;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid #f0f2f6;
  font-size: 11px;
  color: #8190a5;
}
.badge {
  color: #38846e;
  background: #edf7f2;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 7px;
  display: inline-block;
  letter-spacing: 0.2px;
}
.latest-card {
  background: #f5f8ff;
  border: 1px solid #dfe7f9;
  border-radius: 10px;
  padding: 26px 28px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.latest-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.latest-card p {
  font-size: 12px;
  color: #8190aa;
  margin: 0;
  line-height: 1.8;
}
.latest-card .actions {
  display: flex;
  gap: 8px;
}
.release {
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 14px;
  overflow: hidden;
}
.release summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 21px;
  background: #fff;
}
.release summary::-webkit-details-marker {
  display: none;
}
.release summary:after {
  content: "⌄";
  color: #8c98ad;
  font-size: 18px;
}
.release-title {
  display: flex;
  gap: 10px;
  align-items: center;
}
.release-date {
  color: #8e99aa;
  font-size: 11px;
  margin-left: auto;
}
.file-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.file-table th {
  font-size: 10px;
  font-weight: 500;
  color: #8c96a7;
  background: #fafbfe;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.file-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eff2f7;
  font-size: 12px;
  color: #76839a;
}
.file-table tr:last-child td {
  border-bottom: 0;
}
.file-table td:first-child {
  color: #3f4e68;
  word-break: break-word;
}
.file-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.file-icon {
  font-size: 9px;
  color: #4262a6;
  background: #edf2fc;
  border: 1px solid #dce5f7;
  min-width: 30px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.file-table .download-cell {
  text-align: right;
  white-space: nowrap;
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  padding: 5px;
  cursor: pointer;
}
.metadata {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 10px;
  color: #929cb0;
  background: #fcfdff;
}
.metadata code {
  font-size: 10px;
}
.empty {
  min-height: 280px;
  border: 1px dashed #dde4ef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 36px;
  margin-top: 8px;
}
.empty .folder {
  margin-bottom: 25px;
}
.empty h2 {
  font-size: 18px;
  margin-bottom: 10px;
}
.empty p {
  font-size: 13px;
  color: #8a96a9;
  max-width: 350px;
  line-height: 1.8;
  margin: 0;
}
.info-strip {
  margin-top: 32px;
  background: #f9fafc;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  color: #8390a5;
  font-size: 12px;
  line-height: 1.8;
}
.info-strip strong {
  color: #5e6e86;
  display: block;
  font-weight: 550;
}
.info-strip p {
  margin: 0;
}
.page-footer {
  margin-top: 70px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #9aa3b2;
  font-size: 10px;
}
.loading {
  padding: 55px;
  text-align: center;
  color: #8a96a9;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: #26354e;
  color: white;
  box-shadow: 0 4px 30px #10204022;
  border-radius: 7px;
  font-size: 12px;
  z-index: 10;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  width: 650px;
  max-width: calc(100% - 32px);
  color: #25334b;
  box-shadow: 0 20px 90px #10204030;
}
dialog::backdrop {
  background: #1b2a4555;
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.icon-button {
  border: 0;
  background: #f3f5f9;
  color: #75829a;
  font-size: 23px;
  border-radius: 5px;
  padding: 0 9px;
}
dialog pre {
  font-family: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.9;
  max-height: 50vh;
  overflow: auto;
  padding: 22px 0;
  margin: 0;
  color: #68758c;
}
@media (min-width: 1550px) {
  main {
    padding: 42px 70px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 205px;
  }
  main {
    padding: 30px;
  }
  .latest-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .latest-card .actions {
    align-self: flex-start;
  }
}
@media (max-width: 700px) {
  .topbar {
    height: 66px;
    padding: 0 20px;
  }
  .top-label {
    display: none;
  }
  .brand {
    font-size: 21px;
  }
  .brand-sub {
    font-size: 17px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    width: 100%;
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow: auto;
  }
  .sidebar .nav-label,
  .sidebar-foot {
    display: none;
  }
  #variants-nav {
    display: flex;
    gap: 6px;
  }
  .nav-link {
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 12px;
  }
  .nav-link > span:first-child {
    font-size: 17px;
  }
  main {
    padding: 25px 20px;
  }
  .breadcrumbs {
    margin-bottom: 25px;
  }
  h1 {
    font-size: 27px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }
  .page-heading .secondary {
    font-size: 11px;
    padding: 8px 10px;
  }
  .toolbar {
    margin-top: 24px;
  }
  .search {
    max-width: none;
  }
  .count {
    display: none;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .latest-card {
    padding: 20px;
  }
  .latest-card .actions {
    flex-wrap: wrap;
  }
  .file-table th,
  .file-table td {
    padding: 12px 13px;
  }
  .file-table th:nth-child(2),
  .file-table td:nth-child(2) {
    display: none;
  }
  .file-table .secondary {
    padding: 8px;
    font-size: 10px;
  }
  .file-name {
    gap: 8px;
    font-size: 11px;
  }
  .release summary {
    padding: 15px;
  }
  .release-date {
    font-size: 10px;
  }
  .release-title {
    font-size: 12px;
    gap: 7px;
  }
  .page-footer {
    margin-top: 40px;
    flex-direction: column;
    gap: 7px;
  }
  .info-strip {
    padding: 17px;
  }
  .metadata {
    gap: 10px;
  }
  .product-card {
    min-height: 180px;
  }
}
.info-strip .small-icon {
  flex-shrink: 0;
}
