:root {
  --dbe-navy-950: #08162f;
  --dbe-navy-900: #0d2147;
  --dbe-navy-800: #153364;
  --dbe-blue-700: #1657b8;
  --dbe-blue-600: #246bd1;
  --dbe-blue-100: #e8f1ff;
  --dbe-blue-50: #f3f7ff;
  --dbe-gold-500: #f2b84b;
  --dbe-gold-100: #fff1cc;
  --dbe-ink: #12213b;
  --dbe-muted: #607089;
  --dbe-line: #dbe3ee;
  --dbe-surface: #ffffff;
  --dbe-canvas: #f5f8fc;
  --dbe-green: #168468;
  --dbe-green-soft: #e8f7f2;
  --dbe-purple: #7851b8;
  --dbe-purple-soft: #f1ebfb;
  --dbe-shadow-sm: 0 8px 24px rgba(13, 33, 71, 0.07);
  --dbe-shadow-md: 0 18px 50px rgba(13, 33, 71, 0.12);
  --dbe-radius-sm: 12px;
  --dbe-radius-md: 18px;
  --dbe-radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body.dbe-page {
  margin: 0;
  color: var(--dbe-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(36, 107, 209, 0.09), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0, var(--dbe-canvas) 28rem, #f8fafc 100%);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dbe-page a,
.dbe-page button,
.dbe-page summary {
  -webkit-tap-highlight-color: transparent;
}

.dbe-page a:focus-visible,
.dbe-page button:focus-visible,
.dbe-page summary:focus-visible {
  outline: 3px solid rgba(36, 107, 209, 0.28);
  outline-offset: 3px;
}

.dbe-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.dbe-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin: 0 2px 18px;
  overflow-x: auto;
  color: var(--dbe-muted);
  font-size: 0.82rem;
  white-space: nowrap;
  scrollbar-width: none;
}

.dbe-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.dbe-breadcrumbs a {
  color: var(--dbe-blue-700);
  font-weight: 600;
  text-decoration: none;
}

.dbe-breadcrumbs a:hover {
  text-decoration: underline;
}

.dbe-breadcrumbs svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.dbe-landing-logo {
  display: flex;
  justify-content: center;
  min-height: 64px;
  margin: 4px 0 22px;
}

.dbe-landing-logo img {
  display: block;
  width: auto;
  max-width: min(100%, 340px);
  max-height: 80px;
  object-fit: contain;
}

.dbe-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  min-height: 320px;
  padding: clamp(30px, 5vw, 64px);
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--dbe-radius-lg);
  background:
    linear-gradient(125deg, rgba(8, 22, 47, 0.98), rgba(21, 51, 100, 0.94) 62%, rgba(22, 87, 184, 0.9)),
    var(--dbe-navy-900);
  box-shadow: var(--dbe-shadow-md);
}

.dbe-hero::before,
.dbe-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.dbe-hero::before {
  right: -6rem;
  bottom: -10rem;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.035), 0 0 0 96px rgba(255, 255, 255, 0.025);
}

.dbe-hero::after {
  top: 0;
  right: 24%;
  width: 1px;
  height: 100%;
  opacity: 0.4;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.2), transparent);
}

.dbe-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.dbe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  color: #dceaff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dbe-eyebrow__icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--dbe-navy-950);
  border-radius: 10px;
  background: var(--dbe-gold-500);
}

.dbe-eyebrow__icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.dbe-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.dbe-hero--subjects h1,
.dbe-hero--documents h1 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.dbe-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: #d4e0f1;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.72;
}

.dbe-hero p.dbe-hero__alternate-name {
  margin-top: 8px;
  color: #9ec6ff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.dbe-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.dbe-stats > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  color: #dceaff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.79rem;
  backdrop-filter: blur(8px);
}

.dbe-stats svg {
  width: 16px;
  height: 16px;
  color: var(--dbe-gold-500);
}

.dbe-stats strong {
  color: #fff;
  font-size: 0.88rem;
}

