#examAuthoring {
  width: min(46rem, calc(100% - 1.5rem));
  max-height: 90dvh;
  color-scheme: light;
}
.authoringBody { padding: 0.75rem 1rem 1rem; }
.authoringBody fieldset {
  min-width: 0;
  margin: 0.75rem 0;
  padding: 0.75rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
}
.authoringBody label { display: block; margin-top: 0.5rem; }
.authoringBody input { display: block; margin: 0.25rem 0 0.75rem; max-width: 100%; }
.authoringBody #authoringPreview:empty, .authoringBody #authoringStatus:empty { display: none; }
.authoringBody #authoringPreview { max-height: 32vh; overflow: auto; padding-inline-start: 1.5rem; }
.authoringBody #authoringPreview > li { padding: 0.6rem 0; }
.authoringBody #authoringPreview > li::marker { content: ""; }
.authoringBody a { overflow-wrap: anywhere; }
.authoringBody .studyActions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }

#examAuthoring :is(button,input,textarea) {font:inherit;max-width:100%}
#examAuthoring .dialogHead {margin:0;align-items:center}
#examAuthoring .dialogHead h2 {flex:1 1 12rem}
#examAuthoring input:not([type="file"]),#examAuthoring textarea {
  display:block;width:100%;min-width:0;min-height:44px;color:inherit;
  background:#f6fafb;border:1px solid #a8b9bf;border-radius:8px;padding:8px 10px;
}
#examAuthoring textarea {resize:vertical;margin-block:6px 10px}
#examAuthoring summary {cursor:pointer;margin-block:6px 10px}
#examAuthoring button,#authoringDownloads a {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:8px 12px;border:1px solid #87a6af;border-radius:8px;
  color:#224f58;background:#f4fafb;text-align:center;text-decoration:none;
  font:650 .9rem/1.3 "DM Sans",sans-serif;
}
#examAuthoring button[hidden] {display:none}
#examAuthoring :is(button:not(:disabled),#authoringDownloads a):hover {background:#e3f0f2;border-color:#397d87}
#examAuthoring #authoringPublish {background:#195f6b;color:white;border-color:#195f6b}
#examAuthoring #authoringPublish:hover:not(:disabled) {background:#104c58}
#authoringDownloads {align-items:stretch}
#authoringDownloads > * {flex:1 1 12rem}
