/* App-home modal defaults. Feature sheets may override the frame. */
.notice-modal {
  width: min(100%, 520px);
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 18px;
  border-radius: 18px 18px 10px 10px;
  background: var(--modal);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(15 23 42 / 42%);
}

.notice-modal {
  min-height: 360px;
  border-radius: 14px;
  font-size: 14px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal-head p,
.modal-head h2 {
  margin: 0;
}

.modal-head p {
  color: var(--muted-text);
  font-weight: 700;
  font-size: 12px;
}

.modal-head h2 {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.28;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 24px;
}

@media (max-width: 420px) {
  .notice-modal {
    font-size: 13px;
  }
}