.dbe-hero__mark {
  position: relative;
  z-index: 2;
  display: grid;
  justify-self: end;
  width: 170px;
  height: 170px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 24px 60px rgba(3, 13, 31, 0.22);
  transform: rotate(3deg);
}

.dbe-hero__mark svg {
  width: 78px;
  height: 78px;
  stroke-width: 1.35;
}

.dbe-phase-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 52px;
}

.dbe-phase-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 15px;
  color: var(--dbe-ink);
  border: 1px solid var(--dbe-line);
  border-radius: var(--dbe-radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--dbe-shadow-sm);
  text-decoration: none;
  transition: 160ms ease;
}

.dbe-phase-nav a:hover {
  border-color: #aac6ed;
  box-shadow: 0 14px 34px rgba(13, 33, 71, 0.12);
  transform: translateY(-2px);
}

.dbe-phase-nav > a > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  padding: 10px;
  box-sizing: content-box;
  color: var(--dbe-blue-700);
  border-radius: 12px;
  background: var(--dbe-blue-100);
}

.dbe-phase-nav span {
  display: grid;
  gap: 3px;
}

.dbe-phase-nav strong {
  font-size: 0.84rem;
}

.dbe-phase-nav small {
  color: var(--dbe-muted);
  font-size: 0.72rem;
}

.dbe-phase {
  margin-top: 58px;
  scroll-margin-top: 100px;
}

.dbe-phase__header {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-bottom: 22px;
}

.dbe-phase__icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 16px;
  background: var(--dbe-navy-900);
  box-shadow: 0 10px 24px rgba(13, 33, 71, 0.18);
}

.dbe-phase__icon svg {
  width: 26px;
  height: 26px;
}

.dbe-phase__header span {
  color: var(--dbe-blue-700);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dbe-phase__header h2 {
  margin: 3px 0 4px;
  color: var(--dbe-navy-950);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  letter-spacing: -0.035em;
}

.dbe-phase__header p {
  max-width: 690px;
  margin: 0;
  color: var(--dbe-muted);
  font-family: "Roboto", sans-serif;
  font-size: 0.96rem;
  line-height: 1.55;
}

.dbe-grade-list {
  display: grid;
  gap: 20px;
}

.dbe-grade-card {
  overflow: hidden;
  border: 1px solid var(--dbe-line);
  border-radius: 22px;
  background: var(--dbe-surface);
  box-shadow: var(--dbe-shadow-sm);
}

.dbe-grade-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px 18px;
  border-bottom: 1px solid #e9eef5;
  background: linear-gradient(100deg, #fff, #f5f9ff);
}

.dbe-grade-card__header > div > span {
  color: var(--dbe-blue-700);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dbe-grade-card__header h3 {
  margin: 2px 0 0;
  color: var(--dbe-navy-950);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.dbe-grade-card__total {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--dbe-navy-900);
  font-size: 1rem;
  font-weight: 750;
}

.dbe-grade-card__total small {
  color: var(--dbe-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.dbe-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 270px));
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: #f5f8fc;
}

.dbe-resource-card {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 94px;
  padding: 15px;
  color: var(--dbe-ink);
  background: #fff;
  text-decoration: none;
  transition: 150ms ease;
}

.dbe-resource-card:hover {
  z-index: 2;
  background: var(--dbe-blue-50);
  box-shadow: inset 0 0 0 1px #b7cff0;
}

.dbe-resource-card__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--dbe-blue-700);
  border-radius: 12px;
  background: var(--dbe-blue-100);
}

.dbe-resource-card__icon svg {
  width: 20px;
  height: 20px;
}

.dbe-resource-card__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dbe-resource-card__copy strong {
  font-size: 0.8rem;
}

