.module-download {
  margin: 32px 0;
}
.module-download__download-list .module-download__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module-download__download-grid .module-download__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.module-download__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-bg-light, #f7f8fa);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #222;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.module-download__item:hover {
  background: #eef2f7;
  border-color: #0066cc;
}
.module-download__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--color-bg-icon, #e0e7f0) center / 60% no-repeat;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #666;
}
.module-download__download-icon-pdf::before {
  content: "PDF";
}
.module-download__download-icon-mp3::before {
  content: "MP3";
}
.module-download__download-icon-mp4::before {
  content: "MP4";
}
.module-download__download-icon-jpg::before {
  content: "JPG";
}
.module-download__download-icon-png::before {
  content: "PNG";
}
.module-download__download-icon-csv::before {
  content: "CSV";
}
.module-download__download-icon-xlsx::before {
  content: "XLS";
}
.module-download__download-icon-docx::before {
  content: "DOC";
}
.module-download__download-icon-zip::before {
  content: "ZIP";
}
.module-download__download-icon-other::before {
  content: "FILE";
}
.module-download__meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.module-download__name {
  font-weight: 600;
  word-break: break-word;
}
.module-download__size {
  font-size: 13px;
  color: #888;
}
.module-download__desc {
  font-size: 14px;
  color: #666;
}
.module-download__arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: #0066cc;
}
@media (max-width: 640px) {
  .module-download__download-grid .module-download__items {
    grid-template-columns: 1fr;
  }
}
.module-download__intro {
  margin: 8px 0 16px;
  color: var(--color-text-muted, #555);
}
.module-download__item--audio {
  cursor: default;
}
.module-download__audio {
  display: block;
  width: 100%;
  margin-top: 8px;
  height: 34px;
}
.module-download__save {
  flex: none;
  margin-left: auto;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  color: var(--mut, #64748b);
  padding: 4px 6px;
  border-radius: 6px;
}
.module-download__save:hover {
  color: var(--acc, #3b82f6);
  background: var(--acc-s, #eff6ff);
}
.module-download {
  margin: 32px 0;
}
.module-download--list .module-download__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module-download--grid .module-download__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.module-download__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-bg-light, #f7f8fa);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 6px;
  color: var(--color-text, #222) !important;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.module-download__item:hover {
  background: var(--color-bg-hover, #eef2f7);
  border-color: var(--color-primary, #0066cc);
}
.module-download__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--color-bg-icon, #e0e7f0) center / 60% no-repeat;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text-muted, #666);
}
.module-download__icon--pdf::before {
  content: "PDF";
}
.module-download__icon--mp3::before {
  content: "MP3";
}
.module-download__icon--mp4::before {
  content: "MP4";
}
.module-download__icon--jpg::before {
  content: "JPG";
}
.module-download__icon--png::before {
  content: "PNG";
}
.module-download__icon--csv::before {
  content: "CSV";
}
.module-download__icon--xlsx::before {
  content: "XLS";
}
.module-download__icon--docx::before {
  content: "DOC";
}
.module-download__icon--zip::before {
  content: "ZIP";
}
.module-download__icon--other::before {
  content: "FILE";
}
.module-download__meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.module-download__name {
  font-weight: 600;
  word-break: break-word;
}
.module-download__size {
  font-size: 13px;
  color: var(--color-text-muted, #888);
}
.module-download__desc {
  font-size: 14px;
  color: var(--color-text-muted, #666);
}
.module-download__arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--color-primary, #0066cc);
}
@media (max-width: 640px) {
  .module-download--grid .module-download__items {
    grid-template-columns: 1fr;
  }
}
.module-download--list .module-download__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module-download--grid .module-download__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
@media (max-width: 640px) {
  .module-download--grid .module-download__items {
    grid-template-columns: 1fr;
  }
}
.module-download--card {
  container-type: inline-size;
  margin: 0;
}
.module-download__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surf, #FBFCFD);
  border: 1px solid var(--line, #E1E7ED);
  border-radius: var(--r, 14px);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 20, 26, .06);
  color: var(--ink, #0F141A);
}
.module-download__pv {
  position: relative;
  background:
    linear-gradient(
      180deg,
      #e6ecf3,
      #dfe6ee);
  padding: 16px 0 10px;
}
.module-download__strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 18% 14px;
  scrollbar-width: none;
  outline-offset: -3px;
}
.module-download__strip::-webkit-scrollbar {
  display: none;
}
.module-download__strip figure {
  margin: 0;
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: grid;
  place-items: center;
}
.module-download__strip img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 794 / 1122;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 6px 18px rgba(15, 20, 26, .14);
}
.module-download__strip figure:first-child img {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .12),
    5px 5px 0 -1px #fff,
    5px 5px 0 0 var(--line2, #CFD8E1),
    10px 10px 0 -1px #fff,
    10px 10px 0 0 var(--line2, #CFD8E1),
    0 8px 20px rgba(15, 20, 26, .16);
}
.module-download__card--single .module-download__strip {
  padding: 4px 24px 10px;
  overflow: visible;
}
.module-download__card--single .module-download__strip img,
.module-download__card--single .module-download__strip figure:first-child img {
  max-width: 300px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 6px 18px rgba(15, 20, 26, .14);
}
.module-download__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink2, #3D4855);
}
.module-download__nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line2, #CFD8E1);
  background: #fff;
  color: var(--ink, #0F141A);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.module-download__nav button:disabled {
  opacity: .35;
  cursor: default;
}
.module-download__nav svg {
  width: 20px;
  height: 20px;
}
.module-download__count {
  min-width: 9.5em;
  text-align: center;
}
.module-download__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
  flex: 1 1 auto;
}
.module-download__kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--acc-i, #123AA6);
}
.module-download__title {
  margin: -6px 0 0;
  font-size: 20px;
  line-height: 1.3;
}
.module-download__what {
  margin: -4px 0 0;
  color: var(--ink2, #3D4855);
  font-size: 15px;
}
.module-download__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.module-download__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--surf2, #F1F4F7);
  border: 1px solid var(--line, #E1E7ED);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2, #3D4855);
}
.module-download__badge.is-paper {
  background: var(--acc-s, #E7EDFD);
  border-color: #c9d6fa;
  color: var(--acc-i, #123AA6);
}
.module-download__badge svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.module-download__acts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module-download__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid var(--acc, #1B4FD8);
  background: #fff;
  color: var(--acc-i, #123AA6);
  transition:
    background .15s,
    box-shadow .15s,
    transform .05s;
  box-sizing: border-box;
}
.module-download__btn:hover {
  background: var(--acc-s, #E7EDFD);
}
.module-download__btn:active {
  transform: translateY(1px);
}
.module-download__btn:focus-visible {
  outline: 3px solid #f5b400;
  outline-offset: 2px;
}
.module-download__doc {
  width: 30px;
  height: 30px;
  flex: none;
}
.module-download__txt {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.module-download__txt b {
  font-size: 16px;
}
.module-download__txt small {
  font-size: 13px;
}
.module-download__pick {
  display: none;
  align-self: flex-start;
  margin: 3px 0 1px;
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  padding: 1px 8px;
  border-radius: 99px;
  background: #fff;
  color: var(--acc-i, #123AA6);
}
.module-download__go {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--acc-s, #E7EDFD);
}
.module-download__go svg {
  width: 18px;
  height: 18px;
}
.module-download__ok-svg {
  display: none;
}
.module-download__btn.is-started .module-download__arrow-svg {
  display: none;
}
.module-download__btn.is-started .module-download__ok-svg {
  display: block;
}
html:not([data-paper=letter]) .module-download__btn[data-paper=a4],
html[data-paper=letter] .module-download__btn[data-paper=letter] {
  order: -1;
  background: var(--acc, #1B4FD8);
  color: #fff;
  min-height: 66px;
  box-shadow: 0 2px 0 var(--acc-i, #123AA6);
}
html:not([data-paper=letter]) .module-download__btn[data-paper=a4]:hover,
html[data-paper=letter] .module-download__btn[data-paper=letter]:hover {
  background: var(--acc-i, #123AA6);
}
html:not([data-paper=letter]) .module-download__btn[data-paper=a4] .module-download__go,
html[data-paper=letter] .module-download__btn[data-paper=letter] .module-download__go {
  background: rgba(255, 255, 255, .18);
}
html:not([data-paper=letter]) .module-download__btn[data-paper=a4] .module-download__txt b,
html[data-paper=letter] .module-download__btn[data-paper=letter] .module-download__txt b {
  font-size: 17px;
}
html[data-paper-auto]:not([data-paper=letter]) .module-download__btn[data-paper=a4] .module-download__pick,
html[data-paper-auto][data-paper=letter] .module-download__btn[data-paper=letter] .module-download__pick {
  display: inline-block;
}
.module-download__btn--alt {
  min-height: 48px;
  border-style: dashed;
  border-width: 1px;
  color: var(--ink2, #3D4855);
  border-color: var(--line2, #CFD8E1);
}
.module-download__btn--alt .module-download__go {
  background: var(--surf2, #F1F4F7);
}
.module-download__next {
  margin: 0;
  font-size: 14px;
  color: var(--ink2, #3D4855);
}
.module-download__next a {
  color: var(--acc-i, #123AA6);
  font-weight: 600;
}
.module-download__infoh {
  margin: 4px 0 -6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink2, #3D4855);
  letter-spacing: .03em;
}
.module-download__info {
  margin: 2px 0 0;
  padding: 12px 14px;
  border-radius: var(--r-s, 9px);
  background: var(--surf2, #F1F4F7);
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 12px;
  font-size: 14px;
}
.module-download__info dt {
  font-weight: 700;
  color: var(--ink, #0F141A);
}
.module-download__info dd {
  margin: 0;
  color: var(--ink2, #3D4855);
}
@container (min-width: 680px) {
  .module-download__card--single {
    display: grid;
    grid-template-columns: 340px 1fr;
  }
  .module-download__card--single .module-download__pv {
    padding: 18px 0;
    display: grid;
    place-items: center;
  }
}
@container (max-width: 480px) {
  .module-download__body {
    padding: 14px 14px 16px;
  }
  .module-download__strip {
    padding: 4px 22% 12px;
  }
  .module-download__strip img {
    max-width: 190px;
  }
  .module-download__card--single .module-download__strip {
    padding: 4px 14px 10px;
  }
  .module-download__card--single .module-download__strip img {
    max-width: 240px;
  }
  .module-download__info {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .module-download__info dd {
    margin-bottom: 6px;
  }
}
