:root {
  --topbar: #202020;
  --sidebar: #d9d9d9;
  --sidebar-head: #4a4a4a;
  --active: #2db671;
  --text: #3a3a3a;
  --muted: #666666;
  --line: #c4c4c4;
  --row: #ffffff;
  --row-alt: #f7f7f7;
  --header: #f1f1f1;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

.nx-shell {
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  grid-template-rows: 56px minmax(0, 1fr);
  min-height: 100vh;
}

.nx-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 56px;
  background: var(--topbar);
  color: #ffffff;
}

.product {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 318px;
  min-width: 318px;
  padding: 0 10px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #d5dce4;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}

.product-version {
  margin-left: 4px;
  color: #e2e2e2;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.product-copy {
  min-width: 0;
}

.logo-mark,
.product-link,
.product-version {
  text-decoration: none;
}

.product-link {
  color: inherit;
}

.logo-mark:hover {
  filter: brightness(1.08);
}

.logo-mark:focus-visible,
.product-link:focus-visible,
.product-version:focus-visible {
  border-radius: 3px;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.workspace-tabs {
  display: flex;
  align-self: stretch;
  align-items: stretch;
}

.workspace-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.workspace-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.workspace-tab.is-active {
  background: var(--active);
  color: #ffffff;
}

.top-icon,
.signout {
  display: grid;
  align-items: center;
  justify-items: center;
  height: 56px;
  min-width: 56px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  text-decoration: none;
}

.top-icon.active {
  background: var(--active);
}

.cube-icon {
  width: 24px;
  height: 22px;
  border: 4px solid #ffffff;
  border-radius: 4px;
}

.top-spacer {
  flex: 1;
}

.user-pill {
  min-width: 120px;
  padding: 0 12px;
  font-weight: 700;
}

.user-menu {
  position: relative;
  align-self: stretch;
}

.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 56px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  padding: 0 12px;
}

.user-menu-trigger:hover,
.user-menu-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08);
}

.user-menu-caret {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.user-menu-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 8px;
  z-index: 30;
  display: none;
  min-width: 152px;
  border: 1px solid #cfd8d4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(12, 25, 21, 0.18);
  padding: 6px;
}

.user-menu:hover .user-menu-popover,
.user-menu-popover.is-open {
  display: block;
}

.user-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #22312e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  padding: 0 10px;
  text-align: left;
}

.user-menu-item:hover {
  background: #edf3ef;
}

.signout {
  min-width: 94px;
  font-size: 13px;
  font-weight: 700;
}

.nx-sidebar {
  grid-row: 2;
  background: var(--sidebar);
}

.side-nav {
  display: grid;
}

.side-item,
.side-subitem {
  display: flex;
  align-items: center;
  width: 100%;
  height: 52px;
  border: 0;
  background: transparent;
  color: #3f3f3f;
  cursor: pointer;
  padding: 0 20px;
  text-align: left;
}

.side-item {
  gap: 12px;
  font-size: 18px;
}

.side-item:hover,
.side-item.is-active,
.side-subitem:hover,
.side-subitem.is-active {
  background: var(--active);
  color: #ffffff;
}

.side-icon {
  width: 24px;
  color: #000000;
  font-size: 23px;
  text-align: center;
}

.side-caret {
  margin-left: auto;
  color: #333333;
  font-size: 14px;
  transition: transform 0.12s ease;
}

.side-item:not(.is-expanded) .side-caret {
  transform: rotate(-90deg);
}

.side-item.is-active .side-icon,
.side-item:hover .side-icon,
.side-item.is-active .side-caret,
.side-item:hover .side-caret {
  color: #ffffff;
}

.search-subnav {
  display: grid;
}

.search-subnav[hidden] {
  display: none;
}

.side-subitem {
  height: 44px;
  padding-left: 55px;
  font-size: 17px;
}

.nx-content {
  min-width: 0;
  overflow: auto;
  background: #ffffff;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.page-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 0 26px;
}

.heading-icon {
  width: 34px;
  color: #333333;
  font-size: 32px;
  text-align: center;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: #333333;
  font-size: 24px;
  font-weight: 700;
}

.heading-copy {
  color: #474747;
  font-size: 18px;
}

.table-tools {
  display: flex;
  justify-content: flex-end;
  height: 34px;
  padding: 0 10px 6px;
}

.filter-box {
  display: flex;
  align-items: center;
  width: 240px;
  height: 32px;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  background: #ffffff;
  color: #777777;
  padding: 0 8px;
}

.filter-icon {
  margin-right: 6px;
  font-size: 20px;
}