.dbe-resource-card__copy small {
  overflow: hidden;
  color: var(--dbe-muted);
  font-family: "Roboto", sans-serif;
  font-size: 0.69rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dbe-resource-card__count {
  align-self: start;
  padding: 4px 7px;
  color: var(--dbe-blue-700);
  border-radius: 999px;
  background: var(--dbe-blue-50);
  font-size: 0.62rem;
  font-weight: 750;
}

.dbe-resource-card__arrow {
  position: absolute;
  right: 13px;
  bottom: 12px;
  width: 15px;
  height: 15px;
  color: #9aa9bc;
}

.dbe-resource-card--empty {
  background: #fbfcfe;
}

.dbe-resource-card--empty .dbe-resource-card__icon {
  color: #75859b;
  background: #eef2f7;
}

.dbe-resource-card--empty .dbe-resource-card__count {
  color: #718096;
  background: #eef2f7;
}

.dbe-empty-state {
  margin: 0;
  padding: 18px 20px;
  color: var(--dbe-muted);
  background: #f8fafc;
  border-top: 1px solid var(--dbe-line);
}

.dbe-context-row,
.dbe-document-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0 36px;
}

.dbe-language-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 22px 0 4px;
  padding: 10px;
  border: 1px solid var(--dbe-line);
  border-radius: 14px;
  background: #fff;
}

.dbe-language-switch > span {
  margin: 0 5px 0 2px;
  color: var(--dbe-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.dbe-language-switch a {
  padding: 8px 13px;
  color: var(--dbe-blue-700);
  border: 1px solid #bfd0e5;
  border-radius: 10px;
  background: #f8fbff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.dbe-language-switch a.is-active {
  color: #fff;
  border-color: var(--dbe-blue-700);
  background: var(--dbe-blue-700);
}

.dbe-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dbe-blue-700);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

.dbe-back-link:hover {
  text-decoration: underline;
}

.dbe-back-link svg {
  width: 17px;
  height: 17px;
}

.dbe-letter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.dbe-letter-nav a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--dbe-navy-900);
  border: 1px solid var(--dbe-line);
  border-radius: 9px;
  background: #fff;
  font-size: 0.73rem;
  font-weight: 750;
  text-decoration: none;
}

.dbe-letter-nav a:hover {
  color: #fff;
  border-color: var(--dbe-blue-700);
  background: var(--dbe-blue-700);
}

.dbe-section {
  margin-top: 46px;
}

.dbe-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.dbe-section-kicker {
  color: var(--dbe-blue-700);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dbe-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 3px 0 0;
  color: var(--dbe-navy-950);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
}

.dbe-section-heading h2 svg {
  width: 25px;
  height: 25px;
  color: var(--dbe-blue-700);
}

.dbe-section-count {
  color: var(--dbe-muted);
  font-size: 0.78rem;
}

.dbe-subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 340px));
  justify-content: center;
  gap: 12px;
}

.dbe-language-families {
  display: grid;
  gap: 18px;
}

.dbe-language-family {
  padding: 18px;
  border: 1px solid #ded0f2;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #faf7ff);
}

.dbe-language-family__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.dbe-language-family__head h3 {
  margin: 0;
  color: var(--dbe-navy-950);
  font-size: 1.08rem;
}

.dbe-language-family__head span {
  color: var(--dbe-muted);
  font-size: 0.72rem;
}

.dbe-subject-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 14px 44px 14px 14px;
  color: var(--dbe-ink);
  border: 1px solid var(--dbe-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(13, 33, 71, 0.045);
  text-decoration: none;
  transition: 160ms ease;
}

.dbe-subject-card:hover {
  border-color: #a9c5ea;
  box-shadow: 0 14px 30px rgba(13, 33, 71, 0.1);
  transform: translateY(-2px);
}

.dbe-subject-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--dbe-blue-700);
  border-radius: 14px;
  background: var(--dbe-blue-100);
}

.dbe-subject-card__icon svg {
  width: 22px;
  height: 22px;
}

