.dmr-classroom-share__button,
.dmr-classroom-share button,
.dmr-classroom-share__preview {
  box-sizing: border-box;
  min-height: 38px;
  margin: 0;
  padding: 7px 11px;
  border: 4px solid #212121;
  border-radius: 0;
  background: #bde7fb;
  color: #212121;
  font: inherit;
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.dmr-classroom-share__button:hover,
.dmr-classroom-share__button:focus-visible,
.dmr-classroom-share button:hover,
.dmr-classroom-share button:focus-visible,
.dmr-classroom-share__preview:hover,
.dmr-classroom-share__preview:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.dmr-classroom-share-setting--collapsed {
  display: none !important;
}

.dmr-classroom-share__launch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 12px;
  padding: clamp(9px, 1.4vw, 13px);
  border: 5px solid #212121;
  background: #d1e8ca;
  color: #212121;
}

.dmr-classroom-share__launch[hidden],
.dmr-classroom-share[hidden],
.dmr-classroom-share__status[hidden],
.dmr-classroom-share__actions button[hidden] {
  display: none !important;
}

.dmr-classroom-share__launch-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dmr-classroom-share__eyebrow {
  margin: 0;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.dmr-classroom-share__launch strong,
.dmr-classroom-share__summary strong {
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.15;
}

.dmr-classroom-share__note {
  margin: 0;
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 700;
  line-height: 1.25;
}

.dmr-classroom-share {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: clamp(10px, 3vw, 28px);
}

.dmr-classroom-share__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 33, 0.5);
}

.dmr-classroom-share__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(760px, 100%);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  box-sizing: border-box;
  padding: clamp(12px, 2vw, 18px);
  border: 6px solid #212121;
  background: #fffcf0;
  color: #212121;
}

.dmr-classroom-share__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dmr-classroom-share__header h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1;
}

.dmr-classroom-share__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 270px);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.dmr-classroom-share__summary {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  margin: 0;
  padding: 10px;
  border: 4px solid #212121;
  background: #d1e8ca;
}

.dmr-classroom-share__link-label {
  display: grid;
  grid-column: 1;
  gap: 5px;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.dmr-classroom-share__link {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 7px 9px;
  border: 3px solid #212121;
  border-radius: 0;
  background: #eef7fb;
  color: #212121;
  font: inherit;
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: none !important;
}

.dmr-classroom-share__actions {
  display: flex;
  grid-column: 1;
  flex-wrap: wrap;
  gap: 7px;
}

.dmr-classroom-share__preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dmr-classroom-share__qr {
  display: grid;
  grid-column: 2;
  grid-row: 2 / span 2;
  place-items: center;
  width: min(100%, 270px);
  box-sizing: border-box;
  padding: 8px;
  border: 4px solid #212121;
  background: #fff;
}

.dmr-classroom-share__qr svg {
  display: block;
  width: 100%;
  height: auto;
}

.dmr-classroom-share__status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 900;
  line-height: 1.2;
}

.dmr-share-qr-actions {
  display: flex;
  grid-column: 1;
  flex-wrap: wrap;
  gap: 7px;
  width: 100%;
}

.dmr-share-qr-actions button,
.dmr-qr-presentation button {
  box-sizing: border-box;
  min-height: 40px;
  margin: 0;
  padding: 7px 11px;
  border: 4px solid #212121;
  border-radius: 0;
  background: #bde7fb;
  color: #212121;
  font: inherit;
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 900;
  line-height: 1;
  text-transform: none !important;
  cursor: pointer;
}

.dmr-share-qr-actions button:last-child,
.dmr-qr-presentation__footer button {
  background: #d1e8ca !important;
}

.dmr-share-qr-actions button:hover,
.dmr-share-qr-actions button:focus-visible,
.dmr-qr-presentation button:hover,
.dmr-qr-presentation button:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

html.dmr-qr-presentation-open,
html.dmr-qr-presentation-open body {
  overflow: hidden !important;
}

.dmr-qr-presentation[hidden] {
  display: none !important;
}

.dmr-qr-presentation {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 12px;
}

.dmr-qr-presentation__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 33, 0.72);
}

.dmr-qr-presentation__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  justify-items: center;
  gap: clamp(8px, 1.5vh, 16px);
  width: min(920px, 100%);
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
  padding: clamp(12px, 2vw, 22px);
  overflow: auto;
  border: 7px solid #212121;
  background: #fffcf0;
  color: #212121;
}

.dmr-qr-presentation__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.dmr-qr-presentation__header p,
.dmr-qr-presentation__footer p {
  margin: 0;
  font-weight: 900;
}

.dmr-qr-presentation__header p {
  font-size: clamp(12px, 1.4vw, 17px);
  line-height: 1;
  text-transform: uppercase;
}

.dmr-qr-presentation__header h2 {
  margin: 4px 0 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 0.95;
}

.dmr-qr-presentation__summary {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 5px solid #212121;
  background: #d1e8ca;
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.1;
  text-align: center;
}

.dmr-qr-presentation__code {
  display: grid;
  place-items: center;
  width: min(68dvh, 78vw, 680px);
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 6px solid #212121;
  background: #fff;
}

.dmr-qr-presentation__code svg {
  display: block;
  width: 100%;
  height: auto;
}

.dmr-qr-presentation__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.dmr-qr-presentation__footer p {
  font-size: clamp(13px, 1.5vw, 18px);
  line-height: 1.2;
}

@media (max-width: 640px) {
  .dmr-classroom-share {
    align-items: start;
    padding: 8px;
  }

  .dmr-classroom-share__panel {
    max-height: calc(100dvh - 16px);
    padding: 10px;
    border-width: 5px;
  }

  .dmr-classroom-share__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .dmr-classroom-share__summary,
  .dmr-classroom-share__link-label,
  .dmr-classroom-share__actions,
  .dmr-classroom-share__qr,
  .dmr-classroom-share__status {
    grid-column: 1;
    grid-row: auto;
  }

  .dmr-share-qr-actions {
    grid-column: 1;
    grid-row: auto;
    width: min(100%, 230px);
  }

  .dmr-classroom-share__qr {
    width: min(100%, 230px);
  }

  .dmr-qr-presentation {
    align-items: start;
    padding: 7px;
  }

  .dmr-qr-presentation__panel {
    max-height: calc(100dvh - 14px);
    padding: 10px;
    border-width: 5px;
  }

  .dmr-qr-presentation__header {
    align-items: center;
  }

  .dmr-qr-presentation__code {
    width: min(60dvh, 88vw, 540px);
    padding: 7px;
    border-width: 5px;
  }

  .dmr-qr-presentation__footer {
    align-items: stretch;
    flex-direction: column;
  }
}
