*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  background: #f8fafb;
  font-family: Inter, system-ui, sans-serif;
  color: #09090b;
  padding-top: 80px;
}

p {
  margin: 0;
}

a {
  color: #1374b0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.frame {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px clamp(16px, 2.222vw, 32px) 64px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: linear-gradient(90deg, #071b5a 0%, #00a5ad 100%);
}

.header__inner {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(24px, 5.555vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}

.header__logo-mark {
  width: 31px;
  height: 40px;
  flex-shrink: 0;
}

.header__logo-text {
  display: flex;
  gap: 2px;
  font-size: clamp(18px, 1.667vw, 24px);
  line-height: 1;
  white-space: nowrap;
}

.header__logo-text strong {
  font-family: Poppins, sans-serif;
  font-weight: 700;
}

.header__logo-text span {
  font-family: Poppins, sans-serif;
  font-weight: 400;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.667vw, 24px);
}

.header__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0.9;
}

.header__icon-btn:hover {
  opacity: 1;
}

.header__icon-btn img {
  width: 24px;
  height: 24px;
}

.page-title {
  margin-bottom: 24px;
}

.page-title h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.64px;
  color: #09090b;
}

.page-title p {
  font-size: 14px;
  line-height: 21px;
  color: #404040;
}

.breadcrumb {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.4;
}

.breadcrumb .muted {
  color: #404040;
}

.breadcrumb .current {
  color: #09090b;
}

.card {
  background: #fff;
  border: 0.667px solid #d9d9d9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.badge--completed {
  background: #eafff5;
  color: #009951;
}

.badge--review {
  background: #fff5f1;
  color: #b45309;
}

.badge--selected {
  background: rgba(19, 116, 176, 0.12);
  color: #1374b0;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.badge--not-started {
  background: #e5f5ff;
  border: 0.667px solid #007aff;
  color: #007aff;
  border-radius: 4px;
}

.badge--in-progress {
  background: #fff5f1;
  border: 0.667px solid #fe6a35;
  color: #fe6a35;
  border-radius: 4px;
}

.badge--complete {
  background: #eafff5;
  border: 0.667px solid #009951;
  color: #009951;
  border-radius: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 0.667px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: #1374b0;
  color: #fff;
}

.btn--outline {
  background: #fff;
  border-color: #1374b0;
  color: #1374b0;
}

.btn--block {
  width: 100%;
}

.progress-bar {
  height: 8px;
  background: #e8eef2;
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #1374b0, #4abdc3);
  border-radius: 99px;
}

.progress-bar--thin {
  height: 6px;
  background: #eee;
}

.progress-bar--thin .progress-bar__fill {
  background: #1374b0;
}

.count-pill {
  display: inline-flex;
  padding: 4px 8px;
  background: rgba(19, 116, 176, 0.1);
  color: #1374b0;
  border-radius: 4px;
  font-size: 13.6px;
  font-weight: 700;
}

.num-badge {
  display: inline-flex;
  padding: 4px 10px;
  background: #4abdc3;
  color: #fff;
  border-radius: 4px;
  font-size: 14.4px;
  font-weight: 600;
  flex-shrink: 0;
}
