.course-issue-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.84fr);
  gap: 36px;
  align-items: start;
}
.course-issue-workspace > * {
  min-width: 0;
}
.course-preview-panel {
  position: sticky;
  top: 28px;
  padding-top: 12px;
}
.course-eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: #6b8055;
  text-transform: uppercase;
}
.course-preview-panel h2 {
  font-size: 19px;
  margin: 12px 0 20px;
}
.course-pass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 250px;
  padding: 25px;
  color: #f2f4e6;
  background: #173220;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.course-pass-photo,
.course-pass-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
}
.course-pass-shade {
  z-index: -1;
  background: linear-gradient(
    120deg,
    rgba(10, 36, 18, 0.9),
    rgba(10, 36, 18, 0.28)
  );
}
.course-pass:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -15%;
  border: 1px solid #cce95155;
  transform: rotate(-20deg);
  top: 58%;
}
.course-pass--plain:after {
  display: none;
}
.course-pass--club .course-pass-shade {
  background: linear-gradient(
    115deg,
    rgba(8, 13, 11, 0.98),
    rgba(8, 13, 11, 0.7)
  );
}
.course-pass--ivory {
  color: #213b28;
  background: #f0efdc;
}
.course-pass--ivory .course-pass-shade {
  background: linear-gradient(120deg, #f2f2e1f0, #e6e9cfdf);
}
.course-pass-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.course-pass-brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  border-radius: 50%;
}
.course-pass-title {
  font-size: 21px;
  font-weight: 700;
  margin: 23px 0 15px;
  line-height: 1.4;
}
.course-pass-credit {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.course-pass-credit strong {
  font-size: 80px;
  line-height: 0.95;
  color: #d3eb5b;
  letter-spacing: -0.06em;
  font-weight: 750;
}
.course-pass-credit .long-count {
  font-size: 43px;
}
.course-pass-credit small {
  margin-left: auto;
  text-align: right;
  white-space: pre-line;
  font-size: 11px;
  line-height: 1.7;
  color: #d1e57d;
}
.course-pass--ivory .course-pass-credit strong,
.course-pass--ivory .course-pass-credit small {
  color: #365f28;
}
.course-pass-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #c3d29d44;
  margin-top: 24px;
  padding-top: 13px;
  font-size: 10px;
  line-height: 1.6;
}
.course-pass-foot span {
  overflow-wrap: anywhere;
}
.course-pass-foot span:last-child {
  white-space: nowrap;
  font-size: 9px;
}
.course-issue-preview-note {
  font-size: 13px;
  line-height: 1.8;
  color: #6e7e63;
  margin-top: 20px;
}
.course-presets {
  display: flex;
  gap: 8px;
  margin: 8px 0 20px;
}
.course-presets button {
  min-width: 60px;
}
.course-members {
  margin: 12px 0 22px;
  border: 1px solid #d9dfd2;
  padding: 16px;
}
.course-members label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 6px 16px 6px 0;
  font-size: 13px;
}
.course-members input {
  width: auto;
}
.course-issue-state {
  margin: 32px 0;
  border-top: 1px solid #d5ddce;
  padding: 28px 0;
}
.course-issue-state h2 {
  font-size: 25px;
}
.course-issue-state .actions {
  margin: 20px 0;
}
.course-send-qr {
  width: 230px;
  max-width: 100%;
  height: auto;
  background: white;
  border: 1px solid #dbe2d3;
  padding: 10px;
}
.course-confirm {
  border: 0;
  border-radius: 14px;
  padding: 30px;
  max-width: 440px;
  width: calc(100% - 60px);
  color: #1a3021;
  background: #f7f7ef;
  box-shadow: 0 24px 80px #001a0b55;
}
.course-confirm::backdrop {
  background: #06150f99;
}
.course-confirm p {
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-line;
}
.course-settings {
  border-bottom: 1px solid #dae1d1;
  margin: 0 0 25px;
  padding: 0 0 16px;
}
.course-settings form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.course-settings input[type="checkbox"] {
  width: auto;
}
.course-settings .actions {
  margin: 0;
}
.course-template-selector {
  max-width: 360px;
  margin-bottom: 25px;
}
.crop-controls {
  border: 0;
  border-top: 1px solid #dce2d4;
  padding: 12px 0;
  margin-top: 12px;
}
.crop-controls label {
  display: flex;
  align-items: center;
  gap: 16px;
}
.crop-controls input {
  max-width: 240px;
}
.course-scope-note {
  font-size: 13px;
  line-height: 1.8;
  color: #65775c;
}
.course-template-upload {
  margin-top: 30px;
}
.course-template-upload .display-image-editor {
  margin: 24px 0;
}
.course-preview-panel .course-pass {
  aspect-ratio: 3/2;
}
.course-issue-workspace form .actions button[type="submit"] {
  background: #d0ea5b;
  color: #14291b;
  border-color: #aac241;
}
@media (max-width: 950px) {
  .course-issue-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .course-preview-panel {
    position: static;
    max-width: 480px;
    width: 100%;
  }
  .course-pass {
    min-height: 240px;
  }
}
@media (max-width: 430px) {
  .course-pass {
    padding: 20px;
    min-height: 225px;
  }
  .course-pass-credit strong {
    font-size: 68px;
  }
  .course-pass-credit .long-count {
    font-size: 38px;
  }
  .course-pass-title {
    font-size: 18px;
  }
  .course-pass-credit small {
    font-size: 10px;
  }
  .course-pass-foot {
    gap: 10px;
  }
  .course-confirm {
    padding: 20px;
  }
  .course-issue-workspace {
    gap: 15px;
  }
  .course-settings form {
    display: block;
  }
}