.filter-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
}

.nx-table-frame {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.nx-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

.nx-table th,
.nx-table td {
  height: 41px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  padding: 0 12px;
  text-align: left;
  white-space: nowrap;
}

.nx-table th {
  height: 40px;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  color: #666666;
  font-size: 15px;
  font-weight: 700;
}

.repo-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.repo-sort-button:hover,
.repo-sort-button.is-active {
  color: #333333;
}

.repo-sort-indicator {
  display: inline-block;
  width: 12px;
  color: #737f7b;
  opacity: 0.65;
}

.repo-sort-button:hover .repo-sort-indicator,
.repo-sort-button.is-active .repo-sort-indicator {
  opacity: 1;
}

.nx-table td {
  font-size: 16px;
}

.nx-table tbody tr:nth-child(odd) {
  background: var(--row);
}

.nx-table tbody tr:nth-child(even) {
  background: var(--row-alt);
}

.icon-column {
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  padding: 0 8px;
  text-align: center;
}

.expand-column {
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  border-right: 0;
  color: #333333;
  font-size: 25px;
  text-align: center;
}

.repo-icon,
.component-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #222222;
  font-size: 18px;
}

.repo-icon.group {
  color: #d79b2d;
}

.repo-icon.proxy {
  color: #6f8795;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  border: 1px solid #666666;
  border-radius: 3px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  padding: 0 9px;
}

.repo-url-cell {
  min-width: 390px;
}

.repo-url-content {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.repo-url-link {
  color: #222222;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.repo-url-link:hover {
  color: #1f6dab;
}

.repo-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: #65716d;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 120ms ease, color 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.repo-url-content:hover .repo-copy-button,
.repo-copy-button:focus-visible {
  border-color: #2f80c8;
  color: #1f6dab;
  opacity: 1;
}

.repo-copy-button.copied {
  border-color: var(--active);
  background: var(--active);
  color: #ffffff;
  opacity: 1;
}

.repo-copy-button.copy-failed {
  border-color: #b42318;
  color: #b42318;
  opacity: 1;
}

.health-muted {
  color: #b7b7b7;
  font-size: 20px;
}

.health-score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #444444;
}

.analyze-button {
  min-width: 82px;
  height: 28px;
  border: 0;
  border-radius: 4px;
  background: #2f80c8;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
}

.search-form {
  display: flex;
  align-items: end;
  gap: 6px;
  padding: 0 12px 10px;
}

.search-form label {
  display: grid;
  gap: 6px;
  color: #3c3c3c;
  font-weight: 700;
}

.search-form input {
  width: 300px;
  height: 32px;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  padding: 0 8px;
  font-weight: 400;
}

.criteria-button {
  height: 32px;
  border: 1px solid #c5c5c5;
  border-radius: 4px;
  background: #f5f5f5;
  color: #5a5a5a;
  cursor: pointer;
  font-weight: 700;
  padding: 0 10px;
}

.upload-layout {
  display: grid;
  grid-template-columns: minmax(320px, 640px);
  align-items: start;
  padding: 0 12px 24px;
}

.upload-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.upload-form label {
  display: grid;
  gap: 6px;
  color: #3c3c3c;
  font-weight: 700;
}

.upload-form input,
.upload-form select,
.upload-form textarea {
  min-width: 0;
  height: 32px;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  background: #ffffff;
  padding: 0 8px;
  font-weight: 400;
}

.upload-form textarea {
  min-height: 64px;
  resize: vertical;
  line-height: 1.4;
  padding: 8px;
}

.upload-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.upload-file,
.upload-path,
.upload-form label:first-child,
.upload-fields,
.upload-check,
.upload-assets,
.upload-add-asset,
.upload-empty,
.upload-button,
.upload-status {
  grid-column: 1 / -1;
}

.upload-check {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
}

.upload-check input {
  width: 16px;
  height: 16px;
}

.upload-file input {
  padding: 4px 8px;
}

.upload-assets {
  display: grid;
  gap: 10px;
}

.upload-asset-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 120px) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  padding: 10px;
}

.upload-asset-row .upload-file {
  grid-column: 1 / 3;
}

.secondary-button {
  height: 32px;
  border: 1px solid #c5c5c5;
  border-radius: 3px;
  background: #f5f5f5;
  color: #3d3d3d;
  cursor: pointer;
  font-weight: 700;
  padding: 0 10px;
}

.secondary-button:disabled {
  color: #9a9a9a;
  cursor: not-allowed;
}

