.hwp-viewer-page-heading h1,
.hwp-viewer-page-heading p,
.hwp-viewer-benefits *,
.hwp-viewer-howto *,
.hwp-viewer-faq *,
.hwp-viewer-related * { letter-spacing: 0; }

.hwp-viewer-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 0;
  border-block: 1px solid #dce4e8;
  list-style: none;
}

.hwp-viewer-benefits li { min-width: 0; padding: 15px 12px; border-right: 1px solid #e3e9ec; }
.hwp-viewer-benefits li:last-child { border-right: 0; }
.hwp-viewer-benefits strong { display: block; color: #17343d; font-size: .82rem; line-height: 1.45; }
.hwp-viewer-benefits span { display: block; margin-top: 3px; color: #6b7b86; font-size: .7rem; line-height: 1.45; }

.hwp-viewer-toolbar-actions { justify-content: flex-end; }
.hwp-viewer-toolbar-actions button { display: inline-flex; gap: 6px; align-items: center; justify-content: center; white-space: nowrap; }
.hwp-viewer-toolbar-actions #hwp-viewer-fullscreen { width: 40px; padding: 0; }
.hwp-viewer-save-status { grid-column: 1 / -1; min-height: 0; color: #0f766e; font-size: .72rem; font-weight: 700; text-align: right; }
.hwp-viewer-save-status:empty { display: none; }
.hwp-viewer-stage:fullscreen { max-height: none; padding: 28px; background: #dfe5ea; }
.hwp-viewer-stage:fullscreen .hwp-viewer-document-page { margin: auto; }

.hwp-viewer-howto,
.hwp-viewer-faq,
.hwp-viewer-related { margin-top: 42px; padding-top: 30px; border-top: 1px solid #dde4ed; }

.hwp-viewer-howto h2,
.hwp-viewer-faq h2,
.hwp-viewer-related h2 { margin: 0 0 18px; color: #172033; font-size: 1.35rem; line-height: 1.45; }

.hwp-viewer-howto ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; border-top: 1px solid #dfe6ea; list-style: none; counter-reset: hwp-step; }
.hwp-viewer-howto li { position: relative; min-width: 0; padding: 20px 18px 20px 48px; border-bottom: 1px solid #dfe6ea; counter-increment: hwp-step; }
.hwp-viewer-howto li:nth-child(odd) { border-right: 1px solid #dfe6ea; }
.hwp-viewer-howto li::before { position: absolute; top: 19px; left: 10px; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #e7f3f0; color: #0f766e; content: counter(hwp-step); font-size: .74rem; font-weight: 800; }
.hwp-viewer-howto strong { display: block; margin-bottom: 5px; color: #243448; font-size: .9rem; }
.hwp-viewer-howto span { display: block; color: #617082; font-size: .8rem; line-height: 1.75; }

.hwp-viewer-faq details { margin: 0; padding: 16px 2px; border-bottom: 1px solid #e0e6ea; }
.hwp-viewer-faq summary { color: #26374a; font-size: .9rem; font-weight: 750; line-height: 1.55; cursor: pointer; }
.hwp-viewer-faq p { margin: 10px 0 0; color: #617082; font-size: .82rem; line-height: 1.8; }

.hwp-viewer-related > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #dfe6ea; }
.hwp-viewer-related a { min-width: 0; padding: 18px 14px; border-right: 1px solid #dfe6ea; text-decoration: none; }
.hwp-viewer-related a:last-child { border-right: 0; }
.hwp-viewer-related strong { display: block; color: #0f766e; font-size: .86rem; }
.hwp-viewer-related span { display: block; margin-top: 5px; color: #6a7887; font-size: .72rem; line-height: 1.55; }

@media screen and (max-width: 980px) {
  .hwp-viewer-toolbar-actions { justify-content: center; }
  .hwp-viewer-save-status { text-align: center; }
}

@media screen and (max-width: 620px) {
  .hwp-viewer-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hwp-viewer-benefits li:nth-child(2) { border-right: 0; }
  .hwp-viewer-benefits li:nth-child(-n + 2) { border-bottom: 1px solid #e3e9ec; }
  .hwp-viewer-toolbar-actions { flex-wrap: wrap; }
  .hwp-viewer-toolbar-actions #hwp-viewer-download { flex: 1 1 120px; }
  .hwp-viewer-toolbar-actions .hwp-viewer-secondary-button { flex: 1 1 100px; }
  .hwp-viewer-howto ol { grid-template-columns: 1fr; }
  .hwp-viewer-howto li:nth-child(odd) { border-right: 0; }
  .hwp-viewer-related > div { grid-template-columns: 1fr; }
  .hwp-viewer-related a { border-right: 0; border-bottom: 1px solid #dfe6ea; }
  .hwp-viewer-related a:last-child { border-bottom: 0; }
}
