.disclosure-panel {
  margin-top: 80px;
}

.disclosure-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.disclosure-panel h2 {
  margin: 0;
  color: #1e2124;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.disclosure-search {
  display: flex;
  gap: 8px;
  height: 64px;
}

.disclosure-search input {
  width: 240px;
  height: 64px;
  border: 1px solid #cdd1d5;
  border-radius: 8px;
  padding: 0 24px;
  color: #1e2124;
  background: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.disclosure-search input::placeholder {
  color: #757575;
  opacity: 1;
}

.disclosure-search button,
.disclosure-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 120px;
  height: 64px;
  border-radius: 8px;
  padding: 0 24px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.disclosure-search button {
  border: 0;
  color: #ffffff;
  background: #1e2124;
  cursor: pointer;
}

.disclosure-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid #1e2124;
  border-bottom: 1px solid #1e2124;
  list-style: none;
}

.disclosure-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 112px;
  border-bottom: 1px solid #cdd1d5;
  padding: 24px 0;
}

.disclosure-list li:last-child,
.attachment-popup__file:last-child {
  border-bottom: 0;
}

.disclosure-list__title {
  display: flex;
  align-items: center;
  flex: 1 0 0;
  min-width: 0;
  gap: 16px;
  color: #1e2124;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.disclosure-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d80021;
  padding: 4px 8px;
  color: #d80021;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.disclosure-list time {
  flex: 0 0 auto;
  color: #757575;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.disclosure-download {
  flex: 0 0 auto;
  border: 1px solid #1e2124;
  color: #1e2124;
  background: #ffffff;
}

html.is-disclosure-attachment-popup-open,
body.is-disclosure-attachment-popup-open {
  overflow: hidden;
}

.attachment-popup-layer {
  --fixed-layer-scale: 1;
  --attachment-popup-inline-gap: 32px;

  position: fixed;
  inset: 0;
  z-index: 9990;
  display: none;
  width: 100vw;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: scale(var(--fixed-layer-scale));
  transform-origin: top left;
}

.attachment-popup-layer.is-open {
  display: flex;
}

.attachment-popup-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(30, 33, 36, 0.8);
  pointer-events: auto;
}

.attachment-popup {
  position: relative;
  z-index: 1;
  width: 456px;
  max-width: calc(100% - (var(--attachment-popup-inline-gap) * 2));
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  border: 1px solid #cdd1d5;
  border-radius: 24px;
  padding: 32px;
  background: #ffffff;
  box-shadow: 4px 4px 8px rgba(30, 33, 36, 0.1);
  pointer-events: auto;
}

.attachment-popup__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.attachment-popup__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.attachment-popup__head {
  display: flex;
  align-items: center;
  gap: 24px;
}

.attachment-popup__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #1e2124;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

.attachment-popup__close {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 1000px;
  padding: 8px;
  background: transparent;
  cursor: pointer;
}

.attachment-popup__close::before,
.attachment-popup__close::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 8px;
  width: 24px;
  height: 2px;
  background: #1e2124;
}

.attachment-popup__close::before {
  transform: rotate(45deg);
}

.attachment-popup__close::after {
  transform: rotate(-45deg);
}

.attachment-popup__list {
  border-top: 1px solid #1e2124;
  border-bottom: 1px solid #1e2124;
}

.attachment-popup__file {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid #cdd1d5;
  padding: 24px 0;
}

.attachment-popup__file-name {
  flex: 1;
  min-width: 0;
  color: #1e2124;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  word-break: break-word;
}

.attachment-popup__download {
  display: inline-flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid #1e2124;
  border-radius: 8px;
  color: #1e2124;
}

.attachment-popup__download svg {
  display: block;
  width: 20px;
  height: 20px;
}

.attachment-popup__actions {
  display: flex;
  justify-content: center;
}

.attachment-popup__confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 56px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #ffffff;
  background: #1e2124;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}

@media (max-width: 767px) {
  .disclosure-content .disclosure-container {
    width: 440px;
    padding: 100px 0 100px;
  }

  .disclosure-tabs {
    overflow-x: auto;
  }

  .disclosure-tab {
    flex: 0 0 auto;
    font-size: 19px;
  }

  .disclosure-panel__head {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .disclosure-panel h2 {
    font-size: 26px;
  }

  .disclosure-search {
    width: 440px;
  }

  .disclosure-search input {
    width: 312px;
    font-size: 19px;
  }

  .disclosure-search button {
    width: 120px;
    font-size: 19px;
  }

  .disclosure-list {
    width: 440px;
  }

  .disclosure-list li {
    flex-direction: column;
    align-items: stretch;
    min-height: 216px;
  }

  .disclosure-list li:nth-child(n + 3) {
    min-height: 215px;
  }

  .disclosure-list__title {
    flex-wrap: wrap;
  }

  .disclosure-list time {
    font-size: 19px;
    text-align: left;
  }

  .disclosure-download {
    width: 440px;
    font-size: 19px;
  }

  .disclosure-badge {
    font-size: 15px;
  }

  .attachment-popup-layer {
    --attachment-popup-inline-gap: 28px;
  }

  .attachment-popup {
    max-height: calc(var(--scaled-vh, 100dvh) - 64px);
  }

  .attachment-popup__title {
    font-size: 19px;
  }

  .attachment-popup__confirm {
    font-size: 17px;
  }
}

@media (min-width: 768px) {

  .disclosure-content .disclosure-container {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