.upload-button {
  height: 34px;
  border: 1px solid #1f8a52;
  border-radius: 3px;
  background: var(--active);
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
}

.upload-button:disabled {
  border-color: #b8b8b8;
  background: #d8d8d8;
  color: #666666;
  cursor: not-allowed;
}

.upload-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
}

.upload-status.ok { color: #1d7b4a; }
.upload-status.error { color: #b03030; }

.token-layout {
  display: grid;
  gap: 14px;
  max-width: 1080px;
  padding: 0 12px 24px;
}

.token-panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  padding: 14px;
}

.token-form {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(220px, 1fr) 120px minmax(160px, 1fr);
  gap: 12px;
  align-items: end;
}

.token-form label {
  display: grid;
  gap: 6px;
  color: #3c3c3c;
  font-weight: 700;
}

.token-form input,
.token-form select,
.token-value {
  min-width: 0;
  width: 100%;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  background: #ffffff;
  color: #222222;
  font-weight: 400;
}

.token-form input,
.token-form select,
.token-value {
  height: 32px;
  padding: 0 8px;
}

.required-mark {
  color: #b42318;
}

.token-form input.is-invalid,
.token-form select.is-invalid {
  border-color: #d92d20;
  box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.14);
}

.token-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.token-status.ok { color: #1d7b4a; }
.token-status.error { color: #b03030; }

.token-panel-title {
  color: #2d2d2d;
  font-size: 17px;
  font-weight: 700;
}

.token-note {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.token-secret {
  display: grid;
  gap: 10px;
}

.token-secret[hidden] {
  display: none;
}

.token-secret-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.token-value {
  font-family: Menlo, Monaco, Consolas, monospace;
}

.token-table-frame {
  margin-top: 12px;
  border: 1px solid var(--line);
}

.token-table {
  min-width: 1040px;
}

.token-actions-column {
  width: 154px;
}

.token-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.token-danger-button {
  border-color: #c66b6b;
  color: #9f2f2f;
}

.result-note {
  height: 30px;
  color: #3d3d3d;
  font-size: 17px;
  font-weight: 700;
  line-height: 30px;
  padding: 0 12px;
}

.admin-bootstrap-panel {
  display: grid;
  gap: 12px;
  max-width: 680px;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  background: #ffffff;
  margin: 14px 26px 0;
  padding: 18px;
}

.admin-bootstrap-panel[hidden] {
  display: none;
}

.admin-bootstrap-title {
  color: #2d2d2d;
  font-size: 18px;
  font-weight: 700;
}

.admin-bootstrap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-bootstrap-grid label {
  display: grid;
  gap: 6px;
  color: #3c3c3c;
  font-weight: 700;
}

.admin-bootstrap-grid input {
  min-width: 0;
  height: 32px;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  background: #ffffff;
  padding: 0 8px;
  font-weight: 400;
}

.admin-bootstrap-grid input:disabled {
  background: #eeeeee;
  color: #555555;
}

.admin-bootstrap-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid #e1e1e1;
  color: #2d2d2d;
  cursor: pointer;
  padding-top: 14px;
}

.admin-bootstrap-option input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--active);
}

.admin-bootstrap-option-copy {
  display: grid;
  gap: 3px;
}

.admin-bootstrap-option-copy strong {
  font-size: 14px;
}

.admin-bootstrap-option-copy small {
  color: #626262;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.admin-bootstrap-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
}

.admin-bootstrap-button {
  height: 34px;
  border: 1px solid #1f8a52;
  border-radius: 3px;
  background: var(--active);
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  padding: 0 12px;
}

.admin-bootstrap-button:disabled {
  border-color: #b8b8b8;
  background: #d8d8d8;
  color: #666666;
  cursor: not-allowed;
}

.admin-bootstrap-status {
  color: #4a4a4a;
  font-size: 13px;
}

.admin-bootstrap-status.error {
  color: #b03030;
}

.admin-bootstrap-status.ok {
  color: #1d7b4a;
}