.dbe-subject-card__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dbe-subject-card__body strong {
  overflow: hidden;
  font-size: 0.84rem;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.dbe-subject-card__body small {
  overflow: hidden;
  color: var(--dbe-muted);
  font-family: "Roboto", sans-serif;
  font-size: 0.71rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dbe-subject-card__count {
  padding: 4px 8px;
  color: var(--dbe-purple);
  border-radius: 999px;
  background: var(--dbe-purple-soft);
  font-size: 0.67rem;
  font-weight: 750;
}

.dbe-subject-card__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 16px;
  height: 16px;
  color: #9aabc0;
}

.dbe-subject-card--language {
  border-color: #ddcff4;
  background: linear-gradient(145deg, #fff, #faf7ff);
}

.dbe-subject-card--language .dbe-subject-card__icon {
  color: var(--dbe-purple);
  background: var(--dbe-purple-soft);
}

.dbe-letter-section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--dbe-line);
  scroll-margin-top: 100px;
}

.dbe-letter-heading {
  position: sticky;
  top: 90px;
  align-self: start;
}

.dbe-letter-heading h3 {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 0 7px;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: var(--dbe-navy-900);
  font-size: 1.35rem;
}

.dbe-letter-heading span {
  display: block;
  width: 52px;
  color: var(--dbe-muted);
  font-size: 0.62rem;
  line-height: 1.35;
  text-align: center;
}

.dbe-year-actions {
  display: flex;
  gap: 8px;
}

.dbe-year-actions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--dbe-navy-900);
  border: 1px solid var(--dbe-line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.dbe-year-actions button:hover {
  border-color: #abc6eb;
  background: var(--dbe-blue-50);
}

.dbe-year-actions svg {
  width: 16px;
  height: 16px;
  color: var(--dbe-blue-700);
}

.dbe-year-list {
  display: grid;
  gap: 14px;
}

.dbe-year {
  overflow: clip;
  border: 1px solid var(--dbe-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--dbe-shadow-sm);
  scroll-margin-top: 90px;
}

.dbe-year > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 14px 18px;
  list-style: none;
  background: linear-gradient(90deg, #fff, #f7faff);
  cursor: pointer;
  user-select: none;
}

.dbe-year > summary::-webkit-details-marker {
  display: none;
}

.dbe-year[open] > summary {
  border-bottom: 1px solid var(--dbe-line);
}

.dbe-year__title {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dbe-year__title > span:last-child {
  display: grid;
  gap: 3px;
}

.dbe-year__title strong {
  color: var(--dbe-navy-950);
  font-size: 1.1rem;
}

.dbe-year__title small {
  color: var(--dbe-muted);
  font-size: 0.68rem;
}

.dbe-year__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--dbe-blue-700);
  border-radius: 13px;
  background: var(--dbe-blue-100);
}

.dbe-year__icon svg {
  width: 20px;
  height: 20px;
}

.dbe-year__toggle {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--dbe-blue-700);
  border-radius: 9px;
  background: var(--dbe-blue-100);
  transition: transform 160ms ease;
}

.dbe-year[open] .dbe-year__toggle {
  transform: rotate(180deg);
}

.dbe-year__toggle svg {
  width: 17px;
  height: 17px;
}

.dbe-document-list {
  display: grid;
  gap: 1px;
  background: #e9eef5;
}

.dbe-document-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 124px;
  padding: 18px;
  background: #fff;
}

.dbe-document-card__cover {
  display: grid;
  width: 76px;
  height: 96px;
  overflow: hidden;
  place-items: center;
  color: var(--dbe-blue-700);
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: var(--dbe-blue-50);
  text-decoration: none;
}

.dbe-document-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dbe-document-card__cover svg {
  width: 30px;
  height: 30px;
}

.dbe-document-card--memo .dbe-document-card__cover {
  color: var(--dbe-green);
  background: var(--dbe-green-soft);
}

.dbe-document-card__content {
  min-width: 0;
}

.dbe-document-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.dbe-document-card__badges > span {
  padding: 4px 8px;
  color: var(--dbe-muted);
  border-radius: 999px;
  background: #f1f4f8;
  font-size: 0.63rem;
  font-weight: 650;
}

.dbe-document-card__badges .dbe-type-badge {
  color: var(--dbe-blue-700);
  background: var(--dbe-blue-100);
}

