dialog.olive-notice {
  box-sizing: border-box;
  width: 640px;
  height: 480px;
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 1px solid #dfe5d6;
  border-radius: 22px;
  background: #fffefb;
  color: #374437;
  box-shadow: 0 24px 80px rgba(37, 49, 30, .2);
  overflow: hidden;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
}

dialog.olive-notice:not([open]) {
  display: none;
}

dialog.olive-notice[open] {
  display: flex;
  flex-direction: column;
}

dialog.olive-notice::backdrop {
  background: rgba(39, 48, 34, .38);
}

.olive-notice *,
.olive-notice *::before,
.olive-notice *::after {
  box-sizing: border-box;
}

.olive-notice .np-heading {
  flex: 0 0 auto;
  max-height: 30%;
  overflow: auto;
  padding: 19px 24px;
  border-bottom: 1px solid #e5eadc;
  background: #f1f5e9;
}

.olive-notice .np-heading h2 {
  margin: 0;
  color: #3e5435;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.olive-notice .np-body {
  flex: 1 1 0;
  min-height: 0;
  overflow: auto;
  padding: 25px;
  color: #374437;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.olive-notice .np-body p {
  margin: 0 0 12px;
}

.olive-notice .np-body img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.olive-notice .np-body a {
  color: #3d6032;
  text-decoration: underline;
}

.olive-notice .np-body .ql-align-center {
  text-align: center;
}

.olive-notice .np-body .ql-align-right {
  text-align: right;
}

.olive-notice .np-body .ql-align-justify {
  text-align: justify;
}

.olive-notice .np-body .ql-size-small {
  font-size: .75em;
}

.olive-notice .np-body .ql-size-large {
  font-size: 1.5em;
}

.olive-notice .np-body .ql-size-huge {
  font-size: 2.5em;
}

.olive-notice .np-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 16px;
  border-top: 1px solid #e5eadc;
  background: #fafbf6;
}

.olive-notice .np-footer button {
  min-height: 42px;
  padding: 8px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #52614b;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.olive-notice .np-footer button:last-child {
  background: #eaf0e2;
  color: #3d5434;
}

.olive-notice button:focus-visible,
.olive-notice a:focus-visible {
  outline: 3px solid #8a6500;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .olive-notice .np-heading {
    padding: 15px 18px;
  }

  .olive-notice .np-body {
    padding: 19px;
  }
}
