.developer-entry-button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border: 1px dashed rgba(20, 87, 184, 0.4);
  border-radius: 8px;
  color: #0d4d93;
  background: #f6faff;
  font-weight: 900;
  cursor: pointer;
}

.developer-entry-button:hover {
  border-style: solid;
  background: #eaf4ff;
}

.developer-login-card {
  border: 1px solid rgba(20, 87, 184, 0.16);
}

.developer-local-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(20, 87, 184, 0.2);
  border-radius: 999px;
  color: #0d4d93;
  background: #edf6ff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.developer-back-button {
  width: 100%;
  margin-top: 12px;
}

.developer-hub {
  display: grid;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.developer-hub-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.developer-hub-header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.developer-hub-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.developer-status-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid #d7e2ed;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
}

.developer-status-card > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
}

.developer-status-card.is-ready > span {
  color: #066248;
  background: #d9faee;
}

.developer-status-card.is-pending > span {
  color: #7b5410;
  background: #fff0c7;
}

.developer-status-card.is-error > span {
  color: #9f2d20;
  background: #ffe2dc;
}

.developer-status-card div {
  display: grid;
  gap: 2px;
}

.developer-status-card small {
  color: var(--muted);
}

.developer-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 16px;
}

.developer-action-panel,
.developer-checklist-panel {
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(20, 87, 184, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 45px rgba(32, 65, 108, 0.12);
}

.developer-section-heading span {
  color: #087c68;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.developer-section-heading h2 {
  margin: 4px 0 16px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

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

.developer-action-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 11px;
  min-height: 116px;
  padding: 17px;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  color: var(--ink);
  background: #f9fbfd;
  text-align: left;
  cursor: pointer;
}

.developer-action-card:hover,
.developer-action-card:focus-visible {
  border-color: rgba(20, 87, 184, 0.52);
  background: #eef6ff;
  transform: translateY(-2px);
}

.developer-action-card.is-primary {
  color: white;
  border-color: transparent;
  background: linear-gradient(145deg, #1457b8, #087c68);
}

.developer-action-card.is-primary:hover,
.developer-action-card.is-primary:focus-visible {
  background: linear-gradient(145deg, #0d4d93, #066248);
}

.developer-action-icon {
  display: grid;
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #0d4d93;
  background: #dcecff;
  font-weight: 900;
}

.developer-action-card.is-primary .developer-action-icon {
  color: #0b4e3f;
  background: #a9efd7;
}

.developer-action-card strong {
  align-self: end;
  font-size: 1rem;
}

.developer-action-card small {
  color: var(--muted);
  line-height: 1.4;
}

.developer-action-card.is-primary small {
  color: rgba(255, 255, 255, 0.76);
}

.developer-hub-message {
  min-height: 20px;
  margin: 13px 0 0;
  color: #0b6653;
  font-size: 0.82rem;
  font-weight: 800;
}

.developer-checklist-panel > p {
  margin: -7px 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.developer-checklist {
  display: grid;
  gap: 8px;
}

.developer-check-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid #e0e7ef;
  border-radius: 12px;
}

.developer-check-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.developer-check-open:hover,
.developer-check-open:focus-visible {
  background: #eef6ff;
}

.developer-check-open > span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.developer-check-open em {
  flex: 0 0 auto;
  color: #1457b8;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.developer-check-toggle {
  display: grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border-left: 1px solid #e0e7ef;
  color: #405268;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.developer-check-toggle > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.developer-check-item.is-checked {
  border-color: #9fdcc8;
  background: #f1fff9;
}

.developer-check-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid #b9c7d5;
  border-radius: 9px;
  color: white;
  font-weight: 900;
}

.developer-check-item.is-checked .developer-check-mark {
  border-color: var(--green);
  background: var(--green);
}

.developer-check-item small {
  color: var(--muted);
  line-height: 1.3;
}

.developer-catalog {
  display: grid;
  gap: 16px;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.developer-catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.developer-catalog-header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.developer-catalog-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.developer-course-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}

.developer-course-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #d7e2ed;
  border-radius: 12px;
  color: #405268;
  background: white;
  font-weight: 900;
  cursor: pointer;
}

.developer-course-tab:hover,
.developer-course-tab:focus-visible {
  border-color: #1457b8;
  color: #1457b8;
}

.developer-course-tab.is-active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #1457b8, #087c68);
}

