.camp-plan {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  background: white;
  border: 1px solid #cbded3;
  border-radius: 10px;
  padding: 16px 19px 28px;
  margin: 0 0 24px;
  min-width: 0;
}
.plan-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 51px;
  border: 1px solid #c6dace;
  border-radius: 5px;
  background: #edf5ef;
  color: #2d7052;
  font-weight: 750;
  font-size: 11px;
  flex-shrink: 0;
}
.plan-file-info {
  flex: 1;
  min-width: 0;
}
.plan-file-info strong {
  display: block;
  font-size: 15px;
  color: #193f31;
  margin-bottom: 5px;
}
.plan-file-info > span {
  display: block;
  font-size: 13px;
  color: #3c6050;
  overflow-wrap: anywhere;
}
.plan-file-info small {
  display: block;
  font-size: 11px;
  color: #5c6f60;
  margin-top: 7px;
  line-height: 1.4;
}
.plan-file-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.plan-file-limit {
  font-size: 10px;
  color: #5b7364;
  position: absolute;
  bottom: 8px;
  right: 19px;
}
.plan-viewer {
  width: min(1300px, 95vw);
  max-width: 95vw;
  height: 90dvh;
  max-height: 95dvh;
  border: 1px solid #b9cec1;
  border-radius: 9px;
  padding: 0;
  background: #f0f4f1;
  color: #173e2e;
}
.plan-viewer::backdrop {
  background: #16392b99;
}
.plan-viewer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  background: white;
  border-bottom: 1px solid #cadbd0;
}
.plan-viewer-head > div {
  flex: 1;
  min-width: 0;
}
.plan-viewer-head strong {
  display: block;
  font-size: 15px;
}
.plan-viewer-head small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #4f6c5c;
  overflow-wrap: anywhere;
}
.plan-viewer iframe {
  display: block;
  width: 100%;
  height: calc(100% - 78px);
  border: 0;
  background: #e6ebe7;
}
.camp-plan button:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 740px) {
  .camp-plan {
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 14px 30px;
  }
  .plan-file-info {
    flex-basis: calc(100% - 65px);
  }
  .plan-file-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .plan-file-limit {
    right: 14px;
  }
  .plan-viewer-head {
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }
  .plan-viewer-head > div {
    flex-basis: 100%;
  }
  .plan-viewer-head .btn {
    flex: 1;
    text-align: center;
    font-size: 11px;
    padding: 9px;
  }
  .plan-viewer iframe {
    height: calc(100% - 125px);
  }
}
