:root {
  --app-bg: #f5f7f8;
  --app-panel: #ffffff;
  --app-text: #111827;
  --app-muted: #5b6472;
  --app-border: #d7dde5;
  --app-border-strong: #a9b4c2;
  --app-primary: #0f766e;
  --app-primary-dark: #115e59;
  --app-danger-bg: #fff4f4;
  --app-danger-border: #f3b4b4;
  --app-danger-text: #9c1b1b;
  --my-components-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --app-font-family: var(--my-components-font-family);
  --app-shell-gutter: clamp(16px, 2vw, 28px);
  --app-playground-control-min-width: 360px;
  --app-playground-control-width: 460px;
  --app-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scrollbar-gutter: stable;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--app-bg);
  color: var(--app-text);
  font-family: var(--app-font-family);
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.auth-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-shell {
  width: min(440px, 100%);
}

.auth-card {
  display: grid;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-panel);
  box-shadow: var(--app-shadow);
}

.brand-lock {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.98), rgba(17, 94, 89, 0.96)),
    #0f766e;
}

.auth-heading {
  display: grid;
  gap: 5px;
}

.auth-heading p,
.eyebrow {
  margin: 0;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-heading h1,
.topbar h1,
.intro h2 {
  margin: 0;
  line-height: 1.1;
}

.auth-heading h1 {
  font-size: 28px;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #293241;
  font-size: 14px;
  font-weight: 800;
}

.auth-form input {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--app-border-strong);
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--app-text);
}

.auth-form input:focus {
  border-color: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.alert {
  padding: 11px 12px;
  border: 1px solid var(--app-danger-border);
  border-radius: 6px;
  background: var(--app-danger-bg);
  color: var(--app-danger-text);
  font-size: 14px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--app-border-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--app-text);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.btn--primary {
  border-color: var(--app-primary);
  background: var(--app-primary);
  color: #ffffff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--app-primary-dark);
}

.btn--ghost:hover,
.btn--ghost:focus-visible,
.component-card--link:hover,
.component-card--link:focus-visible,
.component-card__action:hover,
.component-card__action:focus-visible {
  border-color: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.14);
}

.app-page {
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px var(--app-shell-gutter);
  border-bottom: 1px solid var(--app-border);
  background: var(--app-panel);
}

.catalog-page .topbar,
.demo-page .topbar {
  padding-inline: var(--app-shell-gutter);
}

.topbar h1 {
  margin-top: 4px;
  font-size: 26px;
}

.topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--app-muted);
  font-size: 14px;
  font-weight: 800;
}

.catalog-page .topbar__actions {
  margin-left: auto;
}

.catalog-shell {
  width: calc(100% - (var(--app-shell-gutter) * 2));
  margin: 0 auto;
  padding: 26px 0 42px;
}

.catalog-tabs {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.catalog-tabs__list {
  display: inline-flex;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-self: start;
  padding: 4px;
  border: 1px solid #c9d7dc;
  border-radius: 12px;
  background: #e9f1f4;
  box-shadow: inset 0 1px 2px rgba(37, 56, 70, 0.06);
}

.catalog-tabs__tab {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  appearance: none;
  background: transparent;
  color: #526a78;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease,
    color 150ms ease;
}

.catalog-tabs__tab:hover {
  color: #234f61;
}

.catalog-tabs__tab:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.2);
  outline-offset: 2px;
}

.catalog-tabs__tab[aria-selected="true"] {
  background: #ffffff;
  color: var(--app-primary-dark);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.13),
    0 0 0 1px rgba(255, 255, 255, 0.72);
}

.catalog-tabs__icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  color: currentColor;
}

.catalog-tabs__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.catalog-tabs__panel {
  min-width: 0;
}

.catalog-tabs__panel[hidden] {
  display: none;
}

.catalog-empty-footer {
  min-height: 700px;
}

.page-breadcrumbs {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.intro {
  display: grid;
  gap: 8px;
  max-width: 780px;
  margin-bottom: 18px;
}

.intro h2 {
  font-size: 22px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--app-primary-dark);
}

.section-title--projects .section-title__icon {
  border-color: #b4c6d0;
  background: #e9f1f4;
  color: #2f5e73;
}

.section-title__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.intro p {
  margin: 0;
  color: var(--app-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ip-whitelist-card {
  display: grid;
  width: min(1040px, 100%);
  min-width: 0;
  gap: 22px;
  padding: 22px;
  border: 1px solid #c9d7dc;
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 118, 110, 0.09), transparent 34%),
    #ffffff;
  box-shadow: 0 12px 28px rgba(30, 58, 70, 0.08);
}

.ip-whitelist__form {
  display: grid;
  gap: 9px;
}