.developer-catalog-summary,
.developer-catalog-section {
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(20, 87, 184, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(32, 65, 108, 0.1);
}

.developer-catalog-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 22px;
}

.developer-catalog-summary span {
  color: #087c68;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.developer-catalog-summary h2 {
  margin: 4px 0;
  color: var(--ink);
}

.developer-catalog-summary p {
  margin: 0;
  color: var(--muted);
}

.developer-catalog-primary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.developer-catalog-primary-actions button,
.developer-catalog-actions button,
.developer-catalog-exam {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(20, 87, 184, 0.28);
  border-radius: 10px;
  color: #0d4d93;
  background: #edf6ff;
  font-weight: 900;
  cursor: pointer;
}

.developer-catalog-primary-actions button:hover,
.developer-catalog-actions button:hover,
.developer-catalog-exam:hover {
  border-color: #1457b8;
  background: #dcecff;
}

.developer-catalog-primary-actions .is-exam,
.developer-catalog-exam {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #e7354f, #fb7734);
}

.developer-catalog-list {
  display: grid;
  gap: 9px;
}

.developer-catalog-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid #e0e7ef;
  border-radius: 13px;
  background: #fbfcfe;
}

.developer-catalog-item > div:nth-child(2) {
  display: grid;
  gap: 2px;
}

.developer-catalog-item small {
  color: var(--muted);
}

.developer-catalog-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: #0d4d93;
  background: #dcecff;
  font-size: 0.78rem;
  font-weight: 900;
}

.developer-catalog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.developer-catalog-block .developer-catalog-number {
  color: #066248;
  background: #d9faee;
}

.developer-catalog-exam {
  width: 100%;
  margin-top: 12px;
}

.developer-test-return {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10000;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(20, 87, 184, 0.25);
  border-radius: 13px;
  color: white;
  background: #0d4d93;
  box-shadow: 0 12px 28px rgba(16, 45, 85, 0.28);
  font-weight: 900;
  cursor: pointer;
}

.developer-test-return:hover,
.developer-test-return:focus-visible {
  background: #083b72;
}

.developer-check-progress {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.developer-check-progress > div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ebf1;
}

.developer-check-progress > div span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.developer-check-progress > strong {
  color: #405268;
  font-size: 0.75rem;
}

.developer-report-tip {
  display: grid;
  gap: 3px;
  margin-top: 15px;
  padding: 12px;
  border-radius: 13px;
  color: #644e1e;
  background: #fff7df;
}

.developer-report-tip span {
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .developer-status-row,
  .developer-hub-grid,
  .developer-catalog-summary {
    grid-template-columns: 1fr;
  }

  .developer-catalog-primary-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 580px) {
  .developer-hub-header {
    align-items: stretch;
    flex-direction: column;
  }

  .developer-action-grid {
    grid-template-columns: 1fr;
  }

  .developer-catalog-header {
    align-items: stretch;
    flex-direction: column;
  }

  .developer-check-item,
  .developer-catalog-item {
    grid-template-columns: 1fr;
  }

  .developer-check-toggle {
    grid-template-columns: 28px auto;
    border-top: 1px solid #e0e7ef;
    border-left: 0;
  }

  .developer-catalog-number {
    display: none;
  }

  .developer-catalog-actions {
    justify-content: stretch;
  }

  .developer-catalog-actions button {
    flex: 1 1 140px;
  }

  .developer-test-return {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
  }
}
