:root {
  --dev-bg: #eef2f7;
  --dev-surface: #ffffff;
  --dev-surface-soft: #f7f9fc;
  --dev-border: #d9e2ef;
  --dev-text: #102033;
  --dev-muted: #63758d;
  --dev-primary: #0b78bf;
  --dev-primary-dark: #075d96;
  --dev-shadow: 0 18px 46px rgba(16, 32, 51, .12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dev-text);
  background: var(--dev-bg);
}

a {
  color: inherit;
}

.dev-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dev-header {
  min-height: 76px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  gap: 26px;
  background: #fff;
  border-bottom: 1px solid var(--dev-border);
}

.dev-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.dev-brand img {
  width: 132px;
  height: auto;
  display: block;
}

.dev-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.dev-nav a {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: #25364d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.dev-nav a:hover,
.dev-nav a:focus-visible,
.dev-nav a.is-active {
  background: #e8f3fb;
  color: var(--dev-primary-dark);
}

.dev-shell {
  width: min(1480px, calc(100% - 40px));
  min-height: calc(100vh - 112px);
  margin: 20px auto 28px;
  display: grid;
  grid-template-columns: 328px minmax(0, 1fr);
  background: var(--dev-surface);
  border: 1px solid var(--dev-border);
  box-shadow: var(--dev-shadow);
  overflow: hidden;
}

.dev-sidebar {
  min-width: 0;
  padding: 20px;
  background: var(--dev-surface-soft);
  border-right: 1px solid var(--dev-border);
}

.dev-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.dev-sidebar__head span {
  color: var(--dev-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dev-sidebar__head strong {
  min-width: 30px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e2edf8;
  color: var(--dev-primary-dark);
  font-size: 13px;
}

.dev-search {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.dev-search label {
  color: var(--dev-muted);
  font-size: 12px;
  font-weight: 700;
}

.dev-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--dev-border);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--dev-text);
  background: #fff;
  font: inherit;
}

.dev-search input:focus {
  outline: 3px solid rgba(11, 120, 191, .18);
  border-color: var(--dev-primary);
}

.dev-list {
  display: grid;
  gap: 8px;
}

.dev-list-empty {
  min-height: 126px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed #bfd0e3;
  border-radius: 8px;
  color: var(--dev-muted);
  background: rgba(255, 255, 255, .68);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.dev-app-item {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: var(--dev-text);
  text-align: left;
  cursor: pointer;
}

.dev-app-item:hover,
.dev-app-item:focus-visible,
.dev-app-item.is-active {
  border-color: rgba(11, 120, 191, .32);
  background: #edf7ff;
  outline: 0;
}

.dev-app-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #dceeff;
  color: var(--dev-primary-dark);
  font-size: 17px;
  font-weight: 800;
}

.dev-app-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-app-item__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dev-app-item__copy strong,
.dev-app-item__copy span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-app-item__copy strong {
  font-size: 14px;
}

.dev-app-item__copy span {
  color: var(--dev-muted);
  font-size: 12px;
}

.dev-detail {
  min-width: 0;
  padding: 30px;
  background: #fff;
}

.dev-detail-empty {
  min-height: calc(100vh - 176px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  color: var(--dev-muted);
}

.dev-detail-empty__icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f0f6fc;
  border: 1px solid var(--dev-border);
}

.dev-detail-empty__icon img {
  width: 64px;
  height: auto;
  display: block;
}

.dev-detail-empty h1 {
  margin: 0;
  color: var(--dev-text);
  font-size: 28px;
  line-height: 1.15;
}

.dev-detail-empty p {
  max-width: 460px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.dev-app-detail {
  display: grid;
  gap: 24px;
}

.dev-app-detail__head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--dev-border);
}

.dev-app-detail__icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #dceeff;
  color: var(--dev-primary-dark);
  font-size: 28px;
  font-weight: 800;
}

.dev-app-detail__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-app-detail h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.15;
}

.dev-app-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-app-detail__meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: #eef3f8;
  color: #42566f;
  font-size: 12px;
  font-weight: 700;
}

.dev-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dev-info-card {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--dev-border);
  border-radius: 8px;
  background: var(--dev-surface-soft);
}

.dev-info-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--dev-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dev-info-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.dev-download {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dev-download a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--dev-primary);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.dev-download a:hover,
.dev-download a:focus-visible {
  background: var(--dev-primary-dark);
}

.dev-download a[aria-disabled="true"] {
  pointer-events: none;
  background: #cbd5e1;
  color: #53657b;
}

.dev-description {
  max-width: 760px;
  margin: 0;
  color: #34475e;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .dev-header {
    padding: 0 18px;
  }

  .dev-shell {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }

  .dev-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--dev-border);
  }

  .dev-detail {
    padding: 24px 18px;
  }

  .dev-detail-empty {
    min-height: 320px;
  }

  .dev-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dev-header {
    min-height: 68px;
    gap: 14px;
  }

  .dev-brand img {
    width: 108px;
  }

  .dev-nav a {
    padding: 0 10px;
    font-size: 13px;
  }

  .dev-shell {
    margin-top: 12px;
  }

  .dev-app-detail__head {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .dev-app-detail__icon {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }

  .dev-app-detail h1 {
    font-size: 24px;
  }
}