.ip-whitelist__label {
  color: #293241;
  font-size: 14px;
  font-weight: 900;
}

.ip-whitelist__controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 10px;
}

.ip-whitelist__input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid var(--app-border-strong);
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--app-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.ip-whitelist__input:focus {
  border-color: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.ip-whitelist__controls .btn {
  min-height: 42px;
  white-space: nowrap;
}

.ip-whitelist__controls .btn:disabled,
.ip-whitelist__remove:disabled,
.ip-whitelist__input:disabled {
  cursor: wait;
  opacity: 0.58;
}

.ip-whitelist__help,
.ip-whitelist__status {
  margin: 0;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ip-whitelist__status {
  min-height: 20px;
  font-weight: 800;
}

.ip-whitelist__status.is-success {
  color: #0f766e;
}

.ip-whitelist__status.is-error {
  color: var(--app-danger-text);
}

.ip-whitelist__list {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--app-border);
}

.ip-whitelist__list-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.ip-whitelist__list-heading h3 {
  margin: 0;
  font-size: 18px;
}

.ip-whitelist__list-heading span {
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 800;
}

.ip-whitelist__empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #b8c7cf;
  border-radius: 8px;
  background: #f7fafb;
  color: var(--app-muted);
  font-size: 14px;
  text-align: center;
}

.ip-whitelist__table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--app-border);
  border-radius: 8px;
}

.ip-whitelist__table-wrap[hidden] {
  display: none;
}

.ip-whitelist__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #ffffff;
}

.ip-whitelist__table th,
.ip-whitelist__table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e1e7ec;
  text-align: left;
  vertical-align: middle;
}

.ip-whitelist__table th {
  background: #f3f7f8;
  color: #526a78;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.ip-whitelist__table tbody tr:last-child td {
  border-bottom: 0;
}

.ip-whitelist__table code {
  color: #173f52;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ip-whitelist__badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(15, 118, 110, 0.3);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--app-primary-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.ip-whitelist__remove {
  min-height: 34px;
  border-color: #e6a4a4;
  color: var(--app-danger-text);
}

.ip-whitelist__remove:hover,
.ip-whitelist__remove:focus-visible {
  border-color: var(--app-danger-text);
  background: var(--app-danger-bg);
  outline: 3px solid rgba(156, 27, 27, 0.12);
}

.component-picker {
  display: grid;
  width: min(760px, 100%);
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #c9d7dc;
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 118, 110, 0.1), transparent 34%),
    linear-gradient(145deg, #ffffff, #f5f9fa);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 12px 28px rgba(37, 56, 70, 0.08);
}

