/* Loaded only by the grader preview trial. */
dialog.ep-document-viewer {
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  height:100dvh;
  max-width:none;
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:#edf1eb;
  color:#233d35;
  overflow:hidden;
  box-shadow:none;
}
dialog.ep-document-viewer[open] {
  display:flex;
  flex-direction:column;
}
dialog.ep-document-viewer::backdrop {
  background:#172d38d9;
}
.epdf-header {
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px 24px;
  background:#fff;
  border-bottom:1px solid #e0e7dc;
  flex-shrink:0;
}
.epdf-heading {
  flex:1;
  min-width:0;
}
.epdf-kicker {
  font-size:9px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:#87997c;
  margin-bottom:5px;
}
.epdf-heading h2 {
  font-size:16px;
  line-height:1.4;
  font-weight:550;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  margin:0;
}
.epdf-button {
  font:inherit;
  font-size:11px;
  font-weight:500;
  border:1px solid #d6e0cf;
  color:#4e704d;
  background:#fff;
  border-radius:6px;
  min-height:42px;
  min-width:42px;
  padding:9px 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  flex-shrink:0;
}
.epdf-button:hover {
  background:#f2f6ed;
}
.epdf-button:disabled {
  opacity:.45;
  cursor:default;
}
.epdf-button:focus-visible,.epdf-select:focus-visible,.epdf-scroll:focus-visible {
  outline:3px solid #79a28a;
  outline-offset:2px;
}
.epdf-button svg {
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.epdf-close {
  background:#f0f5eb;
}
.epdf-toolbar {
  display:flex;
  align-items:center;
  gap:11px;
  padding:8px 24px;
  background:#f8faf5;
  border-bottom:1px solid #dde5d5;
  flex-shrink:0;
}
.epdf-page-count {
  font-size:11px;
  color:#78906d;
  min-width:100px;
  margin-right:auto;
}
.epdf-zoom {
  display:flex;
  align-items:center;
  gap:7px;
}
.epdf-zoom-label {
  font-size:10px;
  font-variant-numeric:tabular-nums;
  min-width:39px;
  text-align:center;
  color:#859676;
}
.epdf-select {
  font:inherit;
  font-size:11px;
  min-height:42px;
  border:1px solid #d6e0cf;
  background:#fff;
  color:#59734f;
  border-radius:6px;
  padding:8px 10px;
  max-width:120px;
}
.epdf-scroll {
  min-height:0;
  flex:1;
  overflow:auto;
  overscroll-behavior:contain;
  touch-action:pan-x pan-y pinch-zoom;
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;
  position:relative;
}
.epdf-pages {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  padding:24px;
  width:max-content;
  min-width:100%;
  box-sizing:border-box;
}
.epdf-page {
  background:#fff;
  position:relative;
  flex-shrink:0;
  overflow:hidden;
  box-shadow:0 3px 18px #203c2717;
  border:1px solid #dce3d6;
}
.epdf-page canvas {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.epdf-page-placeholder {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:#9eaa93;
  padding:30px;
  text-align:center;
}
.epdf-page-placeholder[hidden] {
  display:none!important;
}
.epdf-footer {
  padding:8px 24px;
  display:flex;
  gap:15px;
  justify-content:space-between;
  background:#f8faf5;
  border-top:1px solid #dde5d5;
  flex-shrink:0;
  font-size:9px;
  color:#94a087;
  line-height:1.5;
}
.epdf-status {
  padding:65px 25px;
  text-align:center;
  max-width:560px;
  margin:auto;
  color:#819674;
  font-size:13px;
  line-height:1.8;
}
.epdf-status h3 {
  font-size:18px;
  color:#456a48;
  margin-bottom:12px;
}
.epdf-status p {
  margin:0;
}
.epdf-sample {
  max-width:720px;
  margin:30px auto;
  background:#fff;
  padding:35px 40px;
  box-shadow:0 4px 22px #254b3020;
  border:1px solid #dce5d4;
  line-height:1.8;
}
.epdf-sample h3 {
  font-size:22px;
  line-height:1.4;
  margin:12px 0;
}
.epdf-sample h4 {
  font-size:13px;
  margin:25px 0 7px;
}
.epdf-sample p {
  font-size:12px;
  color:#768c69;
  margin-bottom:12px;
}
.epdf-sample .epdf-sample-note {
  font-size:10px;
  color:#9e8756;
  background:#faf3e3;
  padding:10px 13px;
  border-radius:5px;
}
.epdf-viewer-open {
  overflow:hidden;
}
@media(max-width:600px) {
  .epdf-header {
    padding:11px 13px;
    gap:10px;
  }
  .epdf-heading h2 {
    font-size:13px;
  }
  .epdf-kicker {
    font-size:8px;
    letter-spacing:1px;
  }
  .epdf-close {
    padding:8px 10px;
    font-size:10px;
  }
  .epdf-toolbar {
    padding:7px 13px;
    gap:7px;
  }
  .epdf-page-count {
    min-width:75px;
    font-size:10px;
  }
  .epdf-zoom {
    gap:5px;
  }
  .epdf-zoom-label {
    min-width:34px;
    font-size:9px;
  }
  .epdf-select {
    font-size:10px;
    padding:7px;
    max-width:94px;
  }
  .epdf-button {
    min-width:40px;
    min-height:40px;
  }
  .epdf-pages {
    padding:12px;
    gap:14px;
  }
  .epdf-footer {
    padding:8px 13px;
    font-size:8px;
    gap:8px;
  }
  .epdf-sample {
    margin:14px;
    padding:23px;
  }
  .epdf-sample h3 {
    font-size:19px;
  }
}
@media print {
  body.epdf-viewer-open>* {
    display:none!important;
  }
  body.epdf-viewer-open::after {
    content:'Document preview is available on screen.';
    display:block;
    font:14px sans-serif;
    color:#333;
  }
  dialog.ep-document-viewer,.epdf-page canvas {
    display:none!important;
  }
}
.epdf-zoom[hidden] {
  display:none!important;
}