.dbe-document-card__badges .dbe-type-badge--memo {
  color: var(--dbe-green);
  background: var(--dbe-green-soft);
}

.dbe-document-card h2 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.45;
}

.dbe-document-card h2 a {
  color: var(--dbe-navy-950);
  text-decoration: none;
}

.dbe-document-card h2 a:hover {
  color: var(--dbe-blue-700);
  text-decoration: underline;
}

.dbe-document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 11px;
}

.dbe-document-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--dbe-muted);
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
}

.dbe-document-meta svg {
  width: 14px;
  height: 14px;
  color: var(--dbe-blue-700);
}

.dbe-document-card__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 12px;
  color: #fff;
  border-radius: 10px;
  background: var(--dbe-blue-700);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

.dbe-document-card__action:hover {
  background: var(--dbe-navy-900);
}

.dbe-document-card__action svg {
  width: 15px;
  height: 15px;
}

.dbe-empty {
  display: grid;
  justify-items: center;
  padding: 64px 20px;
  color: var(--dbe-muted);
  border: 1px solid var(--dbe-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--dbe-shadow-sm);
  text-align: center;
}

.dbe-empty__icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--dbe-blue-700);
  border-radius: 18px;
  background: var(--dbe-blue-100);
}

.dbe-empty__icon svg {
  width: 30px;
  height: 30px;
}

.dbe-empty h2 {
  margin: 18px 0 7px;
  color: var(--dbe-navy-950);
  font-size: 1.35rem;
}

.dbe-empty p {
  max-width: 540px;
  margin: 0 0 22px;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

.dbe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.dbe-button--primary {
  color: #fff;
  background: var(--dbe-blue-700);
}

@media (max-width: 1020px) {
  .dbe-phase-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dbe-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 17px;
  }

  .dbe-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 24px;
    border-radius: 22px;
  }

  .dbe-landing-logo {
    min-height: 52px;
    margin-bottom: 16px;
  }

  .dbe-landing-logo img {
    max-height: 64px;
  }

  .dbe-hero::after {
    display: none;
  }

  .dbe-hero__mark {
    position: absolute;
    right: -32px;
    bottom: -34px;
    z-index: 1;
    width: 126px;
    height: 126px;
    opacity: 0.18;
  }

  .dbe-hero__mark svg {
    width: 60px;
    height: 60px;
  }

  .dbe-hero h1,
  .dbe-hero--subjects h1,
  .dbe-hero--documents h1 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }

  .dbe-phase-nav {
    margin-bottom: 40px;
  }

  .dbe-context-row,
  .dbe-document-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dbe-letter-nav {
    justify-content: flex-start;
  }

  .dbe-letter-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dbe-letter-heading {
    position: static;
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .dbe-letter-heading h3 {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .dbe-letter-heading span {
    width: auto;
    text-align: left;
  }

  .dbe-document-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  .dbe-document-card__cover {
    width: 62px;
    height: 82px;
  }

  .dbe-document-card__action {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }
}

@media (max-width: 560px) {
  .dbe-phase-nav,
  .dbe-resource-grid,
  .dbe-subject-grid {
    grid-template-columns: 1fr;
  }

  .dbe-phase-nav a {
    min-height: 68px;
  }

  .dbe-grade-card__header {
    padding-inline: 17px;
  }

  .dbe-grade-card__total {
    align-items: end;
    flex-direction: column;
    gap: 0;
  }

  .dbe-resource-card {
    min-height: 82px;
  }

  .dbe-subject-card {
    min-height: 76px;
  }

  .dbe-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .dbe-language-switch > span {
    flex: 0 0 100%;
  }

  .dbe-year-actions {
    width: 100%;
  }

  .dbe-year-actions button {
    flex: 1;
    justify-content: center;
  }

  .dbe-year > summary {
    min-height: 72px;
    padding: 12px 14px;
  }

  .dbe-document-card {
    grid-template-columns: 1fr;
  }

  .dbe-document-card__cover {
    display: none;
  }

  .dbe-document-card__action {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dbe-page *,
  .dbe-page *::before,
  .dbe-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