.component-picker__field {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.component-picker__select {
  min-width: 0;
  width: 100%;
  min-height: 52px;
  padding: 10px 42px 10px 13px;
  border: 1px solid var(--app-border-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--app-text);
  font-size: 18px;
}

.component-picker__select:focus {
  border-color: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.component-picker__submit {
  min-width: 86px;
  border-radius: 10px;
}

.component-picker.is-enhanced .component-picker__submit {
  display: none;
}

.component-picker .ts-wrapper {
  min-width: 0;
  flex: 1 1 auto;
}

.component-picker .ts-wrapper.single .ts-control {
  min-height: 52px;
  align-items: center;
  padding: 10px 44px 10px 13px !important;
  border: 1px solid var(--app-border-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--app-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.35;
}

.component-picker .ts-wrapper.focus .ts-control {
  border-color: var(--app-primary);
  box-shadow:
    0 0 0 3px rgba(15, 118, 110, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.component-picker .ts-wrapper.single .ts-control::after {
  right: 17px;
  border-width: 6px 5px 0;
  border-top-color: #48616d;
}

.component-picker .ts-wrapper.single.dropdown-active .ts-control {
  border-radius: 10px;
}

.component-picker .ts-wrapper.single.dropdown-active .ts-control::after {
  border-width: 0 5px 6px;
  border-bottom-color: var(--app-primary);
}

.component-picker .ts-control > input {
  color: var(--app-text);
  font-size: 18px;
}

.component-picker .ts-control > input::placeholder {
  color: #71808c;
  opacity: 1;
}

.component-picker .ts-dropdown {
  z-index: 200;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #adc5cc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.18),
    0 4px 12px rgba(15, 118, 110, 0.08);
  color: var(--app-text);
  font-size: 17px;
}

.component-picker .ts-dropdown-content {
  max-height: none;
  overflow: visible;
  padding: 16px 18px;
}

.component-picker .ts-dropdown .option {
  padding: 0;
  border-radius: 8px;
}

.component-picker .ts-dropdown .option + .option {
  margin-top: 2px;
}

.component-picker .ts-dropdown .active {
  background: #e8f5f2;
  color: #183c3a;
}

.component-picker__option,
.component-picker__item {
  display: flex;
  min-width: 0;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.component-picker__option {
  min-height: 36px;
  padding: 7px 10px;
  line-height: 1.25;
}

.component-picker__item {
  padding-right: 2px;
}

.component-picker__name {
  min-width: 0;
  overflow: hidden;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.component-picker__version {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #bdd5d0;
  border-radius: 999px;
  background: #eaf6f3;
  color: var(--app-primary-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.component-picker__version--unversioned {
  border-color: #d5dbe2;
  background: #f1f4f7;
  color: #6a7582;
}

.component-picker .ts-dropdown .no-results {
  padding: 15px 12px;
  color: #697987;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.catalog-section + .catalog-section {
  margin-top: 34px;
}

.catalog-tabs__panel.catalog-section {
  margin-top: 0;
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 10px;
}

.component-grid.project-grid {
  --project-card-base-width: 300px;
  --project-card-width: var(--project-card-base-width);

  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, var(--project-card-width));
  grid-auto-rows: 1fr;
  align-items: stretch;
  justify-content: start;
  gap: 14px;
}

.project-grid > .project-card {
  width: var(--project-card-width);
  min-width: var(--project-card-base-width);
}

.project-card__metadata,
.project-card__preview-area,
.project-card__actions {
  contain: inline-size;
}

.project-catalog-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #d7b867;
  border-radius: 8px;
  background: #fff9e8;
  color: #604b14;
  box-shadow: 0 8px 20px rgba(96, 75, 20, 0.08);
}

.project-catalog-alert__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid #b58512;
  border-radius: 50%;
  color: #8a650b;
  font-size: 22px;
  font-weight: 950;
}

.project-catalog-alert__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.project-catalog-alert__copy strong {
  color: #44350e;
  font-size: 16px;
}

.project-catalog-alert__copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.project-grid.is-project-order-active {
  user-select: none;
}

.project-grid.is-project-order-saving {
  cursor: wait;
}

.project-order-marker {
  position: absolute;
  z-index: 30;
  width: 6px;
  min-height: 56px;
  border-radius: 999px;
  background: #00a896;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.96),
    0 0 0 5px rgba(0, 118, 110, 0.3),
    0 4px 16px rgba(0, 82, 76, 0.42);
  pointer-events: none;
  transform: translateX(-50%);
}

.project-order-marker::before,
.project-order-marker::after {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #00a896;
  box-shadow: 0 0 0 2px rgba(0, 118, 110, 0.34);
  content: "";
  transform: translate(-50%, -50%);
}

.project-order-marker::before {
  top: 0;
}

.project-order-marker::after {
  top: 100%;
}

.project-order-marker--horizontal {
  width: auto;
  height: 6px;
  min-height: 0;
  transform: translateY(-50%);
}

.project-order-marker--horizontal::before,
.project-order-marker--horizontal::after {
  top: 50%;
}

.project-order-marker--horizontal::before {
  left: 0;
}

.project-order-marker--horizontal::after {
  left: 100%;
}

.project-order-ghost {
  position: fixed;
  z-index: 10000;
  max-width: min(280px, calc(100vw - 28px));
  overflow: hidden;
  padding: 10px 14px;
  border: 2px solid #00a896;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #173f52;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  opacity: 0.95;
  pointer-events: none;
  text-overflow: ellipsis;
  transform: translate(15px, 15px);
  white-space: nowrap;
}

.empty-state {
  margin: 0;
  color: var(--app-muted);
  font-size: 15px;
  font-weight: 800;
}

.component-card {
  position: relative;
  display: grid;
  min-height: 66px;
  overflow: hidden;
  border: 1px solid #a8b4c3;
  border-radius: 8px;
  background: var(--app-panel);
  color: inherit;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.08),
    0 12px 24px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.component-card[hidden],
.component-card--filter-hidden {
  display: none !important;
}

.component-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #8ca0b7;
  content: "";
}

.component-card--active {
  border-color: #7f90a8;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.component-card--active::before {
  background: var(--app-primary);
}

.component-card--link:hover,
.component-card--link:focus-visible {
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.12),
    0 14px 30px rgba(15, 118, 110, 0.14);
  transform: translateY(-1px);
}

.component-card--disabled {
  border-color: #b8c2cf;
  background: #f1f4f8;
  box-shadow: none;
  color: #6b7280;
}

.component-card--disabled::before {
  background: #c2cbd7;
}

.project-card.component-card--active {
  min-height: 264px;
  grid-template-rows: 1fr auto;
  border-color: #8da9b8;
  background:
    linear-gradient(180deg, #f6fafb 0%, #eef5f7 100%);
  box-shadow:
    0 1px 2px rgba(37, 56, 70, 0.08),
    0 14px 28px rgba(37, 56, 70, 0.1);
}

.project-card.component-card--active::before {
  background: #6f8f9f;
}

.project-card.component-card--disabled {
  min-height: 170px;
  border-color: #bfcede;
  background: #eaf1f8;
  color: #617086;
}

.project-card.component-card--disabled::before {
  background: #a8bdd4;
}

.project-card--with-thumbnail {
  grid-template-rows: auto auto 1fr auto;
}

.project-card__preview-area {
  min-width: 0;
}

.project-card__thumbnail {
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid #c6d5dd;
  background: #dfe9ed;
  aspect-ratio: 16 / 9;
}

.project-card__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-card__preview-refresh,
.project-card__component-info {
  cursor: pointer;
}

.project-card__preview-refresh:disabled,
.project-card__component-info:disabled {
  cursor: wait;
}

.project-card__preview-refresh-icon {
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("/assets/icons/reload.svg") center / contain no-repeat;
  mask: url("/assets/icons/reload.svg") center / contain no-repeat;
}

.project-card__preview-refresh.is-refreshing .project-card__preview-refresh-icon {
  animation: project-preview-spin 900ms linear infinite;
}

.project-card__preview-pending {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 160px;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: #4d6877;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.project-card__preview-spinner {
  width: 34px;
  height: 34px;
  border: 4px solid rgba(47, 94, 115, 0.18);
  border-top-color: #2f5e73;
  border-radius: 50%;
  animation: project-preview-spin 800ms linear infinite;
}

.project-card__preview-error {
  color: #8c3f45;
}

@keyframes project-preview-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card__preview-spinner,
  .project-card__preview-refresh.is-refreshing .project-card__preview-refresh-icon {
    animation-duration: 1600ms;
  }
}

.component-card__body {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 13px 12px 11px;
}

.component-card h3,
.component-card__title {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.component-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #4b5565;
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-card__metadata {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.project-card__title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.project-card__title-row h3 {
  flex: 1 1 auto;
  min-width: max-content;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.project-card__order-handle {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  place-items: center;
  border: 1px solid #9ebac5;
  border-radius: 6px;
  appearance: none;
  background: #eaf4f6;
  color: #2f6878;
  cursor: grab;
  touch-action: none;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.project-card__order-handle:hover {
  border-color: #0f766e;
  background: #dff4ef;
  color: #075f59;
}

.project-card__order-handle:focus-visible {
  border-color: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.project-card__order-handle[aria-pressed="true"] {
  border-color: #05756c;
  background: #0f766e;
  color: #ffffff;
  cursor: grabbing;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
  transform: scale(1.04);
}

.project-card__order-handle:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.project-card__order-handle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.project-card.is-project-order-grabbed {
  z-index: 4;
  border-color: #0f766e;
  box-shadow:
    0 0 0 4px rgba(15, 118, 110, 0.2),
    0 16px 34px rgba(15, 82, 78, 0.2);
  opacity: 0.68;
  transform: scale(0.985);
}

.project-grid.is-project-order-saving .project-card__order-handle {
  cursor: wait;
}

.project-card__metadata-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
}

.project-card__metadata-label {
  flex: 0 0 88px;
  color: #5c7180;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-card__metadata-value {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #2f5e73;
  font-family: var(--app-font-family);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.project-card__edit {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #b6cbd4;
  border-radius: 6px;
  appearance: none;
  background: #ffffff;
  color: #2f5e73;
  cursor: pointer;
  place-items: center;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.project-card__edit:hover {
  border-color: #6e98a8;
  background: #e8f2f5;
  color: #173f52;
}

.project-card__edit:focus-visible {
  border-color: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.2);
  outline-offset: 1px;
}

.project-card__edit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.project-card__edit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.project-card__component-info--metadata {
  display: inline-flex;
  flex: 0 0 auto;
  height: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid #b6cbd4;
  border-radius: 6px;
  appearance: none;
  background: #ffffff;
  color: #2f5e73;
  font-size: 9.5px;
  font-weight: 950;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.project-card__component-info--metadata:hover {
  border-color: #6e98a8;
  background: #e8f2f5;
  color: #173f52;
}

.project-card__component-info--metadata:focus-visible {
  border-color: var(--app-primary);
  background: #e8f2f5;
  outline: 3px solid rgba(15, 118, 110, 0.2);
  outline-offset: 1px;
}

.project-card__component-info--metadata:disabled {
  opacity: 0.62;
}

.project-card__component-info--metadata[data-component-status="empty"]:disabled {
  border-color: #b6cbd4;
  background: #ffffff;
  color: #2f5e73;
  cursor: default;
  opacity: 1;
}

.project-card__metadata-copy {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #b6cbd4;
  border-radius: 6px;
  background: #ffffff;
  color: #2f5e73;
  cursor: pointer;
  place-items: center;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.project-card__metadata-copy:hover {
  border-color: #6e98a8;
  background: #e8f2f5;
  color: #173f52;
}

.project-card__metadata-copy:focus-visible {
  border-color: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.2);
  outline-offset: 1px;
}

.project-card__metadata-copy:disabled {
  cursor: wait;
  opacity: 0.62;
}

.project-card__metadata-copy.is-copied {
  border-color: #8bc4b5;
  background: #dff4ec;
  color: var(--app-primary-dark);
}

.project-card__metadata-copy.is-copy-error {
  border-color: #d99a95;
  background: #f8eeee;
  color: #b42318;
}

.project-card__metadata-copy-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.project-card__metadata-copy-icon--success {
  display: none;
}

.project-card__metadata-copy.is-copied .project-card__metadata-copy-icon--copy {
  display: none;
}

.project-card__metadata-copy.is-copied .project-card__metadata-copy-icon--success {
  display: block;
}

.project-card__metadata-copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.project-card .component-card__body {
  align-content: start;
  gap: 6px;
  padding: 14px 14px 13px;
  border-bottom: 1px solid #c6d5dd;
  background: #f3f8fa;
}

.project-card h3 {
  font-size: 17px;
}

.project-card.component-card--disabled .project-card__metadata-label,
.project-card.component-card--disabled .project-card__metadata-value {
  color: #687990;
}

.component-card--disabled h3,
.component-card--disabled p {
  color: #737d8c;
}

.component-card__action {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--app-primary-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.component-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cbd5e1;
}

.component-card__actions .component-card__action {
  min-width: 0;
  border: 0;
  border-radius: 0;
}

.component-card__actions .component-card__action + .component-card__action {
  border-left: 1px solid #cbd5e1;
}

.component-card--active .component-card__action {
  background: #f8fbfb;
}

.component-card--active .component-card__action:hover,
.component-card--active .component-card__action:focus-visible {
  background: #eff8f6;
}

.project-card .component-card__action {
  min-height: 44px;
  gap: 5px;
  padding: 6px 8px;
  border-top-color: #c5d4dc;
  background: #eef5f7;
  color: #2f5e73;
  line-height: 1.2;
  text-align: center;
  transition: background-color 140ms ease, color 140ms ease;
}

.project-card .component-card__actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top-color: #c5d4dc;
  background: #c5d4dc;
}

.project-card .project-card__actions--controls,
.project-card .project-card__actions--links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card .project-card__actions--controls {
  border-top: 0;
}

.project-card .project-card__actions--links .component-card__action {
  min-height: 40px;
  padding-block: 5px;
}

.project-card .project-card__actions--control-deck {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 0.65fr);
}

.project-card .component-card__actions .component-card__action + .component-card__action {
  border-left: 0;
}

.project-card.component-card--active .component-card__action {
  background: #edf5f7;
}

.project-card.component-card--active .component-card__action:hover {
  background: #cfe3e8;
  color: #173f52;
  outline: none;
}

.project-card.component-card--active .component-card__action:focus-visible {
  background: #cfe3e8;
  color: #173f52;
  outline: 2px solid rgba(47, 94, 115, 0.34);
  outline-offset: -2px;
}

.project-card__control-symbol {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
}

.project-card .project-card__download,
.project-card .project-card__preview-refresh {
  gap: 4px;
  padding-right: 4px;
  padding-left: 4px;
}

.project-card__control-label {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card__actions--control-deck .project-card__control-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.project-card__download .project-card__control-symbol,
.project-card__preview-refresh .project-card__control-symbol,
.project-card__delete .project-card__control-symbol {
  border: 1px solid #b6cbd4;
  border-radius: 8px;
  background: #f8fbfc;
}

.project-card__download svg,
.project-card__delete svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.project-card__actions--control-deck .project-card__download svg {
  width: 22px;
  height: 22px;
}

.project-card__component-status {
  display: inline-flex;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #496674;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.project-card__component-status--current {
  background: linear-gradient(145deg, #238b7f, #0f766e);
  color: #ffffff;
  font-size: 16px;
}

.project-card__component-status--empty {
  display: none;
}

.project-card__component-status--outdated,
.project-card__component-status--unavailable {
  border: 1px solid #d99a95;
  background: #f8eeee;
  color: #b42318;
}

.project-card__component-warning-icon {
  width: 21px;
  height: 21px;
  overflow: visible;
}

.project-card__component-warning-shape {
  fill: currentColor;
}

.project-card__component-warning-mark {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-width: 2.25;
}

.project-card__component-warning-dot {
  fill: #ffffff;
}

.project-card__component-status--loading {
  border: 1px solid #c9d6dc;
  background: #f5f8f9;
  opacity: 0.62;
}

.project-card__download,
.project-card__delete,
.project-card__preview-refresh,
.project-card__component-info {
  cursor: pointer;
  font-family: var(--app-font-family);
}

.project-card.is-project-action-busy .component-card__action {
  cursor: wait;
  opacity: 0.58;
}

.project-upload-card {
  width: 100%;
  min-height: 264px;
  padding: 0;
  border: 2px dashed #8da9b8;
  appearance: none;
  cursor: default;
  font-family: var(--app-font-family);
  text-align: center;
}

.project-upload-card::before {
  height: 0;
}

.project-upload-card:hover,
.project-upload-card:focus-within,
.project-upload-card.is-dragover {
  border-color: var(--app-primary);
  outline: 4px solid rgba(15, 118, 110, 0.14);
  outline-offset: 2px;
  background: #f1faf8;
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.12),
    0 16px 32px rgba(15, 118, 110, 0.16);
  transform: translateY(-1px);
}

.project-upload-card.is-disabled {
  cursor: wait;
  opacity: 0.68;
}

.project-upload-card__body {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 260px;
  padding: 22px;
}

.project-upload-card__plus {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 2px solid #7b9aa9;
  border-radius: 50%;
  appearance: none;
  background: #ffffff;
  color: #365f72;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.project-upload-card__plus::before,
.project-upload-card__plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.project-upload-card__plus::before {
  width: 21px;
  height: 2px;
}

.project-upload-card__plus::after {
  width: 2px;
  height: 21px;
}

.project-upload-card__plus:focus-visible {
  outline: 4px solid rgba(15, 118, 110, 0.2);
  outline-offset: 3px;
}

.project-upload-card__plus:disabled,
.project-upload-card__title:disabled {
  cursor: wait;
  opacity: 0.6;
}

.project-upload-card:hover .project-upload-card__plus,
.project-upload-card:focus-within .project-upload-card__plus,
.project-upload-card.is-dragover .project-upload-card__plus {
  border-color: var(--app-primary);
  color: var(--app-primary-dark);
  transform: scale(1.04);
}

.project-upload-card__title {
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  color: #243b4a;
  cursor: pointer;
  font-family: var(--app-font-family);
  font-size: 17px;
  font-weight: 900;
}

.project-upload-card__title:focus-visible {
  border-radius: 5px;
  outline: 3px solid rgba(15, 118, 110, 0.2);
  outline-offset: 4px;
}

.project-upload-input {
  display: none;
}

.project-upload-form {
  display: grid;
  gap: 10px;
  text-align: left;
}

.project-upload-form__file {
  overflow-wrap: anywhere;
  margin: 0 0 5px;
  padding: 10px 12px;
  border: 1px solid #d5e0e5;
  border-radius: 7px;
  background: #f3f7f8;
  color: #425b68;
  font-size: 13px;
  font-weight: 800;
}

.project-upload-form__label {
  color: #243b4a;
  font-size: 14px;
  font-weight: 900;
}

.project-upload-form__input {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--app-border-strong);
  border-radius: 7px;
  background: #ffffff;
  color: var(--app-text);
}

.project-upload-form__input:focus {
  border-color: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.project-edit-form__hint {
  margin: -2px 0 0;
  color: #607684;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.project-upload-progress {
  display: grid;
  gap: 14px;
  text-align: left;
}

.project-upload-progress__summary {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid #d5e0e5;
  border-radius: 7px;
  background: #f3f7f8;
  color: #425b68;
  font-size: 13px;
}

.project-upload-progress__summary span {
  overflow-wrap: anywhere;
}

.project-upload-progress__phase {
  min-height: 20px;
  margin: 0;
  color: #334e5d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.project-upload-progress__bar {
  width: 100%;
  height: 15px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #dce6ea;
}

.project-upload-progress__bar::-webkit-progress-bar {
  border-radius: 999px;
  background: #dce6ea;
}

.project-upload-progress__bar::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #2f7280, var(--app-primary));
}

.project-upload-progress__bar::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, #2f7280, var(--app-primary));
}

.project-upload-progress__metrics {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #5c7180;
  font-size: 12px;
  font-weight: 800;
}

.project-upload-progress__verification {
  position: relative;
  display: grid;
  min-height: 120px;
  place-items: end center;
  padding: 16px;
  border: 1px solid #cbdbe2;
  border-radius: 8px;
  background: #eff6f8;
  color: #365f72;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.project-upload-progress__verification[hidden] {
  display: none;
}

.project-action-progress {
  padding: 2px 0 4px;
}

.project-action-progress__visual {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid #cbdbe2;
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 114, 128, 0.12), transparent 38%),
    linear-gradient(145deg, #f7fbfc, #eaf3f6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  text-align: left;
}

.project-action-progress__loading {
  position: relative;
  width: 54px;
  height: 54px;
  overflow: hidden;
}

.project-action-progress__copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.project-action-progress__eyebrow {
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.project-action-progress__status {
  margin: 0;
  color: #1e3543;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.project-action-progress__note {
  margin: 0;
  color: #607684;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .project-action-progress__visual {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }
}

.project-delete-confirmation {
  display: grid;
  gap: 11px;
  text-align: left;
}

.project-delete-confirmation__label {
  color: #243b4a;
  font-size: 14px;
  font-weight: 900;
}

.project-delete-confirmation__input {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #c88a86;
  border-radius: 7px;
  background: #ffffff;
  color: #49120f;
  font-family: var(--app-font-family);
}

.project-delete-confirmation__input:focus {
  border-color: #b42318;
  outline: 3px solid rgba(180, 35, 24, 0.14);
}

.project-component-audit-popup {
  gap: 18px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: 96vh;
  max-height: 96dvh;
  overflow: hidden;
  padding: 27px 22px 22px;
}

.project-component-audit-popup .my-popup__title {
  padding: 0 62px;
  font-size: 2.268rem;
  line-height: 1.1;
}

.project-component-audit-popup .my-popup__content {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  font-size: 1.68rem;
  line-height: 1.3;
}

.project-component-audit-popup .my-popup__close {
  top: 14px;
  right: 14px;
  width: 54px;
  height: 54px;
  border-radius: 9px;
  font-size: 1.68rem;
}

.project-component-audit-popup .my-popup__actions {
  gap: 14px;
  margin-top: 6px;
}

.project-component-audit-popup .my-popup__button {
  min-width: 146px;
  min-height: 54px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 1.68rem;
  line-height: 1.2;
}

.project-component-audit {
  display: grid;
  overflow-x: auto;
  padding: 3px 0 6px;
  text-align: left;
}

.project-component-audit__table {
  width: 100%;
  min-width: 672px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cddbe2;
  border-collapse: separate;
  border-radius: 14px;
  border-spacing: 0;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 56, 70, 0.07);
  table-layout: fixed;
}

.project-component-audit__table th,
.project-component-audit__table td {
  padding: 14px 17px;
}

.project-component-audit__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #edf4f6;
  color: #385664;
  font-size: 16.8px;
  font-weight: 950;
  letter-spacing: 0.035em;
  line-height: 1.3;
  text-transform: uppercase;
}

.project-component-audit__component-heading {
  width: 52%;
  text-align: left;
}

.project-component-audit__version-heading {
  width: 24%;
  border-left: 1px solid #d4e0e5;
  text-align: center;
}

.project-component-audit__table tbody th,
.project-component-audit__table tbody td {
  border-top: 1px solid #dce5e9;
}

.project-component-audit__table tbody tr:nth-child(even) {
  background: #f8fafb;
}

.project-component-audit__component {
  font-weight: inherit;
  text-align: left;
}

.project-component-audit__version {
  border-left: 1px solid #e0e8ec;
  text-align: center;
}

.project-component-audit__identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 17px;
}

.project-component-audit__glyph {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(145deg, #315f72, #0f766e);
  color: #ffffff;
  font-size: 16.8px;
  font-weight: 950;
  letter-spacing: -0.03em;
  place-items: center;
}

.project-component-audit__name {
  color: #203845;
  font-family: var(--app-font-family);
  font-size: 23.52px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.project-component-audit__version-value {
  display: inline-block;
  min-width: 98px;
  padding: 9px 12px;
  border: 1px solid #b8d6cf;
  border-radius: 999px;
  background: #e7f5f1;
  color: #155f57;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 20.16px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.project-component-audit__version.is-missing .project-component-audit__version-value {
  border-color: #d6dfe4;
  background: #f1f4f6;
  color: #7b8790;
}

.project-component-audit__version.is-outdated .project-component-audit__version-value {
  border-color: #d99a95;
  background: #f8eeee;
  color: #b42318;
}

.project-component-audit__empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 40px 30px;
  border: 1px dashed #bdcdd5;
  border-radius: 14px;
  background: #f6f9fa;
  color: #536d7a;
  text-align: center;
}

.project-component-audit__empty-icon {
  display: grid;
  width: 57px;
  height: 57px;
  border: 3px solid #6c8b9a;
  border-radius: 50%;
  color: #3c6678;
  font-family: Georgia, serif;
  font-size: 35.28px;
  font-weight: 900;
  place-items: center;
}

.project-component-audit__empty-title {
  color: #294654;
  font-size: 23.52px;
}

.project-component-audit__empty-copy {
  margin: 0;
  color: #657a86;
  font-size: 18.48px;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .project-component-audit-popup {
    gap: 14px;
    padding: 14px 8px;
  }

  .project-component-audit-popup .my-popup__title {
    padding: 54px 0 0;
  }

  .project-component-audit-popup .my-popup__close {
    top: 8px;
    right: 8px;
  }

  .project-component-audit-popup .my-popup__button {
    min-width: 134px;
  }

  .project-component-audit__table {
    min-width: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    table-layout: auto;
  }

  .project-component-audit__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .project-component-audit__table tbody {
    display: grid;
    gap: 14px;
  }

  .project-component-audit__table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #cddbe2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 56, 70, 0.07);
  }

  .project-component-audit__table th,
  .project-component-audit__table td {
    padding: 14px 10px;
  }

  .project-component-audit__table thead th {
    font-size: 15.12px;
    letter-spacing: 0.015em;
  }

  .project-component-audit__table tbody th,
  .project-component-audit__table tbody td {
    border-top: 0;
  }

  .project-component-audit__table tbody tr:nth-child(even) {
    background: #f8fafb;
  }

  .project-component-audit__component-heading {
    width: 50%;
  }

  .project-component-audit__version-heading {
    width: 25%;
  }

  .project-component-audit__identity {
    gap: 12px;
  }

  .project-component-audit__component {
    grid-column: 1 / -1;
    border-bottom: 1px solid #dce5e9;
  }

  .project-component-audit__version {
    display: grid;
    justify-items: center;
    gap: 6px;
    border-left: 0;
  }

  .project-component-audit__version + .project-component-audit__version {
    border-left: 1px solid #e0e8ec;
  }

  .project-component-audit__version::before {
    color: #385664;
    font-size: 15.12px;
    font-weight: 950;
    letter-spacing: 0.015em;
    line-height: 1.3;
  }

  .project-component-audit__version:nth-child(2)::before {
    content: "SUITE";
  }

  .project-component-audit__version:nth-child(3)::before {
    content: "PROGETTO";
  }

  .project-component-audit__glyph {
    width: 46px;
    height: 46px;
  }

  .project-component-audit__name {
    font-size: 20.16px;
  }

  .project-component-audit__version-value {
    min-width: 84px;
    padding: 6px 9px;
    font-size: 16.8px;
  }
}

@media (max-width: 520px) {
  .project-component-audit-popup {
    gap: 6px;
    padding: 6px 5px;
  }

  .project-component-audit-popup .my-popup__title {
    padding-top: 47px;
    letter-spacing: -0.04em;
    line-height: 1;
    overflow-wrap: normal;
  }

  .project-component-audit__table tbody {
    gap: 9px;
  }

  .project-component-audit__table tbody tr {
    grid-template-columns: 1fr;
  }

  .project-component-audit__table th,
  .project-component-audit__table td {
    padding: 9px 6px;
  }

  .project-component-audit__component {
    text-align: center;
  }

  .project-component-audit__identity {
    display: grid;
    justify-items: center;
    gap: 6px;
  }

  .project-component-audit__version {
    grid-column: 1;
  }

  .project-component-audit__version + .project-component-audit__version {
    border-top: 1px solid #e0e8ec;
    border-left: 0;
  }
}

.project-card__copy {
  cursor: pointer;
}

.project-card__copy.is-copied {
  background: #dff4ec;
  color: var(--app-primary-dark);
}

.project-card .component-card__action--disabled {
  background: #e0e8f1;
  color: #728196;
}

.component-card__action--disabled {
  background: #edf1f5;
  color: #818b99;
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-tabs__list {
    width: 100%;
  }

  .catalog-tabs__tab {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 10px;
    font-size: 14px;
  }

  .catalog-tabs__tab > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .component-picker {
    padding: 14px;
  }

  .component-picker__field {
    display: grid;
  }

  .component-picker__submit {
    width: 100%;
  }

  .ip-whitelist-card {
    padding: 16px;
  }

  .ip-whitelist__controls {
    grid-template-columns: 1fr;
  }

  .ip-whitelist__controls .btn {
    width: 100%;
  }

  .ip-whitelist__list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .component-picker__option {
    gap: 9px;
    padding-inline: 8px;
  }

  .component-picker__version {
    padding-inline: 6px;
    font-size: 10px;
  }

  .component-grid {
    grid-template-columns: 1fr;
  }

  .project-catalog-alert {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .project-catalog-alert .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .catalog-tabs__icon {
    display: none;
  }

  .project-card .component-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card .project-card__actions--control-deck {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