@media (max-width: 980px) {
  .nx-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .nx-topbar {
    flex-wrap: wrap;
    height: auto;
    min-height: 56px;
  }

  .product {
    width: auto;
    min-width: 260px;
  }

  .nx-sidebar {
    grid-row: 2;
  }

  .nx-content {
    grid-row: 3;
  }

  .side-nav {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .admin-bootstrap-grid {
    grid-template-columns: 1fr;
  }

  .search-subnav {
    display: none;
  }

  .side-item {
    height: 44px;
    font-size: 16px;
  }

  .page-heading {
    min-height: 76px;
    padding: 0 16px;
  }

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

  .token-form {
    grid-template-columns: 1fr;
  }

  .token-secret-header {
    align-items: start;
    flex-direction: column;
  }
}

.repo-row { cursor: pointer; }
.repo-row:hover { background: var(--row-alt); }

.component-result-row {
  cursor: pointer;
}

.component-result-row:hover,
.component-result-row:focus {
  background: var(--row-alt);
  outline: none;
}

.component-result-row:focus-visible {
  box-shadow: inset 3px 0 0 var(--active);
}

.muted-row {
  color: var(--muted);
  font-style: italic;
  padding: 14px 24px;
}

.remote-url {
  color: var(--muted);
  font-style: italic;
  font-size: 13px;
}

/* --- Tree (Nexus-style browse) --- */

#browse-drill {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 152px);
  padding: 0;
  font-size: 14px;
}

.tree-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 10px 22px;
  border-bottom: 1px solid #eaeaea;
}

.tree-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
}

.crumb-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.crumb-format-logo {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.crumb-browse {
  background: none;
  border: none;
  color: #1d5fbf;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
}

.crumb-browse:hover { text-decoration: underline; }

.crumb-sep {
  color: #bdbdbd;
  font-size: 16px;
}

.crumb-current {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

.tree-actions { display: flex; gap: 18px; }

.tree-link {
  color: #1d5fbf;
  text-decoration: none;
  font-size: 14px;
}

.tree-link:hover { text-decoration: underline; }

.tree-root {
  padding: 0;
  font-size: 14px;
  color: var(--text);
}

.tree, .tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tree-root-ul > .tree-node { padding-left: 0; }

.tree-node {
  position: relative;
  padding-left: 18px;
}

/* vertical guide lines + horizontal stub for nested levels */
.tree-children {
  position: relative;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px dotted #c4c4c4;
}

.tree-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  border-radius: 2px;
  white-space: nowrap;
}

.tree-row:hover { background: #f3f3f3; }

.tree-row.is-selected,
.tree-row.is-selected:hover { background: #e6e6e6; }

.tree-toggle {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #b5b5b5;
  background: #ffffff;
  color: #555555;
  font-size: 13px;
  line-height: 12px;
  padding: 0;
  cursor: pointer;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tree-toggle:disabled {
  visibility: hidden;
}

.tree-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 16px;
  flex: 0 0 18px;
}

.tree-icon {
  width: 16px;
  height: 14px;
}

.tree-label {
  font-size: 14px;
  color: var(--text);
  padding: 0 2px;
}

.tree-label.clickable {
  cursor: pointer;
}

.tree-label.clickable:hover {
  color: #1d5fbf;
}

.tree-loading, .tree-empty, .tree-empty-child, .tree-error {
  font-style: italic;
  color: var(--muted);
  padding: 4px 0 4px 4px;
  font-size: 13px;
}

.tree-error { color: #b03030; }

/* --- Split layout: tree on left, detail on right --- */

.browse-split {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  height: auto;
  min-height: 360px;
  overflow: hidden;
}

.tree-left {
  flex: 0 0 60%;
  width: 60%;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 8px 22px 32px 22px;
  border-right: 1px solid #eaeaea;
}

.tree-left .tree-root { padding: 0; }

.detail-right {
  flex: 0 0 40%;
  width: 40%;
  padding: 16px 18px 32px 18px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
}

.detail-placeholder {
  color: var(--muted);
  font-style: italic;
  font-size: 14px;
}

/* --- Detail pane (component + asset) --- */

.detail-pane { display: grid; gap: 12px; }

.detail-head-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.detail-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
  padding: 6px 8px;
  background: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  word-break: break-all;
  flex: 1;
  min-width: 0;
}

.detail-crumb .crumb-icon { flex: 0 0 16px; }

.detail-delete-button {
  flex: 0 0 auto;
  min-width: 72px;
  height: 31px;
  border: 1px solid #b33a3a;
  border-radius: 3px;
  background: #ffffff;
  color: #a32626;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 0 10px;
}

.detail-delete-button:hover {
  background: #fff2f2;
}

.detail-delete-button:disabled {
  border-color: #d8b0b0;
  color: #b58282;
  cursor: wait;
}

.analyze-btn {
  width: 100%;
  height: 32px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #f4f4f4;
  color: #555555;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  padding: 0 10px;
}

.panel {
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  background: #ffffff;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  color: #333333;
  font-size: 14px;
  font-weight: 600;
}

.panel-body {
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
}

.kv {
  display: grid;
  grid-template-columns: 130px 1fr;
  padding: 3px 0;
}

.kv-key { color: var(--muted); }
.kv-val { word-break: break-all; }
.kv-val code {
  font-family: "Menlo", "Consolas", monospace;
  font-size: 13px;
}

.platform-list {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  border-top: 1px solid #eeeeee;
  padding-top: 8px;
}

.platform-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(120px, 1.2fr) minmax(70px, auto);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 3px 0;
}

.platform-name,
.platform-digest,
.platform-size {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-name {
  font-weight: 600;
}

.platform-digest {
  color: var(--muted);
  font-family: "Menlo", "Consolas", monospace;
  font-size: 12px;
}

.platform-size {
  justify-self: end;
  color: var(--muted);
}

.docker-descriptor-list {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  border-top: 1px solid #eeeeee;
  padding-top: 8px;
}

.docker-descriptor-title {
  color: #333333;
  font-size: 13px;
  font-weight: 700;
}

.docker-descriptor-row {
  display: grid;
  grid-template-columns: minmax(128px, 1.1fr) minmax(120px, 1.3fr) minmax(56px, auto) minmax(70px, 0.8fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 3px 0;
}

.docker-descriptor-row span,
.docker-descriptor-row code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.descriptor-digest {
  color: #4c5b66;
  font-family: "Menlo", "Consolas", monospace;
  font-size: 12px;
}

.descriptor-media {
  color: var(--muted);
}

.descriptor-size,
.descriptor-platform {
  color: #333333;
}

.attr-panel {
  display: grid;
  gap: 10px;
}

.attr-group {
  display: grid;
  gap: 2px;
}

.attr-group-title {
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 0 4px 0;
}

.kv-locked::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  background: currentColor;
  -webkit-mask: url("./icons/lock.svg") center / contain no-repeat;
  mask: url("./icons/lock.svg") center / contain no-repeat;
  opacity: 0.6;
}

.usage-row {
  display: flex;
  gap: 4px;
  align-items: center;
}

.usage-pick {
  flex: 1;
  min-width: 0;
  height: 28px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #ffffff;
  padding: 0 6px;
  font-size: 14px;
}

.usage-copy {
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}

.usage-copy.copied { background: #2db671; color: #ffffff; border-color: #2db671; }

.usage-hint {
  margin: 10px 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.snippet {
  margin: 0;
  padding: 10px;
  background: #fafafa;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  font-family: "Menlo", "Consolas", monospace;
  font-size: 13px;
  white-space: pre;
  overflow-x: auto;
}

.snippet .x-tag { color: #905; }
.snippet .x-attr { color: #07a; }

.download-row { margin-top: 4px; }

/* --- kkrepo visual refresh: CSS-only, non-Nexus treatment --- */

:root {
  --topbar: #000000;
  --topbar-line: #1a1a1a;
  --topbar-ink: #f5fbf8;
  --topbar-muted: #c7d7d2;
  --topbar-hover: rgba(255, 255, 255, 0.08);
  --topbar-active: #36c6ae;
  --sidebar: #ffffff;
  --sidebar-head: #ffffff;
  --active: #14756b;
  --active-ink: #ffffff;
  --accent: #b85f3d;
  --accent-soft: #fff1eb;
  --text: #22312e;
  --muted: #65746f;
  --line: #d9e1dc;
  --row: #ffffff;
  --row-alt: #f8faf8;
  --header: #edf3ef;
  --canvas: #ffffff;
  --panel: #ffffff;
  --focus: rgba(20, 117, 107, 0.18);
  --shadow-soft: 0 10px 28px rgba(37, 52, 48, 0.08);
}

body {
  background: var(--canvas);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  color: inherit;
}

button {
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.nx-shell {
  grid-template-columns: 272px minmax(0, 1fr);
  grid-template-rows: 56px minmax(0, 1fr);
  background: var(--canvas);
}

.nx-topbar {
  height: 56px;
  border-bottom: 1px solid var(--topbar-line);
  background: var(--topbar);
  color: var(--topbar-ink);
  box-shadow: 0 1px 0 rgba(9, 20, 17, 0.34);
}

.product {
  width: 272px;
  min-width: 272px;
  gap: 12px;
  padding: 0 18px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, var(--active), #1f9380 58%, var(--accent));
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.product-name {
  color: var(--topbar-ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.12;
  white-space: nowrap;
}

.product-version {
  margin-left: 4px;
  color: var(--topbar-muted);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.product-copy {
  min-width: 0;
}

.workspace-tabs {
  height: 56px;
}

.workspace-tab {
  min-width: 92px;
  padding: 0 18px;
  color: var(--topbar-muted);
  font-size: 13px;
  font-weight: 750;
}

.workspace-tab:hover {
  background: var(--topbar-hover);
  color: var(--topbar-ink);
}

.workspace-tab.is-active {
  background: linear-gradient(180deg, rgba(20, 117, 107, 0.98), rgba(17, 96, 88, 0.98));
  color: var(--topbar-ink);
}

.top-icon,
.signout {
  height: 56px;
  min-width: 54px;
  color: var(--topbar-muted);
}

.top-icon {
  margin: 0 2px;
  border-radius: 0;
  font-size: 21px;
}

.top-icon:hover,
.signout:hover {
  background: var(--topbar-hover);
  color: var(--topbar-ink);
}

.top-icon.active {
  position: relative;
  background: transparent;
  color: var(--topbar-ink);
}

.top-icon.active::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--topbar-active);
  content: "";
}

.cube-icon {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 6px;
  background: linear-gradient(135deg, transparent 46%, currentColor 47%, currentColor 54%, transparent 55%);
}

.top-icon[title="Admin"],
.top-icon[title="Server administration and configuration"] {
  font-size: 29px;
  line-height: 1;
}

.user-pill,
.signout {
  font-size: 13px;
  font-weight: 650;
}

.user-pill {
  color: var(--topbar-ink);
}

.user-menu-trigger {
  color: var(--topbar-ink);
}

.user-menu-trigger:hover,
.user-menu-trigger[aria-expanded="true"] {
  background: var(--topbar-hover);
}

.user-menu-caret {
  color: var(--topbar-muted);
}

.signout {
  min-width: 88px;
}

.nx-sidebar {
  border-right: 1px solid var(--line);
  background: var(--sidebar);
}

.side-nav {
  gap: 4px;
  padding: 10px;
}

.side-item,
.side-subitem {
  height: 42px;
  border-radius: 8px;
  color: #344641;
  font-weight: 650;
}

.side-item {
  gap: 10px;
  padding: 0 12px;
  font-size: 14px;
}

.side-subitem {
  height: 36px;
  gap: 9px;
  margin-left: 34px;
  padding: 0 10px;
  color: #53635e;
  font-size: 13px;
}

.side-subitem .format-logo {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.side-icon {
  width: 22px;
  color: var(--muted);
  font-size: 17px;
}

.side-caret {
  color: var(--muted);
  font-size: 12px;
}

.side-item:hover,
.side-item.is-active,
.side-subitem:hover,
.side-subitem.is-active {
  background: var(--active);
  color: var(--active-ink);
  box-shadow: 0 6px 16px rgba(20, 117, 107, 0.16);
}

.side-item.is-active .side-icon,
.side-item:hover .side-icon,
.side-item.is-active .side-caret,
.side-item:hover .side-caret {
  color: #ffffff;
}

.nx-content {
  background: #ffffff;
}

.page-heading {
  min-height: 86px;
  margin: 0 24px;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.heading-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 19px;
}

h1 {
  color: #172420;
  font-size: 22px;
  font-weight: 760;
}

h2 {
  color: #172420;
}

.heading-copy {
  color: var(--muted);
  font-size: 14px;
}

.admin-bootstrap-panel,
.token-panel,
.panel,
.detail-crumb,
.snippet {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.admin-bootstrap-panel,
.token-layout {
  margin: 18px 24px;
}

.format-showcase {
  width: calc(100% - 48px);
  max-width: 1120px;
  margin: 18px 24px 24px;
}

.format-showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.format-showcase-heading h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.format-showcase-heading p,
.format-showcase-count,
.format-modes,
.token-note,
.detail-placeholder,
.result-note {
  color: var(--muted);
}

.format-showcase-heading p {
  margin: 0;
  font-size: 13px;
}

.format-showcase-count {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 0;
  list-style: none;
}

.format-item {
  display: flex;
  min-width: 0;
  min-height: 72px;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  padding: 12px 14px;
  cursor: default;
}

.format-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.format-brand strong {
  min-width: 0;
  color: #172420;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.format-modes {
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.table-tools,
.search-form,
.upload-layout {
  padding-right: 24px;
  padding-left: 24px;
}

.table-tools {
  height: 52px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 8px;
}

.filter-box,
.search-form input,
.upload-form input,
.upload-form select,
.upload-form textarea,
.usage-pick,
.member-filter {
  border-color: var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
}

.filter-box {
  width: 260px;
  height: 36px;
  box-shadow: inset 0 1px 0 rgba(34, 49, 46, 0.03);
}

.filter-icon {
  color: var(--active);
  font-size: 16px;
}

.filter-box input::placeholder,
.search-form input::placeholder {
  color: #97a39f;
}

.nx-table-frame {
  margin: 0 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.nx-table {
  border-collapse: separate;
  border-spacing: 0;
}

.nx-table th,
.nx-table td {
  height: 44px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
}

.nx-table th {
  height: 42px;
  background: var(--header);
  color: #52615c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nx-table tbody tr:nth-child(odd),
.nx-table tbody tr:nth-child(even) {
  background: var(--row);
}

.nx-table tbody tr:hover {
  background: #f1f7f4;
}

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

.repo-sort-button:hover,
.repo-sort-button.is-active,
.repo-url-link,
.tree-label.clickable:hover {
  color: var(--active);
}

.repo-icon,
.component-icon {
  color: #40504b;
}

.repo-icon.group {
  color: #b77a22;
}

.repo-icon.proxy {
  color: #596d8f;
}

.copy-button,
.repo-copy-button,
.criteria-button,
.secondary-button,
.upload-button,
.admin-bootstrap-button,
.detail-delete-button,
.analyze-btn,
.usage-copy {
  border-radius: 8px;
  font-weight: 750;
}

.criteria-button,
.upload-button,
.admin-bootstrap-button {
  border: 1px solid var(--active);
  background: var(--active);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(20, 117, 107, 0.18);
}

.criteria-button:hover,
.upload-button:hover,
.admin-bootstrap-button:hover {
  background: #0f665e;
}

.secondary-button,
.criteria-button.secondary,
.copy-button,
.repo-copy-button,
.usage-copy,
.analyze-btn {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
}

.secondary-button:hover,
.copy-button:hover,
.repo-copy-button:hover,
.usage-copy:hover,
.analyze-btn:hover {
  border-color: var(--active);
  color: var(--active);
}

.repo-copy-button.copied,
.usage-copy.copied {
  border-color: var(--active);
  background: var(--active);
  color: #ffffff;
}

.search-form {
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 12px;
}

.search-form label,
.upload-form label,
.admin-bootstrap-grid label,
.token-form label {
  color: #344641;
  font-size: 13px;
  font-weight: 760;
}

.search-form input,
.upload-form input,
.upload-form select {
  height: 36px;
}

.result-note {
  margin: 0 24px 10px;
  font-size: 13px;
}

.upload-layout {
  padding-top: 18px;
}

.upload-form,
.token-panel,
.admin-bootstrap-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.upload-asset-row {
  border-color: var(--line);
  border-radius: 8px;
  background: #f8faf8;
}

.token-layout {
  gap: 14px;
}

.token-value,
code,
.snippet,
.kv-val code {
  border-radius: 6px;
  background: #f2f5f3;
  color: #1c3934;
}

.browse-split {
  margin: 0 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.tree-left {
  border-right: 1px solid var(--line);
}

.detail-right {
  background: #fbfcfb;
}

.tree-label {
  color: var(--text);
}

.tree-loading,
.tree-empty,
.tree-empty-child {
  color: var(--muted);
}

.tree-error {
  color: #a33a2a;
}

.detail-crumb {
  box-shadow: none;
}

.panel {
  box-shadow: none;
}

.panel-head {
  border-bottom-color: var(--line);
  background: var(--header);
  color: #263632;
}

.detail-delete-button {
  border-color: #d9b8ad;
  background: #fff8f5;
  color: #a54830;
}

.detail-delete-button:hover {
  background: #fff1eb;
}

.health-score {
  color: #364844;
}

.health-muted {
  color: #9ea9a5;
}

@media (max-width: 980px) {
  .nx-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .nx-topbar {
    min-height: 56px;
  }

  .product {
    width: auto;
    min-width: min(100%, 260px);
  }

  .side-nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
  }

  .page-heading,
  .nx-table-frame,
  .browse-split,
  .format-showcase,
  .admin-bootstrap-panel,
  .token-layout {
    margin-right: 16px;
    margin-left: 16px;
  }

  .format-showcase {
    width: calc(100% - 32px);
  }

  .table-tools,
  .search-form,
  .upload-layout {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 520px) {
  .format-showcase-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

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

  .format-item {
    min-height: 78px;
    padding: 10px;
  }

  .format-brand {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .format-logo {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

/* Keep the Browse repository filter visually inside the page heading. */

#browse-view {
  position: relative;
}

#browse-view .page-heading {
  padding-right: 330px;
}

#browse-view .table-tools {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: min(272px, calc(100% - 48px));
  height: auto;
  padding: 0;
}

#browse-view .table-tools .filter-box {
  width: 100%;
}

#browse-view .nx-table-frame {
  margin-top: 18px;
}

/* Keep Browse and Search toolbars fixed while only table contents scroll. */

html,
body {
  height: 100%;
}

.nx-shell {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.nx-content {
  min-height: 0;
  overflow: hidden;
}

.view.is-active {
  height: 100%;
  min-height: 0;
  overflow: auto;
}

#browse-view.is-active,
#search-view.is-active {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#browse-view .page-heading,
#search-view .page-heading,
#search-view .search-form,
#search-view .result-note {
  flex: 0 0 auto;
}

#browse-view .nx-table-frame,
#search-view .nx-table-frame {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

#browse-view .nx-table th,
#search-view .nx-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Shared Lucide sizing keeps icon baselines stable across controls and tables. */
.heading-icon > .lucide-icon {
  width: 18px;
  height: 18px;
}

.side-icon {
  height: 22px;
}

.side-caret,
.user-menu-caret {
  width: 12px;
  height: 12px;
}

.filter-icon {
  width: 16px;
  height: 16px;
}

.repo-sort-indicator {
  width: 13px;
  height: 13px;
}

.tree-toggle .lucide-icon {
  width: 11px;
  height: 11px;
}

.tree-icon.icon-folder {
  color: #c68a1d;
}

.tree-icon.icon-archive {
  color: #a96324;
}

.tree-icon.icon-file-code,
.crumb-icon.icon-file-code {
  color: #356d90;
}

.tree-icon.icon-file-archive,
.crumb-icon.icon-file-archive {
  color: #a96324;
}

.tree-icon.icon-file-java-archive,
.crumb-icon.icon-file-java-archive {
  color: #a85f32;
}

.tree-icon.icon-file-box,
.crumb-icon.icon-file-box {
  color: #4f6f86;
}

.tree-icon.icon-file-json,
.crumb-icon.icon-file-json {
  color: #8a6d1f;
}

.tree-icon.icon-file-text,
.crumb-icon.icon-file-text {
  color: #596d8f;
}

.tree-icon.icon-file-key,
.crumb-icon.icon-file-key {
  color: #76558f;
}

.tree-icon.icon-file-check,
.crumb-icon.icon-file-check {
  color: #397667;
}

.tree-icon.icon-binary,
.crumb-icon.icon-binary {
  color: #5e6965;
}

.tree-icon.icon-files,
.tree-icon.icon-file,
.crumb-icon.icon-files,
.crumb-icon.icon-file {
  color: #63736e;
}

.result-note,
.copy-button,
.analyze-btn {
  display: flex;
  align-items: center;
}

.result-note {
  gap: 5px;
}

.result-note .lucide-icon,
.copy-button .lucide-icon,
.analyze-btn .lucide-icon {
  width: 15px;
  height: 15px;
}

.analyze-btn {
  gap: 6px;
}

.usage-copy .lucide-icon {
  width: 15px;
  height: 15px;
}

.repo-url-content .repo-copy-button {
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  opacity: 0.5;
}

.repo-url-content:hover .repo-copy-button,
.repo-url-content .repo-copy-button:focus-visible {
  border-color: var(--line);
  background: #ffffff;
  color: var(--active);
  opacity: 1;
}

.repo-url-content .repo-copy-button.copied {
  border-color: #9ad4c7;
  background: #e7f6f2;
  color: var(--active);
  opacity: 1;
}

.repo-url-content .repo-copy-button.copy-failed {
  border-color: #e2a8a8;
  background: #fff3f3;
  color: #b42318;
  opacity: 1;
}

.repo-copy-button .lucide-icon {
  width: 15px;
  height: 15px;
}

.repository-copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.component-icon {
  width: 18px;
  height: 18px;
}

.health-muted.lucide-icon,
.expand-column .lucide-icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 760px) {
  .nx-topbar {
    height: auto;
  }

  .product {
    flex: 1 1 auto;
    min-width: 0;
  }

  .top-spacer {
    display: none;
  }

  .product-copy {
    min-width: 0;
  }

  .workspace-tabs {
    order: 3;
    width: 100%;
    margin: 8px 0 0;
  }

  .workspace-tab {
    flex: 1;
  }

  #browse-view .page-heading {
    padding-right: 0;
  }

  #browse-view .table-tools {
    position: static;
    width: auto;
    padding: 12px 16px 0;
  }

  #browse-view .nx-table-frame {
    margin-top: 12px;
  }
}
